I tried to build a cross toolchain for i386-uclibc on i686-glibc. It failed while trying to build uclibc. The error is: Manuel's hidden warnings (UCLIBC_MJN3_ONLY) [N/y/?] n extra/scripts/gen_bits_syscall_h.sh: line 15: i386-unknown-linux-uclibc-gcc: com mand not found extra/scripts/gen_bits_syscall_h.sh: line 18: i386-unknown-linux-uclibc-gcc: com mand not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make: i386-unknown-linux-uclibc-gcc: Command not found make: i386-unknown-linux-uclibc-gcc: Command not found extra/scripts/gen_bits_syscall_h.sh: line 15: i386-unknown-linux-uclibc-gcc: com mand not found extra/scripts/gen_bits_syscall_h.sh: line 18: i386-unknown-linux-uclibc-gcc: com mand not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make[1]: i386-unknown-linux-uclibc-gcc: Command not found make[2]: i386-unknown-linux-uclibc-gcc: Command not found make[2]: i386-unknown-linux-uclibc-gcc: Command not found make[2]: i386-unknown-linux-uclibc-gcc: Command not found make[2]: i386-unknown-linux-uclibc-gcc: Command not found make[2]: *** [i386/resolve.o] Error 127 make[1]: *** [ldso] Error 2 make: *** [_dir_ldso] Error 2 * * ERROR: cross-i386-unknown-linux-uclibc/uclibc-0.9.28.3-r7 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2480: Called die * The specific snippet of code: * emake || die "make failed"; * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/cross-i386-unknown-linux-uclibc:uclibc-0.9.28.3-r7:20080820-091646.log'. * The ebuild environment file is located at '/var/tmp/cross/i386-unknown-linux-uclibc/portage/cross-i386-unknown-linux-uclibc/uclibc-0.9.28.3-r7/temp/environment'. * This ebuild is from an overlay: '/usr/local/layman/stoile/' * Reproducible: Always Steps to Reproduce: 1. crossdev -t i386-unknown-linux-uclibc Actual Results: * ERROR: cross-i386-unknown-linux-uclibc/uclibc-0.9.28.3-r7 failed. Expected Results: Successfull build of cross toolchain. I'm running x86, crossdev version crossdev-0.9.18.
Same with arm target.
Same with mipsel.
Workaround: modificate ebuild. Add src_compile and CC=gcc emake in it.
that doesnt make any sense post all of the log files that crossdev told you to
Created attachment 163384 [details] cross-mips-unknown-linux-uclibc-info.log The first log from mips-uclibc. It should make no difference if i use that one or the i386 one.
Created attachment 163389 [details] cross-mips-unknown-linux-uclibc-uclibc-headers.log Second one from mips.
To clarify it: I got the same error with (i386|mipsel|mips)-unknown-linux-uclibc.
*** This bug has been marked as a duplicate of bug 234748 ***