pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45294: webkit in x11/qt4-libs assumes GNU ld

>Number:         45294
>Category:       pkg
>Synopsis:       webkit in x11/qt4-libs assumes GNU ld
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 25 07:15:00 +0000 2011
>Originator:     Jörn Clausen
University of Bielefeld
webkit in x11/qt4-libs assumes unconditionally, that GNU ld is used as linker 
and inserts the flag "--gc-sections". This fails e.g. when using Sun ld.

A quick fix is to remove this flag:

--- src/3rdparty/webkit/WebCore/        2011-03-30 
05:18:46.000000000 +0000
+++ src/3rdparty/webkit/WebCore/
@@ -90,7 +90,6 @@ unix {
 unix:!mac:*-g++*:QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections 
-unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
 CONFIG(release):!CONFIG(standalone_package) {

A better fix would be to check for the specific OS (actually the linker).

As QT Bug Tracker requires registration, I have not reported this upstream.

Home | Main Index | Thread Index | Old Index