mfe- / ReadyNASDuoSparc

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

GCC with Go support? #3

Closed os144046 closed 3 years ago

os144046 commented 3 years ago

I saw on the Netgear forums that you were trying to compile GCC 7.1 with Go support. Did you ever have any luck with that? I am going crazy trying to compile newer GCC on this thing.

mfe- commented 3 years ago

@os144046 Since the readynas duo doesnt support Thread Local Storage (and go relies on that feature), it looks like there is no way to run go on the Readynas Duo. For more details check: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90645

Edit: I managed to compile gcc 4.6 and gcc7.1 on the readynas duo. For example the git binary which is contained in this repository was compiled using gcc4.6.

os144046 commented 3 years ago

Ah ok. I needed Go, but I will use something else. Thanks!

mfe- commented 3 years ago

@os144046 I think the best chance for getting software running on the readynas duo is if the software is build with C or C++ using the gnu/gcc build toolchain. If the software is using an old C/C++ version you can try compile it with gcc4.6 otherwise try gcc7.1 from this repo.