This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libitm/55693] [4.8 Regression] libitm.c++/eh-1.C execution test fails on darwin from r193271
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Jan 2013 22:02:08 +0000
- Subject: [Bug libitm/55693] [4.8 Regression] libitm.c++/eh-1.C execution test fails on darwin from r193271
- Auto-submitted: auto-generated
- References: <bug-55693-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55693
--- Comment #16 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-01-18 22:02:08 UTC ---
If I compile the failing test case from comment 10 with...
% g++-fsf-4.8 -static-libgcc -fgnu-tm a.C
% otool -L ./a.out
./a.out:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
169.3.0)
the test case no longer segfaults but aborts...
% ./a.out
Abort
Also this test case behaves the same in FSF gcc 4.6.3 and 4.7.2. The shared
linkage to libstdc++ and libitm segfaults and the static linkage aborts.
Note that a statically link in libgcc, libstdc++ and libitm under linux, the
test case runs without error.