http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53284
Bug #: 53284 Summary: Several libatomic tests fail on 32-bit Solaris/x86 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: r...@gcc.gnu.org CC: r...@gcc.gnu.org Host: i386-pc-solaris2.9, i386-pc-solaris2.1[01] Target: i386-pc-solaris2.9, i386-pc-solaris2.1[01] Build: i386-pc-solaris2.9, i386-pc-solaris2.1[01] With the libatomic build problems on Solaris out of the way, there remain a couple of testsuite failures for the default 32-bit multilib: FAIL: libatomic.c/atomic-compare-exchange-4.c execution test FAIL: libatomic.c/atomic-exchange-4.c execution test FAIL: libatomic.c/atomic-load-4.c execution test FAIL: libatomic.c/atomic-op-4.c execution test FAIL: libatomic.c/atomic-store-4.c execution test FAIL: libatomic.c/generic-2.c execution test It seems all of them SEGV, e.g. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] 0xfef823f7 in libat_compare_exchange_8 (mptr=0x8049e68, eptr=0x8049e70, newval=18446744073709551615, smodel=5, fmodel=0) at /vol/gcc/src/hg/trunk/local/libatomic/cas_n.c:41 (gdb) where #0 0xfef823f7 in libat_compare_exchange_8 (mptr=0x8049e68, eptr=0x8049e70, newval=18446744073709551615, smodel=5, fmodel=0) at /vol/gcc/src/hg/trunk/local/libatomic/cas_n.c:41 #1 0xfef823fc in libat_compare_exchange_8 (mptr=0x8049e68, eptr=0x8049e70, newval=18446744073709551615, smodel=5, fmodel=0) at /vol/gcc/src/hg/trunk/local/libatomic/cas_n.c:41 #2 0xfef823fc in libat_compare_exchange_8 (mptr=0x8049e68, eptr=0x8049e70, newval=18446744073709551615, smodel=5, fmodel=0) at /vol/gcc/src/hg/trunk/local/libatomic/cas_n.c:41 #3 0xfef823fc in libat_compare_exchange_8 (mptr=0x8049e68, eptr=0x8049e70, newval=18446744073709551615, smodel=5, fmodel=0) at /vol/gcc/src/hg/trunk/local/libatomic/cas_n.c:41 #4 0xfef823fc in libat_compare_exchange_8 (mptr=0x8049e68, eptr=0x8049e70, newval=18446744073709551615, smodel=5, fmodel=0) at /vol/gcc/src/hg/trunk/local/libatomic/cas_n.c:41 Seems to be infinite recursion. Rainer