http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49842
Summary: sparc64-portbld-freebsd9.0 internal compiler error: in connect_traces, at dwarf2cfi.c:2632 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: me...@bristol.ac.uk I've gcc-4.7.0.20110709 built fine on sparc64 FreeBSD 9.0. Updating to 20110723 snapshot I get this error: /usr/ports/lang/gcc47/work/build/./gcc/xgcc -B/usr/ports/lang/gcc47/work/build/./gcc/ -B/usr/local/sparc64-portbld-freebsd9.0/bin/ -B/usr/local/sparc64-portbld-freebsd9.0/lib/ -isystem /usr/local/sparc64-portbld-freebsd9.0/include -isystem /usr/local/sparc64-portbld-freebsd9.0/sys-include -g -O2 -pipe -I/usr/local/include -fno-strict-aliasing -O2 -g -O2 -pipe -I/usr/local/include -fno-strict-aliasing -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -I. -I. -I../.././gcc -I../.././../gcc-4.7-20110723/libgcc -I../.././../gcc-4.7-20110723/libgcc/. -I../.././../gcc-4.7-20110723/libgcc/../gcc -I../.././../gcc-4.7-20110723/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o _lshrdi3.o -MT _lshrdi3.o -MD -MP -MF _lshrdi3.dep -DL_lshrdi3 -c ../.././../gcc-4.7-20110723/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS ../.././../gcc-4.7-20110723/libgcc/../gcc/libgcc2.c: In function '__lshrti3': ../.././../gcc-4.7-20110723/libgcc/../gcc/libgcc2.c:427:1: internal compiler error: in connect_traces, at dwarf2cfi.c:2632 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. gmake[3]: *** [_lshrdi3.o] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc47/work/build/sparc64-portbld-freebsd9.0/libgcc' Surprisingly, it builds fine on ia64 FreeBSD. I see in sparc64-portbld-freebsd9.0/libgcc/config.log: conftest.c:58:1: internal compiler error: in connect_traces, at dwarf2cfi.c:2632 config.log is attached.