Date: Fri, 18 Apr 2008 18:18:07 -0700 From: Yuri <yuri@rawbw.com> Cc: freebsd-hackers@freebsd.org Subject: Re: C++ exceptions are broken in FreeBSD with gcc-compiled code? Message-ID: <4809484F.3010607@rawbw.com> In-Reply-To: <47FCF12D.3070902@rawbw.com> References: <47FCF12D.3070902@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I had some mixup of gcc versions so I got some false errors with system compiler. System gcc-4.2.1 works ok, as well as all gcc-4.2.X But the newest gcc-4.3.0 breaks. Executable aborts: Abort trap: 6 Stack trace in debugger is: Program received signal SIGABRT, Aborted. 0x28250a67 in kill () from /lib/libc.so.7 (gdb) bt #0 0x28250a67 in kill () from /lib/libc.so.7 #1 0x282509c6 in raise () from /lib/libc.so.7 #2 0x2824f5da in abort () from /lib/libc.so.7 #3 0x281759d6 in uw_init_context_1 (context=0xbfbfe5c4, outer_cfa=0xbfbfe660, outer_ra=0x28127fe8) at ../../../src/libgcc/../gcc/unwind-dw2.c:1249 #4 0x28175f3e in _Unwind_RaiseException (exc=0x81030b0) at ../../../src/libgcc/../gcc/unwind.inc:93 #5 0x28127fe8 in __cxa_throw (obj=0x81030d0, tinfo=0x8048da0, dest=0x80488ac <_ZNSsD1Ev@plt>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:71 #6 0x08048bcc in main () at exc-2.C:7 And shared libraries loaded correspond to this compiler. Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4809484F.3010607>