Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 289731

Summary: sys-devel/binutils: gold linker doesnt support -x/--discard-all (breaks sys-apps/openrc)
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: [OLD] UnspecifiedAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceware.org/bugzilla/show_bug.cgi?id=10670
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    

Description Priit Laes (IRC: plaes) 2009-10-19 14:28:45 UTC
[snip]
building static library libeinfo.a
x86_64-pc-linux-gnu-ar rc libeinfo.a libeinfo.o
x86_64-pc-linux-gnu-ranlib libeinfo.a
building shared library libeinfo.so.1
x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -Wl,--version-script=einfo.map -L/lib64 -Wl,-rpath=/lib64  -shared -Wl,-x \
	-o libeinfo.so.1 -Wl,-soname,libeinfo.so.1 \
	libeinfo.So -lncurses
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: -x: unknown option
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[2]: *** [libeinfo.so.1] Error 1
make[2]: Leaving directory `/home/tmp/portage/sys-apps/openrc-0.5.2/work/openrc-0.5.2/src/libeinfo'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tmp/portage/sys-apps/openrc-0.5.2/work/openrc-0.5.2/src'
make: *** [all] Error 2
[/snip]
Comment 1 Priit Laes (IRC: plaes) 2009-10-19 14:31:47 UTC
Upstream bug report: http://sourceware.org/bugzilla/show_bug.cgi?id=10670
Comment 2 Lóránt Farkas 2010-05-06 09:36:24 UTC
As I see (at the link above) it is implemented now.
Comment 3 SpanKY gentoo-dev 2010-05-06 18:10:28 UTC
thanks for the follow up