Whe I'm emerge whatever emerge problem >>> Compiling source in /var/tmp/portage/portage-2.1.1_pre1-r3/work/portage-2.1.1_pre1 ... /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: unrecognized option '-Bdirect' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status !!! ERROR: sys-apps/portage-2.1.1_pre1-r3 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile portage-2.1.1_pre1-r3.ebuild, line 73: Called die !!! Failed to build tbz2tool !!! If you need support, post the topmost build error, and the call stack if relevant. emerge gcc loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /bin/install -c *** This configuration is not supported in the following subdirectories: target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc (Any other directories should still work fine.) /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: unrecognized option '-Bdirect' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status *** The command 'gcc -o conftest -march=athlon-xp -O2 -pipe -fstack-protector -Wl,-O1,--enable-new-dtags,--sort-common,-Bdirect -s conftest.c' failed. *** You must set the environment variable CC to a working compiler. !!! ERROR: sys-devel/gcc-3.4.6-r1 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1249: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1459: Called gcc_do_configure toolchain.eclass, line 1259: Called die !!! failed to run configure !!! If you need support, post the topmost build error, and the call stack if relevant. emerge =sys-devel/binutils-2.16.1-r2 checking for gcc... gcc checking whether the C compiler (gcc -march=athlon-xp -O2 -pipe -fstack-protector -Wl,-O1,--enable-new-dtags,--sort-common,-Bdirect -s) works... no configure: error: installation or configuration problem: C compiler cannot create executables. !!! ERROR: sys-devel/binutils-2.16.1-r2 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1249: Called toolchain-binutils_src_compile toolchain-binutils.eclass, line 184: Called die !!! configure failed !!! If you need support, post the topmost build error, and the call stack if relevant.
We don't patch binutils for Bdirect, feel free to remove it from your LDFLAGS or patch it yourself (Bug 114008).
(In reply to comment #1) > We don't patch binutils for Bdirect, feel free to remove it from your LDFLAGS > or patch it yourself (Bug 114008). > Thx ;-) Salute
*** Bug 169760 has been marked as a duplicate of this bug. ***