Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417147 - x11-libs/qt-webkit-4.8.2 fails with gcc-4.7: unrecognized command line option '-fuse-ld=gold'
Summary: x11-libs/qt-webkit-4.8.2 fails with gcc-4.7: unrecognized command line option...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-05-22 19:20 UTC by Joe Kappus
Modified: 2012-05-22 20:36 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 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.