During world update the ebuild sys-devel/binutils-apple-3.2.6 fails because of calling libtool with wrong options. Reproducible: Always Steps to Reproduce: 1.emerge --sync 2.emerge --newuse --deep -u @world Actual Results: x86_64-apple-darwin10-gcc -O2 -pipe -march=nocona -ULTO_SUPPORT -g -I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -O2 -pipe -march=nocona -ULTO_SUPPORT -c \ -MD -dependency-file ./unix_standard_mode.d \ -o ./unix_standard_mode.o ../unix_standard_mode.c md -d -u ./Makedep ./unix_standard_mode.d x86_64-apple-darwin10-gcc -std=c99 -O2 -pipe -march=nocona -ULTO_SUPPORT -g -I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -O2 -pipe -march=nocona -ULTO_SUPPORT -c \ -I/Developer/usr/local/include \ -MD -dependency-file ./lto.d \ -o ./lto.o ../lto.c md -d -u ./Makedep ./lto.d libtool -static -o ../libstuff.dylib allocate.o errors.o arch.o execute.o bytesex.o rnd.o hppa.o swap_headers.o reloc.o version_number.o get_toc_byte_sex.o best_arch.o fatals.o arch_usage.o ofile.o ofile_error.o print.o set_arch_flag_name.o seg_addr_table.o dylib_table.o breakout.o writeout.o checkout.o fatal_arch.o ofile_get_word.o vm_flush_cache.o hash_string.o dylib_roots.o guess_short_name.o SymLoc.o get_arch_from_host.o crc32.o macosx_deployment_target.o symbol_list.o unix_standard_mode.o lto.o libtool: unrecognized option `-static' libtool: Try `libtool --help' for more information. make[2]: *** [libstuff.dylib] Error 1 make[2]: Leaving directory `/Users/amiga/Library/Gentoo/var/tmp/portage/sys-devel/binutils-apple-3.2.6/work/cctools-795/libstuff/dynamic_obj' make[1]: *** [dynamic] Error 2 make[1]: Leaving directory `/Users/amiga/Library/Gentoo/var/tmp/portage/sys-devel/binutils-apple-3.2.6/work/cctools-795/libstuff' make: *** [all] Error 1 emake failed * ERROR: sys-devel/binutils-apple-3.2.6 failed (compile phase): * emake failed for the cctools * * Call stack: * ebuild.sh, line 62: Called call-ebuildshell 'src_compile' * environment, line 410: Called src_compile * environment, line 2621: Called compile_cctools * environment, line 610: Called die * The specific snippet of code: * emake LIB_PRUNETRIE="-L../../${LD64}/src -lprunetrie" EFITOOLS= LTO= COMMON_SUBDIRS='libstuff ar misc otool' SUBDIRS_32= RC_CFLAGS="${CFLAGS}" OFLAG="${CFLAGS}" || die "emake failed for the cctools"; * * If you need support, post the output of 'emerge --info =sys-devel/binutils-apple-3.2.6', * the complete build log and the output of 'emerge -pqv =sys-devel/binutils-apple-3.2.6'. * The complete build log is located at '/Users/amiga/Library/Gentoo/var/tmp/portage/sys-devel/binutils-apple-3.2.6/temp/build.log'. * The ebuild environment file is located at '/Users/amiga/Library/Gentoo/var/tmp/portage/sys-devel/binutils-apple-3.2.6/temp/environment'. * S: '/Users/amiga/Library/Gentoo/var/tmp/portage/sys-devel/binutils-apple-3.2.6/work' >>> Failed to emerge sys-devel/binutils-apple-3.2.6, Log file: >>> '/Users/amiga/Library/Gentoo/var/tmp/portage/sys-devel/binutils-apple-3.2.6/temp/build.log'
What did you do to your system? libtool on Darwin is not GNU libtool, but Apple libtool provided by binutils-apple.
Ahhhhhhhh right, sorry, I did link libtool to glibtool because I tried to compile the tuxbox project and it did not like the apple libtool. I linked it back and now it works, suprise ;-) Thanks for your hint.