Bug 690288 - Avoid pre-stripping of X11.so and respect LDFLAGS
Summary: Avoid pre-stripping of X11.so and respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: 8.64
Hardware: PC Linux
: P4 normal
Assignee: Ralph Giles
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 10:59 UTC by Timo Gurr
Modified: 2009-02-13 16:49 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Patch to src/devs.mak to prevent premature strip of X11.so (600 bytes, patch)
2009-02-13 11:00 UTC, Timo Gurr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Gurr 2009-02-13 10:59:43 UTC
Kevin Pyle submitted the attached patch to our Gentoo bugzilla which fixes the
two mentioned issues. Quote:

> This was caused by a very strange invocation of gcc when trying to build a
> library.  The rule passed "-Wl,-soX11.so".  This was parsed as the linker
> option -s, to strip the file, and the linker option -o, to name the file
> X11.so.  This rule also ignored user $LDFLAGS.  I will attach a patch to fix
> both issues.
> 
> This whole area should be revisited and reworked to use libtool, but that is
> beyond the scope of this bug.

For more information please see the link in URL to the original Gentoo bugzilla
entry.
Comment 1 Timo Gurr 2009-02-13 11:00:35 UTC
Created attachment 4796 [details]
Patch to src/devs.mak to prevent premature strip of X11.so
Comment 2 Ralph Giles 2009-02-13 16:47:59 UTC
Thanks for the patch. Updated version applied as r9476.

FWIW, we're not interested in libtool patches upstream.