http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57428
Alexander Pyhalov <alp at rsu dot ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alp at rsu dot ru --- Comment #1 from Alexander Pyhalov <alp at rsu dot ru> --- I see the similar crash on OpenIndiana (Solaris) with self-compiled gcc 4.7.3. $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/gcc/4.7/lib/gcc/i386-pc-solaris2.11/4.7.3/lto-wrapper Target: i386-pc-solaris2.11 Configured with: /export/home/alp/srcs/oi-userland/components/gcc47/gcc-4.7.3/configure CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++ --prefix=/usr/gcc/4.7 --mandir=/usr/gcc/4.7/share/man --bindir=/usr/gcc/4.7/bin --libdir=/usr/gcc/4.7/lib --sbindir=/usr/gcc/4.7/sbin --sbindir=/usr/gcc/4.7/bin --libdir=/usr/gcc/4.7/lib --libexecdir=/usr/gcc/4.7/lib --host i386-pc-solaris2.11 --build i386-pc-solaris2.11 --target i386-pc-solaris2.11 --with-boot-ldflags=-R/usr/gcc/4.7/lib --enable-plugins --enable-objc-gc --enable-languages=c,c++,fortran,lto,objc --enable-ld=no --with-as=/usr/bin/gas --with-gnu-as --with-build-time-tools=/usr/gnu/i386-pc-solaris2.11/bin --disable-libitm LDFLAGS=-R/usr/gcc/4.7/lib Thread model: posix gcc version 4.7.3 (GCC) $ ./test Segmentation Fault (core dumped) $ gdb test core GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-pc-solaris2.11"... (no debugging symbols found) Reading symbols from /usr/lib/libobjc.so.4...done. Loaded symbols for /usr/lib/libobjc.so.4 Reading symbols from /usr/lib/libgcc_s.so.1...done. Loaded symbols for /usr/lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.1...done. Loaded symbols for /lib/libc.so.1 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 Core was generated by `./test'. Program terminated with signal 11, Segmentation fault. [New process 90521 ] #0 0xfef5e6ae in __objc_forward (object=0x8061620, sel=0x80617d4, args=0x8047d20) at /export/home/alp/srcs/oi-userland/components/gcc47/gcc-4.7.3/libobjc/sendmsg.c:1127 1127 } (gdb) bt #0 0xfef5e6ae in __objc_forward (object=0x8061620, sel=0x80617d4, args=0x8047d20) at /export/home/alp/srcs/oi-userland/components/gcc47/gcc-4.7.3/libobjc/sendmsg.c:1127 #1 0xfef5f2a1 in __objc_word_forward (rcv=0x8061620, op=0x80617d4) at /export/home/alp/srcs/oi-userland/components/gcc47/gcc-4.7.3/libobjc/sendmsg.c:1127 #2 0x08051128 in proc () #3 0x0805115a in foo () #4 0x080511c2 in main ()