This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/55089] New: ICE in varasm.c during bootstrap-lean on x86_64-pc-solaris2.10


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 <http://gcc.gnu.org/bugs.html> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]