[Webkit-unassigned] [Bug 36508] New: linker flag "--gc-sections" not supported

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 23 14:55:42 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36508

           Summary: linker flag "--gc-sections" not supported
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: t.hirsch at web.de


When WebKit is being compiled in KDE's kde-qt (qt.gitorious.org/qt/kde-qt),
there's a long, long command at the end that calls the linker. The command
starts like this:

g++ -Wl,--gc-sections -Wl,-R,/export/home/torti/qt/lib
-Wl,-R,/export/home/torti/qt/lib -shared -h libQtWebKit.so.4 -o
libQtWebKit.so.4.6.0 obj/release/pcre_compile.o obj/release/pcre_exec.o
obj/release/pcre_tables.o [...]

And linking fails. After removing "--gc-sections" out of the parameter list,
the command succeeds. So I guess it's not supported. This issue might be
specific to openSolaris/x86 (32bit) with gcc 3.4.3.

$ ld --version
GNU ld (GNU Binutils) 2.19
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of the
GNU General Public License version 3 or (at your option) a later version. This
program has absolutely no warranty.

$ g++ --version
g++ (GCC) 3.4.3 (csl-sol210-3_4-20050802)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list