[Gc] Re: link libgc.so against libdl (patch)
hans.boehm at hp.com
Tue May 22 16:55:02 PDT 2007
Much belated thanks. I'm finally integrating this into 7.0.
It looks like --no-undefined is a little problematic for libgc, since it
usually now generates references to ___tls_get_addr for thread local
storage, and I don't know how to resolve that before the final link.
> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Rex Dieter
> Sent: Thursday, March 16, 2006 7:47 AM
> To: gc at napali.hpl.hp.com
> Subject: [Gc] Re: link libgc.so against libdl (patch)
> Rex Dieter wrote:
> > Per:
> > in todo section:
> > - A dynamic libgc.so references dlopen unconditionally,
> but doesn't
> > link against libdl.
> > Here's a patch to fix that. Feel free to omit the
> > bits, as that is probably(?) not portable and is limited to
> > gnu ld.
> Oops, forgot to attach the patch, here it is.
> -- Rex
More information about the Gc