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

Bug 417147

Summary: x11-libs/qt-webkit-4.8.2 fails with gcc-4.7: unrecognized command line option '-fuse-ld=gold'
Product: Gentoo Linux Reporter: Joe Kappus <joe>
Component: [OLD] LibraryAssignee: Qt Bug Alias <qt>
Status: VERIFIED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    

Description Joe Kappus 2012-05-22 19:20:27 UTC
x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-fuse-ld=gold'

at end of build.

I think someone forgot to add: 

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/qt-webkit/files/qt-webkit-4.8.1-no-use-ld-gold.patch?diff_format=f&view=log 

Tested, it patches cleanly, I don't have time atm to recompile but I'll report back later. I'm 99% sure it'll fix the build.

Reproducible: Always
Comment 1 Joe Kappus 2012-05-22 19:23:31 UTC
I should note, this will only affect those using >=gcc-4.7.0.  The flag was removed. Probably why it was missed.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2012-05-22 19:49:26 UTC
Thank-you for the report, this is now fixed in CVS.

+  22 May 2012; Michael Palimaka <kensington@gentoo.org> qt-webkit-4.8.2.ebuild:
+  Fix build with GCC 4.7, wrt bug #417147 by Joe Kappus <joecool1029@gmail.com>.
Comment 3 Joe Kappus 2012-05-22 20:36:18 UTC
Yes, confirmed works.  Thanks.