Summary: | net-libs/webkit-gtk-1.10.2-r300: linking Programs/WebKitPluginProcess fails due to missing -lrt | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brad, toolchain, z23 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | http://sourceware.org/bugzilla/show_bug.cgi?id=15126 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: |
webkit-gtk build log
webkit-gtk-1.10.2-underlinking.patch webkit-gtk-1.10.2-gcc-4.8.patch |
Description
SpanKY
2013-02-18 19:32:25 UTC
hmm, might be a bug in new binutils > /lib64/librt.so.1: could not read symbols: Invalid operation
Sounds like a bug either in glibc or in binutils.
i think you're focusing on the wrong part. i'm pretty sure the webkit package is missing an -lrt in its link. it's using shm_* symbols from librt but not linking against it. This bug has been fixed upstream (https://bugs.webkit.org/show_bug.cgi?id=103194). I've backported the fix for 1.10.2-r300 as the patch doesn't apply cleanly. As a sidenote, I didn't want to open a separate bug for that, but gcc-4.8 throws out a lot of warnings, that are never fatal in themselves but still annoying. This too has been dealt with by upstream (https://bugs.webkit.org/show_bug.cgi?id=113147). diff -u /usr/portage/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild /usr/local/portage/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild --- /usr/portage/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild 2013-01-29 14:01:24.000000000 +0100 +++ /usr/local/portage/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild 2013-04-28 15:03:26.796388090 +0200 @@ -159,6 +159,13 @@ # https://bugs.gentoo.org/show_bug.cgi?id=449220#c17 epatch "${FILESDIR}/${PN}-1.10.2-wifexited.patch" + # patch for gcc 4.8, to disable + # COMPILE_ASSERT warnings, https://bugs.webkit.org/show_bug.cgi?id=113147 + epatch "${FILESDIR}/${P}-gcc-4.8.patch" + + # patch for underlinking issue, bug #458164 + epatch "${FILESDIR}/${P}-underlinking.patch" + # Respect CC, otherwise fails on prefix #395875 tc-export CC Created attachment 346796 [details, diff]
webkit-gtk-1.10.2-underlinking.patch
Created attachment 346798 [details, diff]
webkit-gtk-1.10.2-gcc-4.8.patch
Fixed without a revision bump. Ted, thanks for finding and backporting the patches! + 28 May 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + webkit-gtk-1.10.2-r300.ebuild, +files/webkit-gtk-1.10.2-gcc-4.8.patch, + +files/webkit-gtk-1.10.2-librt.patch: + Fix build failure due to underlinking and silence excessive warnings with + gcc-4.8 (bug #458164, thanks to Ted Tanberry and Mike Frysinger). |