libgcc: On AIX, increase chances to find landing pads for exceptions
Michael Haubenwallner
michael.haubenwallner@ssi-schaefer.com
Mon Feb 8 12:15:00 GMT 2016
Hi David,
still experiencing exception-not-caught problems with gcc-4.2.4 on AIX
leads me to some patch proposed in http://gcc.gnu.org/PR13878 back in
2004 already, ought to be fixed by some different commit since 3.4.0.
As long as build systems (even libtool right now) on AIX do export these
_GLOBAL__* symbols from shared libraries, overlapping frame-base address
ranges may become registered, even if newer gcc (seen with 4.8) does name
the FDE symbols more complex to reduce these chances.
But still, just think of linking some static library into multiple shared
libraries and/or the main executable. Or sometimes there is just need for
some hackery to override a shared object's implementation detail and rely
on runtime linking to do the override at runtime.
Agreed both is "wrong" to some degree, but the larger an application is,
the higher is the chance for this to happen.
Thoughts?
Thanks!
/haubi/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcc-On-AIX-increase-chances-to-find-landing-pads-.patch
Type: text/x-patch
Size: 1579 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160208/38e669c8/attachment.bin>
More information about the Gcc-patches
mailing list