pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29470



The following reply was made to PR pkg/29470; it has been noted by GNATS.

From: Eric Boutilier <Eric.Boutilier%Sun.COM@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/29470
Date: Thu, 24 Feb 2005 13:22:22 -0600 (CST)

 > ...
 > 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.
 
 I think 64bit static libraries are gone also.
 
 In case this helps, I asked Sun linker guy, Rod Evans,
 for his input. He said:
 
     ----
      Yep, static libraries have gone.  Not that it was me
      that pulled them, plus ld(1) can potentially still build
      a static executable ... but with no libc.a, its hard :-)
 
      I blogged about this a while back, see "Static Linking -
      where did it go?" from http://blogs.sun.com/rie.
 
      Without seeing their Makefiles I'd assume their
      failure is caused because they use -Bstatic? or -dn.
      Remove either of these linker options and they fall
      back to dynamic linking...
     ----
 
 The writeup on his blog is very informative.
 
 Eric
 



Home | Main Index | Thread Index | Old Index