[C++-sig] Re: Multiple typeinfos causing failure of exception catches
s_sourceforge at nedprod.com
Fri Jul 9 20:27:17 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
On 9 Jul 2004 at 8:36, David Abrahams wrote:
> There's a better fix that involves dealing differently with the way
> the ELF loader resolves weak symbols. You might ask Jason Merrill
> (cc:'d here) about the idea - it was his.
I'd imagine he'll get back to me on Monday. Was it to do with getting
the Linux ld.so to behave more like the Solaris one?
> > BTW, your problem with python having to load extension modules with
> > RTDL_LOCAL rather than RTDL_GLOBAL goes away if you use my -
> > fvisibility=hidden patch as no symbol clashes can happen.
> I don't think so; you can still have symbol clashes if two extension
> modules explicitly export the same names.
True, but then why would they need exporting in a python extension?
AFAICS most extensions export a table to python of what they provide
plus a few init and deinit functions which I would have thought are
looked up via dlsym() and thus unaffected by clashes?
I suppose if an extension was written using BPL and the extension
could also be dual used as an embedded library then you might have
issues. But you're still way ahead of how things stand now.
-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 18.104.22.168 / 9-2003 + PGP 8.0.2
-----END PGP SIGNATURE-----
More information about the Cplusplus-sig