[Webkit-unassigned] [Bug 118732] Use of ar T option not supported by older binutils

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 22 12:44:46 PDT 2013


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





--- Comment #8 from Landry Breuil <landry at openbsd.org>  2013-07-22 12:44:39 PST ---
(In reply to comment #7)
> The full paths are specific to thin archives which are used by default.
> http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/src/binutils/NEWS?rev=1.109&content-type=text/plain&cvsroot=src&only_with_tag=binutils-binutils-2_23_1
> ('Changes in 2.19' part explains the behavior.)
> 
> WebCoreLayer.a and WebCoreLayerGtk2.a generation depends on the given archives being thin.
> 
> I think that using ar < 2.19 might still work, but would need a non-thin-archives-specific approach.


I've found a _huge_ workaround to replace the need for thin archives.

Instead of using :

ar t $(archive) | xargs -n50 ar cruT $@

i'm using :

ar t $(archive) | while read f ; do find . -name $$f ; done | xargs -n50 ar cru $@

Add to that a hard/softlink between WebCoreLayerGtk2.a and libWebCoreLayerGtk2.a (our libtool implementation doesnt like linking static libraries not named libsomething.a) and 2.1.3 builds, links, and even runs.

Webkit2 is still unusable at runtime as with 2.0.x, but that'll be for another bug report.

-- 
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