http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52674
Bug #: 52674 Summary: [4.7 regression] profiledbootstrap-lean failues on Debian/SPARC Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: m...@use.net My top-level configure: debian-sparc:~/src/gcc-4.7.0-RC-20120314/obj# head config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.64. Invocation command line was $ ../configure --prefix=/opt/gcc-4.7.0/ --enable-lto --with-gmp=/opt/gcc-4.7.0/ --with-mpfr=/opt/gcc-4.7.0/ --with-mpc=/opt/gcc-4.7.0/ --with-cloog=/opt/gcc-4.7.0/ --with-ppl=/opt/gcc-4.7.0 --enable-gold --enable-cloog-backend=isl --disable-cloog-version-check --enable-plugins --with-build-config=bootstrap-lto --disable-libstdcxx-pch --enable-thread-safe --enable-threads=posix --with-libelf=/opt/gcc-4.7.0/ then I did a make profiledbootstrap-lean Resulting in this from the intl/config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.64. Invocation command line was $ /root/src/gcc-4.7.0-RC-20120314/intl/configure --cache-file=./config.cache --prefix=/opt/gcc-4.7.0/ --enable-lto -- with-gmp=/opt/gcc-4.7.0/ --with-mpfr=/opt/gcc-4.7.0/ --with-mpc=/opt/gcc-4.7.0/ --with-cloog=/opt/gcc-4.7.0/ --with-ppl =/opt/gcc-4.7.0 --enable-gold --enable-cloog-backend=isl --disable-cloog-version-check --enable-plugins --with-build-co nfig=bootstrap-lto --disable-libstdcxx-pch --enable-thread-safe --enable-threads=posix --with-libelf=/opt/gcc-4.7.0/ -- enable-languages=c,c++,fortran,java,lto,objc --program-transform-name=s,y,y, --disable-option-checking --build=sparc-un known-linux-gnu --host=sparc-unknown-linux-gnu --target=sparc-unknown-linux-gnu --srcdir=../../intl --with-build-libsub dir=. --enable-build-with-cxx [...] configure:2978: checking for C compiler default output file name configure:3000: /root/src/gcc-4.7.0-RC-20120314/obj/./prev-gcc/xgcc -B/root/src/gcc-4.7.0-RC-20120314/obj/./prev-gcc/ -B/opt/gcc-4.7.0/sparc-unknown-linux-gnu/bin/ -B/opt/gcc-4.7.0/sparc-unknown-linux-gnu/bin/ -B/opt/gcc-4.7.0/sparc-unkn own-linux-gnu/lib/ -isystem /opt/gcc-4.7.0/sparc-unknown-linux-gnu/include -isystem /opt/gcc-4.7.0/sparc-unknown-linux- gnu/sys-include -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-generate -fno-lto -static-libstdc++ -static-libgcc conftest.c >&5 configure:3004: $? = 0 configure:3041: result: a.out configure:3057: checking whether the C compiler works configure:3066: ./a.out /root/src/gcc-4.7.0-RC-20120314/intl/configure: line 1: 17735 Segmentation fault ./$ac_file configure:3070: $? = 139 configure:3077: error: in `/root/src/gcc-4.7.0-RC-20120314/obj/intl': configure:3081: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. I have a qemu virtual machine I'm working in and can send it along if that would help debug this issue.