Exception handling problems with AIX 4.3.2/4.3.3, GCC 3.0.3
Kevin Poalses
kevin.poalses@btconnect.com
Wed Feb 20 06:02:00 GMT 2002
Hi all,
I'm having trouble with exception handling not working in my
configuration. Whenever an exception is thrown, the program exits with
an "IOT/Abort trap (core dumped)". This doesn't happen because of
unhandled exceptions, because I use the catchall "catch (...)" as
well...
I'm experiencing this using GCC 3.0.3 under both AIX 4.3.2 and AIX
4.3.3.
I've configured GCC as follows "../gcc-3.0.3/configure --prefix=/opt/gcc
--enable-shared --with-as=/usr/bin/as --with-ld=/usr/bin/ld
--enable-threads=aix --enable-languages=c,c++ --disable-libgcj"
And then built GCC with "export CC=cc; make bootstrap"
After installing it as root, I've tried any number of test app with and
without specifying "-pthreads". No joy, they build fine, but upon
execution exit with the trap above. Some test apps use only stdio
routines to avoid possible hassles with libstdc++, but it doesn't seem
to make a difference.
What could I be doing wrong? Is it somehow using the wrong unwinding
code? Help!
Any thoughts or even better, solutions, would be appreciated.
Thanks,
Kevin
More information about the Gcc-help
mailing list