[WebKit-devel] [Bug 215266] New: Please use -Wl, --as-needed -Wl, -z, defs linker flags

Adrian von Bidder avbidder+kde at fortytwo.ch
Thu Nov 19 12:17:28 CET 2009


https://bugs.kde.org/show_bug.cgi?id=215266

           Summary: Please use -Wl,--as-needed -Wl,-z,defs linker flags
           Product: webkitkde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: WebKit KPart
        AssignedTo: webkit-devel at kde.org
        ReportedBy: avbidder+kde at fortytwo.ch


Version:            (using Devel)
Compiler:          GNU tool chain 
OS:                Linux
Installed from:    Compiled sources

Heyho!

As discussed a long time ago:

-Wl,--as-needed -Wl,-z,defs should be used to compile and link (almost) all
applications.

This makes the dependency lists of distribution packages much smaller, allowing
for easier upgrades of libraries (I know this for a fact for the Debian
unstable -> testing cycle, but probably other distributions face similar
problems.)

I'm currently using these flags for the Debian package, but I think they could
as well be used by default instead of in a Debian specific addition.

(... is there a bugzilla category for the KDE default build system as a whole? 
I *think* that the flags might as well be used by default on any ELF based
platform where the GNU toolchain is used.)

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


More information about the WebKit-devel mailing list