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

Bug 622664

Summary: media-sound/lame-3.99.5-r1 fails to emerge w/ sys-devel/gcc-7.1.0-r1[pie,ssp] with gold on x86
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, xaviermiller
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    
Attachments: build.log
emerge --info

Description Martin Väth 2017-06-25 05:54:53 UTC
Created attachment 477918 [details]
build.log

media-libs/libdv-1.0.0-r3 fails during linking when emerging with sys-devel/gcc-7.1.0-r1[pie,ssp] when using the gold linker on an x86 system.

The failure does not occur on an amd64 system.

According to the error messages, USE=pie of gcc is perhaps related.

Adding
-fuse-ld=bfd
to CFLAGS solves the issue.
Comment 1 Martin Väth 2017-06-25 05:55:19 UTC
Created attachment 477920 [details]
emerge --info
Comment 2 Pacho Ramos gentoo-dev 2018-06-22 08:48:42 UTC
can you reproduce with lame-3.100-r1?
Comment 3 Martin Väth 2018-06-22 21:43:22 UTC
It seems to run fine now.
Closing since lame-3.100-r1 is now the only version in the gentoo repository.