http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59433
Bug ID: 59433 Summary: [4.9 regression] Many 64-bit Go tests SEGV on Solaris Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: ro at gcc dot gnu.org Host: *-*-solaris2.1[01] Target: *-*-solaris2.1[01] Build: *-*-solaris2.1[01] Many (most) 64-bit Go tests now FAIL with a SEGV on Solaris, both SPARC and x86, here shown on the example of the bufio test: * i386-pc-solaris2.10: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2 (LWP 2)] runtime_netpoll (block=block@entry=0 '\000') at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/netpoll_select.c:143 143 __builtin_memcpy(&rfds, &fds, sizeof fds); (gdb) where #0 runtime_netpoll (block=block@entry=0 '\000') at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/netpoll_select.c:143 #1 0xfffffd7ffec0e95a in sysmon () at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/proc.c:2707 #2 0xfffffd7ffec0d378 in runtime_mstart (mp=0xc210212000) at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/proc.c:1016 #3 0xfffffd7ffe4dd9db in _thr_setup () from /lib/64/libc.so.1 #4 0xfffffd7ffe4ddc10 in ?? () from /lib/64/libc.so.1 #5 0x0000000000000000 in ?? () (gdb) p rfds Cannot access memory at address 0xfffffd7ffe0f9f00 (gdb) p fds $1 = {fds_bits = {0 <repeats 1024 times>}} * sparc-sun-solaris2.11: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2 (LWP 2)] runtime_netpoll (block=block@entry=0 '\000') at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/netpoll_select.c:153 153 __builtin_memset(&timeout, 0, sizeof timeout); (gdb) where #0 runtime_netpoll (block=block@entry=0 '\000') at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/netpoll_select.c:153 #1 0xfffffffd591bcd6c in sysmon () at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/proc.c:2707 #2 0xfffffffd591bb3a8 in runtime_mstart (mp=0xc210212000) at /vol/gcc/src/hg/trunk/solaris/libgo/runtime/proc.c:1016 #3 0xffffffff7ede276c in _lwp_start () from /lib/64/libc.so.1 #4 0xffffffff7ede276c in _lwp_start () from /lib/64/libc.so.1 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) p timeout Cannot access memory at address 0xffffffff71cfbd50 I have no idea what might be wrong; the same tests works perfectly fine for 32-bit. Rainer