On Tue, Feb 22, 2005 at 03:00:03PM +0000, Eric Boutilier wrote: > > is it possible that Solaris 10 lacks the static libc? ... > > Confirmed. In fact, as it turns out, Solaris 10 lacks all 32-bit > static system libraries (including statically linked utilities), > and all X11 static libraries. > > See: > http://iforce.sun.com/protected/solaris10/adoptionkit/general/removed.html ok, a couple of options come to mind: - detect this situation and manipulate the compiler arguments so that it remains possible to "statically" link (statically link against any static libraries present, otherwise dynamic). - add the proper ABI support in pkgsrc for SunPro and gcc to produce 64bit binaries, as Solaris 10 still has the 64bit static libraries. the first is probably not that difficult, and solves the issue in the most elegant way, imho. most, if not all packages which are broken because of this on Solaris 10 will probably start working again. only those with the most convoluted of compiler arguments might escape. the above URL leads me to think that there are no static libraries in Solaris 10/x86, and maybe won't be any in /amd64? there are hopefully not too many packages affected by this issue. popt is probably trying to be ultra-conservative and make sure that all required symbols are present in a static executable regardless of linker argument order. of course, we should do the latter in pkgsrc, too, but more so for other reasons, I guess, and I guess it doesn't help much here for X11 stuff or /x86 :) grant.
Attachment:
pgpmceDHiIZo6.pgp
Description: PGP signature