http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49190

           Summary: [4.7 Regression] Bootstrap failure at revision 174286
                    on x86_64-apple-darwin10
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: domi...@lps.ens.fr
                CC: howa...@nitro.med.uc.edu, froy...@codesourcery.com


Created attachment 24370
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24370
preprocessed file

x86_64-apple-darwin10 fails to bootstrap at revision 174286 with:

...
libtool: compile:  /opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/bin/
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/lib/ -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/include -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/sys-include -DHAVE_CONFIG_H -I.
-I../../../work/libgfortran -iquote../../../work/libgfortran/io
-I../../../work/libgfortran/../gcc -I../../../work/libgfortran/../gcc/config
-I../../../work/libgfortran/../libquadmath -I../.././gcc -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections -g -O2
-MT fmain.lo -MD -MP -MF .deps/fmain.Tpo -c ../../../work/libgfortran/fmain.c 
-fno-common -DPIC -o .libs/fmain.o
In file included from ../../../work/libgfortran/libgfortran.h:53:0,
                 from ../../../work/libgfortran/fmain.c:4:
../../../work/libgfortran/../libquadmath/quadmath_weak.h:39:1: internal
compiler error: tree check: expected tree that contains 'common' structure,
have 'identifier_node' in assemble_alias, at varasm.c:5789

Configured with: ../work/configure --prefix=/opt/gcc/gcc4.7w
--enable-languages=c,c++,fortran,objc,obj-c++,java,lto --with-gmp=/opt/sw64
--with-libiconv-prefix=/opt/sw64 --with-system-zlib --with-cloog=/opt/sw64
--enable-cloog-backend=isl --enable-lto

I attach the preprocessed file produced with

/opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/ -DHAVE_CONFIG_H -I.
-I../../../work/libgfortran -iquote../../../work/libgfortran/io
-I../../../work/gcc -I../../../work/gcc/config -I../../../work/libquadmath
-I../../gcc -c ../../../work/libgfortran/fmain.c -save-temps

which yields

[macbook] x86_64-apple-darwin10.7.0/libgfortran% /opt/gcc/build_w/gcc/cc1
fmain.i                                                                     
__sputc __inline_isinff __inline_isinfd __inline_isinf __inline_isfinitef
__inline_isfinited __inline_isfinite __inline_isnanf __inline_isnand
__inline_isnan __inline_signbitf __inline_signbitd __inline_signbit
__inline_isnormalf __inline_isnormald __inline_isnormal _OSSwapInt16
_OSSwapInt32 _OSSwapInt64 cimagq crealq conjq
In file included from ../../../work/libgfortran/libgfortran.h:53:0,
                 from ../../../work/libgfortran/fmain.c:4:
../../../work/libquadmath/quadmath_weak.h:39:1: internal compiler error: tree
check: expected tree that contains 'common' structure, have 'identifier_node'
in assemble_alias, at varasm.c:5789

Revision 174285 is OK (its cc1 compiles fmain.i without any error).

Note that I have bootstrapped revision 174295 with

Configured with: ../p_work/configure --prefix=/opt/gcc/gcc4.7p
--enable-languages=c,c++,lto,fortran --with-gmp=/opt/sw64
--with-libiconv-prefix=/opt/sw64 --with-system-zlib --enable-checking=release
--with-cloog=/opt/sw64 --enable-cloog-backend=isl --enable-lto

Reply via email to