Summary: | x11-libs/qt-webkit-4.5.1 on alpha dies with relocation errors during compiling/linking | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tobias Klausmann (RETIRED) <klausman> |
Component: | New packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alpha, flameeyes |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | Alpha | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 266201 |
Description
Tobias Klausmann (RETIRED)
2009-05-13 19:45:49 UTC
For completeness: The build system uses -fPIC and -fvisibility=hidden -fvisibility-inlines-hidden. The failing call (sans object files and repeated "-pthread"s) is: g++ -Wl,-O1 -fno-exceptions -Wl,--no-undefined -Wl,-O1 -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQtWebKit.so.4 -o libQtWebKit.so.4.5.1 -L/var/tmp/portage/x11-libs/qt-webkit-4.5.1/work/qt-x11-opensource-src-4.5.1/lib -L/usr/X11R6/lib -L/usr/lib/qt4 -lphonon -lQtDBus -pthread -ldbus-1 -lQtXml -L/usr/X11R6/lib -lQtGui -lpng -lfreetype -lgobject-2.0 -lSM -lICE -lXrender -lXrandr -lfontconfig -lXext -lX11 -lQtNetwork -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread -ldl FWIW, U ] x11-libs/qt-webkit-4.5.1 [4.4.2-r1] USE="-custom-cxxflags -debug (-pch)" 0 kB just compiled successfully on my box. Portage 2.1.6.11 (hardened/linux/amd64/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28-hardened-r7 x86_64) (In reply to comment #2) > FWIW, > > U ] x11-libs/qt-webkit-4.5.1 [4.4.2-r1] USE="-custom-cxxflags -debug (-pch)" 0 > kB > > just compiled successfully on my box. > > Portage 2.1.6.11 (hardened/linux/amd64/2008.0, gcc-4.3.3, > glibc-2.8_p20080602-r1, 2.6.28-hardened-r7 x86_64) > But we are talking about alpha arch here :/ On a suggestion from armin76, I tried building -webkit-4.5.1 with LDFLAGS="-Wl,--no-relax" which makes it compile. I've asked yngwin if the Qt maintainers are ok with adding alpha-specific code to the ebuild and they are. We've had to do something similar with xulrunner and it works ok, so far. It's not a fix per se, but there is little else we can do and if we had to mask all of Qt, a lot of packages would have to go with it. I'll be commiting the fixed ebuild including the ~alpha keyword shortly. Qt upstream answered on my e-mail today. They suggested to open a bug on webkit upstream for that and inform them for our workaround Is anybody willing to do it? |