From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26111 invoked by alias); 26 Oct 2012 21:10:23 -0000 Received: (qmail 26003 invoked by uid 48); 26 Oct 2012 21:10:03 -0000 From: "Tim.Mooney at ndsu dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/55089] New: ICE in varasm.c during bootstrap-lean on x86_64-pc-solaris2.10 Date: Fri, 26 Oct 2012 21:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: Tim.Mooney at ndsu dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg02509.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55089 Bug #: 55089 Summary: ICE in varasm.c during bootstrap-lean on x86_64-pc-solaris2.10 Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: Tim.Mooney@ndsu.edu Created attachment 28539 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28539 config.log from libgcc directory, where ICE occurs I'm attempting to build gcc 4.7.2 on x86_64-sun-solaris2.10. I'm using the Oracle Studio 12.3 compiler suite to build the initial xgcc. Relevant settings are CC="cc -m64" CFLAGS=-m64 export CC CPPFLAGS="-I/local/gnu/include -I/local/include" CFLAGS="-m64 -I/local/gnu/include -I/local/include" LDFLAGS="-m64 -L/local/gnu/lib/64 -L/local/lib/64" export CPPFLAGS CFLAGS LDFLAGS BOOT_CFLAGS="-O -g" export BOOT_CFLAGS The build proceeds to where configure outputs gmake[3]: Leaving directory `/local/src/RPM/BUILD/gcc-4.7.2-obj/gcc' mkdir x86_64-pc-solaris2.10/libgcc Checking multilib configuration for libgcc... Configuring stage 1 in x86_64-pc-solaris2.10/libgcc configure: creating cache ./config.cache checking build system type... x86_64-pc-solaris2.10 checking host system type... x86_64-pc-solaris2.10 checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /local/gnu/bin/ginstall -c checking for gawk... nawk checking for x86_64-pc-solaris2.10-ar... ar checking for x86_64-pc-solaris2.10-lipo... lipo checking for x86_64-pc-solaris2.10-nm... /local/src/RPM/BUILD/gcc-4.7.2-obj/./gc c/nm checking for x86_64-pc-solaris2.10-ranlib... ranlib checking for x86_64-pc-solaris2.10-strip... strip checking whether ln -s works... yes checking for x86_64-pc-solaris2.10-gcc... /local/src/RPM/BUILD/gcc-4.7.2-obj/./g cc/xgcc -B/local/src/RPM/BUILD/gcc-4.7.2-obj/./gcc/ -B/local/gnu/x86_64-pc-solar is2.10/bin/ -B/local/gnu/x86_64-pc-solaris2.10/lib/ -isystem /local/gnu/x86_64-p c-solaris2.10/include -isystem /local/gnu/x86_64-pc-solaris2.10/sys-include checking for suffix of object files... configure: error: in `/local/src/RPM/BUIL D/gcc-4.7.2-obj/x86_64-pc-solaris2.10/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. Examining /local/src/RPM/BUILD/gcc-4.7.2-obj/x86_64-pc-solaris2.10/libgcc/config.log I see Thread model: posix gcc version 4.7.2 (GCC) configure:3355: $? = 0 configure:3344: /local/src/RPM/BUILD/gcc-4.7.2-obj/./gcc/xgcc -B/local/src/RPM/BUILD/gcc-4.7.2-obj/./gcc/ -B/local/gnu/x86_64-pc-solaris2.10/bin/ -B/local/gnu/x86_64-pc-solaris2.10/lib/ -isystem /local/gnu/x86_64-pc-solaris2.10/include -isystem /local/gnu/x86_64-pc-solaris2.10/sys-include -V >&5 xgcc: error: unrecognized command line option '-V' xgcc: fatal error: no input files compilation terminated. configure:3355: $? = 1 configure:3344: /local/src/RPM/BUILD/gcc-4.7.2-obj/./gcc/xgcc -B/local/src/RPM/BUILD/gcc-4.7.2-obj/./gcc/ -B/local/gnu/x86_64-pc-solaris2.10/bin/ -B/local/gnu/x86_64-pc-solaris2.10/lib/ -isystem /local/gnu/x86_64-pc-solaris2.10/include -isystem /local/gnu/x86_64-pc-solaris2.10/sys-include -qversion >&5 xgcc: error: unrecognized command line option '-qversion' xgcc: fatal error: no input files compilation terminated. configure:3355: $? = 1 configure:3371: /local/src/RPM/BUILD/gcc-4.7.2-obj/./gcc/xgcc -B/local/src/RPM/BUILD/gcc-4.7.2-obj/./gcc/ -B/local/gnu/x86_64-pc-solaris2.10/bin/ -B/local/gnu/x86_64-pc-solaris2.10/lib/ -isystem /local/gnu/x86_64-pc-solaris2.10/include -isystem /local/gnu/x86_64-pc-solaris2.10/sys-include -o conftest -g -m64 -I/local/gnu/include -I/local/include conftest.c >&5 conftest.c:16:1: internal compiler error: in ?, at varasm.c:2555 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. configure:3374: $? = 1 configure:3562: checking for suffix of object files configure:3584: /local/src/RPM/BUILD/gcc-4.7.2-obj/./gcc/xgcc -B/local/src/RPM/BUILD/gcc-4.7.2-obj/./gcc/ -B/local/gnu/x86_64-pc-solaris2.10/bin/ -B/local/gnu/x86_64-pc-solaris2.10/lib/ -isystem /local/gnu/x86_64-pc-solaris2.10/include -isystem /local/gnu/x86_64-pc-solaris2.10/sys-include -c -g -m64 -I/local/gnu/include -I/local/include conftest.c >&5 conftest.c:16:1: internal compiler error: in ?, at varasm.c:2555 Please submit a full bug report, with preprocessed source if appropriate. I'm attaching two files; the entire log of what configure output from the beginning, and the config.log from the libgcc directory. Note that it's been quite a while since I last built gcc, so it's entirely possible that something I'm doing is no longer the recommended way to build gcc, but I would expect a make error rather than an internal compiler error in that case. I would be happy to provide any additional information that's needed.