Problems building shared libraries under Irix6

Jeffrey A Law law@cygnus.com
Wed Dec 17 09:19:00 GMT 1997


  In message < 19971216233439.16166@dot.cygnus.com >you write:
  > On Tue, Dec 16, 1997 at 05:19:34PM -0700, Jeffrey A Law wrote:
  > > Jim has a patch to move __register_frame and friends elsewhere so that
  > > they don't cause multiple symbol definitions.  Assuming he thinks the pat
  > ch
  > > is correct, he should apply it so this problem goes away.
  > 
  > It might be worth considering making libgcc a shared library on at
  > least ELF platforms.  It would eliminate some of these problems,
  > though it would mean we'd have to be more careful with binary
  > compatibility and installation.
  > 
  > Just a thought...
Hmmm, I thought we experimented with this a few years ago and decided
it was a bad idea (due to the shlib path problems I suspect).

Compiling libgcc stuff with -fPIC, but not making a shared library
got us most of the benefits without the major headaches.

jeff



More information about the Gcc mailing list