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