This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/51124] libitm failures


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51124

--- Comment #4 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-12-16 17:21:57 UTC ---
Xcode 4.2 on x86_64-apple-darwin10, produces the failures...

Running target unix/-m32
FAIL: libitm.c/memcpy-1.c execution test
FAIL: libitm.c/memset-1.c execution test
FAIL: libitm.c++/eh-1.C execution test
WARNING: libitm.c++/static_ctor.C compilation failed to produce executable

Running target unix/-m64
FAIL: libitm.c++/eh-1.C execution test
WARNING: libitm.c++/static_ctor.C compilation failed to produce executable

where memcpy-1.exe and memset-1.exe both fail with the output...

libitm: pr_undoLogCode not supported

The failing eh-1.C execution test at -m32 back traces in gdb as...

(gdb) r
Starting program:
/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin10.8.0/libitm/testsuite/eh-1.exe 
Reading symbols for shared libraries ++++. done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0000a074 in ITM_WU4 (this=<value temporarily unavailable, due to
optimizations>, ptr=0x0, val=1) at
../../../../gcc-4.7-20111216/libitm/method-serial.cc:90
90      CREATE_DISPATCH_METHODS(virtual, )
(gdb) bt
#0  0x0000a074 in ITM_WU4 (this=<value temporarily unavailable, due to
optimizations>, ptr=0x0, val=1) at
../../../../gcc-4.7-20111216/libitm/method-serial.cc:90
#1  0x000058d3 in _ITM_WU4 (ptr=0x0, val=1) at
../../../../gcc-4.7-20111216/libitm/barrier.cc:43
#2  0x00001b6d in f2 ()
#3  0x00001bbe in main ()


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]