This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with '-static' in 3.0 release on AIX
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: Problem with '-static' in 3.0 release on AIX
- From: Matt_Conway at i2 dot com
- Date: Mon, 25 Jun 2001 19:46:04 -0400
- Cc: gcc at gcc dot gnu dot org
After performing a manual bootstrap like David suggested, my problems with
"-static" went away. Thanks to David for being so patient in explaining
to me how to do a manual boostrap.
Unfortunately, I now I have another problem with gcc3.0 on AIX 4.3.3. The
following code compiles ok, but causes a SIGABRT when throwing the
exception. Anyone have any ideas? Code similar to this was working on
3.0 branch snapshots up to a couple of weeks prior to release, so it must
be one of the more recent changes that is the culprit.
gcc-throw-bug.cpp:
int main()
{
try
{
throw 0;
}
catch (...)
{
}
}
(gdb) b main
Breakpoint 1 at 0x10000354: file gcc-throw-bug.cpp, line 6.
(gdb) run
Starting program: /u/conwaym/src/cpptest/./gcc-throw-bug
Breakpoint 1, main () at gcc-throw-bug.cpp:6
6 throw 0;
(gdb) n
Program received signal SIGABRT, Aborted.
0xd0175128 in raise ()
(gdb) bt
#0 0xd0175128 in raise ()
#1 0xd016e864 in abort ()
#2 0xd07a28ec in _ZN10__cxxabiv111__terminateEPFvvE (handler=0)
at /disk1/tmp/gcc3/gcc-3.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
#3 0xd07a2974 in _ZSt9terminatev ()
at /disk1/tmp/gcc3/gcc-3.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
#4 0xd07a3d6c in __cxa_throw (obj=0x0, tinfo=0xffffffff, dest=0xffffffff)
at /disk1/tmp/gcc3/gcc-3.0/libstdc++-v3/libsupc++/eh_throw.cc:77
#5 0x10000378 in main () at gcc-throw-bug.cpp:6
#6 0x100001dc in __start ()
Matt