I'm trying to create a crosscompiler toolchain for arm-unknown-linux-gnu but it failed at gcc stage with this error: >>> Compiling source in /var/tmp/cross/arm-unknown-linux-gnu/portage/gcc-4.1.1/work/gcc-4.1.1 ... * CFLAGS="-O2 -pipe" * CXXFLAGS="" * Configuring gcc ... * running gcc-compiler-configure * configuring for GCC_LANG: c,c++ !!! ERROR: cross-arm-unknown-linux-gnu/gcc-4.1.1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1520: Called gcc_do_configure toolchain.eclass, line 1269: Called built_with_use 'cross-arm-unknown-linux-gnu/glibc' 'crosscompile_opts_headers-only' eutils.eclass, line 1605: Called die !!! cross-arm-unknown-linux-gnu/glibc-2.4-r3 does not actually support the crosscompile_opts_headers-only USE flag! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/local/portage' * gcc failed :(
Created attachment 96682 [details] info log Attached info file
Created attachment 96683 [details] gcc-stage2.log
!!! cross-arm-unknown-linux-gnu/glibc-2.4-r3 does not actually support the crosscompile_opts_headers-only USE flag! Anything unclear about the message? Why don't you remove the flag and try again?
I don't have set this USE flag. Not even it is on use.desc/use.local.desc It's forced by crossdev I tried to compile with USE=-crosscompile_opts_headers-only but again the same error...
Same results here, attempting to build x86 -> PPC. Adding this flag to glibc IUSE has no effect; discussion on forums suggested editing toolchain.eclass to comment out the line that produces said error. See http://forums.gentoo.org/viewtopic-t-497447.html