Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367035 - sys-devel/binutils-apple-3.2.6: libtool: unrecognized option `-static'
Summary: sys-devel/binutils-apple-3.2.6: libtool: unrecognized option `-static'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 22:10 UTC by Thomas Scheller
Modified: 2011-05-13 19:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Scheller 2011-05-12 22:10:56 UTC
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'
Comment 1 Fabian Groffen gentoo-dev 2011-05-13 06:44:34 UTC
What did you do to your system?  libtool on Darwin is not GNU libtool, but Apple libtool provided by binutils-apple.
Comment 2 Thomas Scheller 2011-05-13 19:48:15 UTC
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.