Package: g++-4.7 Version: 4.7.0-2 Severity: normal When building Crawl with gcc-4.7 or gcc-snapshot, I get:
In file included from :7797:0: /usr/include/c++/4.7/bits/stl_tree.h: In function ‘_ZNSt8_Rb_treeI8level_idSt4pairIKS0_St4listI8item_defSaIS4_EEESt10_Select1stIS7_ESt4lessIS0_ESaIS7_EE14_M_lower_boundEPSt13_Rb_tree_nodeIS7_ESG_RS2_.isra.87.1198565.constprop.8126’: /usr/include/c++/4.7/bits/stl_tree.h:1093:5: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make[1]: *** [/tmp/ccsYTByt.ltrans1.ltrans.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from :8471:0: /usr/include/c++/4.7/bits/stl_tree.h: In function ‘_ZNSt8_Rb_treeISsSt4pairIKSs20dungeon_feature_typeESt10_Select1stIS3_ESt4lessISsESaIS3_EE14_M_lower_boundEPSt13_Rb_tree_nodeIS3_ESC_RS1_.isra.106.1728634.constprop.7149’: /usr/include/c++/4.7/bits/stl_tree.h:1093:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make[1]: *** [/tmp/ccsYTByt.ltrans0.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status /usr/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status make: *** [crawl] Error 1 The incantation to do so is: apt-get source crawl # or from upstream git, the trunk has the same problem cd crawl-0.10.0/source make GCC=gcc-4.7 GXX=g++-4.7 LTO=y # strongly recommended: -j`grep ^processor /proc/cpuinfo|wc -l` I tried following the upstream docs on how to debug or reduce LTO problems, but it turns out this is currently beyond me, thus I'm sadly reporting without a minimal testcase. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (150, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/6 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages g++-4.7 depends on: ii gcc-4.7 4.7.0-2 ii gcc-4.7-base 4.7.0-2 ii libc6 2.13-27 ii libcloog-ppl0 0.15.11-4 ii libgmp10 2:5.0.4+dfsg-1 ii libgmpxx4ldbl 2:5.0.4+dfsg-1 ii libmpc2 0.9-4 ii libmpfr4 3.1.0-4 ii libppl-c4 0.11.2-6 ii libppl9 0.11.2-6 ii libpwl5 0.11.2-6 ii libstdc++6-4.7-dev 4.7.0-2 ii zlib1g 1:1.2.6.dfsg-2 g++-4.7 recommends no packages. Versions of packages g++-4.7 suggests: pn g++-4.7-multilib <none> pn gcc-4.7-doc <none> pn libstdc++6-4.7-dbg <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120404195822.21208.36684.report...@umbar.angband.pl