Altera_Forum
Honored Contributor
20 years agostill struggling with toolchain
Hi,
I tried to build my toolchain following this thread previous thread (http://forum.niosforum.com/forum/index.php?showtopic=3129&st=0) and I did the best I could. But somehow I am still stuck at the busybox. /home/bdu/NIOS/buildroot/build_nios2/staging_dir/bin-ccache/../lib/gcc/nios2-linux-uclibc/3.4.2/../../../../nios2-linux-uclibc/bin/ld: unrecognized option '-z' /home/bdu/NIOS/buildroot/build_nios2/staging_dir/bin-ccache/../lib/gcc/nios2-linux-uclibc/3.4.2/../../../../nios2-linux-uclibc/bin/ld: use the --help option for usage information GNU ld version 2.15 collect2: ld returned 1 exit status make[2]: *** [libbusybox.so.1.1.1] Error 1 make[1]: *** [_all] Error 2 make[1]: Leaving directory `/home/bdu/NIOS/buildroot/build_nios2/busybox' make: *** [/home/bdu/NIOS/buildroot/build_nios2/busybox/busybox] Error 2 The ld does not support -z option. I guess this has something to do with the patches or configs. But I could figure out which part I missed. I'd appreciate any help on this.