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
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
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.
>How-To-Repeat:

>Fix:
A quick fix is to remove this flag:

--- src/3rdparty/webkit/WebCore/WebCore.pro.orig        2011-03-30 
05:18:46.000000000 +0000
+++ src/3rdparty/webkit/WebCore/WebCore.pro
@@ -90,7 +90,6 @@ unix {
 }
 
 unix:!mac:*-g++*:QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections 
-unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
 linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
 
 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