Summary: | Avoid pre-stripping of X11.so and respect LDFLAGS | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Timo Gurr <timo.gurr> |
Component: | Build Process | Assignee: | Ralph Giles <ralph.giles> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.64 | ||
Hardware: | PC | ||
OS: | Linux | ||
URL: | http://bugs.gentoo.org/show_bug.cgi?id=215913 | ||
Customer: | Word Size: | --- | |
Attachments: | Patch to src/devs.mak to prevent premature strip of X11.so |
Created attachment 4796 [details]
Patch to src/devs.mak to prevent premature strip of X11.so
Thanks for the patch. Updated version applied as r9476. FWIW, we're not interested in libtool patches upstream. |
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.