[Webkit-unassigned] [Bug 17445] New: Webkit doesn't compile with LDFLAGS="-Wl, --as-needed"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 20 03:16:45 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17445
Summary: Webkit doesn't compile with LDFLAGS="-Wl,--as-needed"
Product: WebKit
Version: 525+ (Nightly build)
Platform: PC
URL: http://www.gentoo.org/proj/en/qa/asneeded.xml
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mike.auty at gmail.com
The GNUmakefile.am files make use of the LDFLAGS variable to include library
additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made
in LIBADD/LDADD variables, then they are mis-ordered during the linking.
The as-needed flag discards libraries whose functions have not been needed by
earlier libraries, which therefore makes the ordering important.
I'll be attaching a patch directly after this, built against a recent nightly
build. This could potentially affect other build systems/OSes, but I've only
been able to confirm that the patch fixes the build issues on linux.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list