mfe- / ReadyNASDuoSparc

Binaries, scripts for Netgear ReadyNASDuo v1
35 stars 8 forks source link

Crosscompiler #1

Open billsargent opened 6 years ago

billsargent commented 6 years ago

Have you been able to build a cross compiler with the infrant glibc source? There is an infrant patch in the glibc 2.3.2 sources they have on the netgear GPL page. Its so old that I'm unable to get it built for x86 but would like to build a full cross compiler. My goal is to build a newer samba, but even with your binaries, all I get are segfaults from samba when i build it. I think all the libraries and everything need to be rebuilt.

mfe- commented 6 years ago

Hi @billsargent. For me it was easier to build the binaries directly on my readynas duo v1 machine or on the qemu image then setting up the cross compiler (with the correct dependency libraries for the readynas duo).

Did you try to build a smaller library from sources with the provided gcc-7 version like xz?

mfe- commented 6 years ago

Maybe I could provide a qemu image with a working gcc-7 version, but I don't know where I can host such a large image file (3-4gb).

billsargent commented 6 years ago

onedrive? or google drive? I'd appreciate it. I really wish we could just replace the board inside it with something that wasn't sparc ;)

mfe- commented 6 years ago

@billsargent Hi checkout the image https://mega.nz/#!zH5zgLLY!fqVT8oku1-GOAxanIsj8HdbwSXWwYRowD0ZhhxRMGW0 . It contains gcc 4.6.

billsargent commented 6 years ago

You're the best :)