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

           Summary: bootstrap fails on OpenBSD/i386
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: j...@openbsd.org


gcc svn fails to bootstrap on OpenBSD/i386 -current:
configured via

../gcc/configure --prefix=/usr/gcc --program-transform-name=s,^,e, \
        --disable-nls \
        --disable-checking \
        --with-system-zlib \
        --disable-libmudflap \
        --disable-libgomp \
        --disable-tls \
        --with-as=/usr/bin/as \
        --with-ld=/usr/bin/ld \
        --with-gnu-ld \
        --with-gnu-as \
        --enable-threads=posix \
        --enable-wchar_t \
        --disable-lto \
        --enable-languages=c,c++ \
        --with-gmp=/usr/local \
        --with-mpfr=/usr/local


/home/jsg/src/obj/./gcc/xgcc -B/home/jsg/src/obj/./gcc/
-B/usr/gcc/i386-unknown-openbsd4.9/bin/  B/usr/gcc/i386-unknown-openbsd4.9/lib/
-isystem /usr/gcc/i386-unknown-openbsd4.9/include -isyste 
/usr/gcc/i386-unknown-openbsd4.9/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC  
-W -Wall -Wwrite- trings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./i clude  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector   -I. -I.
-I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include    -o
unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep  fexceptions -c
../../../gcc/libgcc/../gcc/unwind-dw2.c 
In file included from ../.././gcc/gthr-default.h:1:0,
                 from ../../../gcc/libgcc/../gcc/gthr.h:160,
                 from ../../../gcc/libgcc/../gcc/unwind-dw2.c:37:
../../../gcc/libgcc/../gcc/gthr-posix.h:118:1: internal compiler error: tree
check: expected tre  that contains 'common' structure, have 'identifier_node'
in assemble_alias, at varasm.c:5789

$ cat stage_current
stage1

$ ./gcc/xgcc -v                                                                
Using built-in specs.
COLLECT_GCC=./gcc/xgcc
Target: i386-unknown-openbsd4.9
Configured with: ../gcc/configure --prefix=/usr/gcc
--program-transform-name='s,^,e,' --disable-nls --disable-checking
--with-system-zlib --disable-libmudflap --disable-libgomp --disable-tls
--with-as=/usr/bin/as --with-ld=/usr/bin/ld --with-gnu-ld --with-gnu-as
--enable-threads=posix --enable-wchar_t --disable-lto --enable-languages=c,c++
--with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.7.0 20110528 (experimental) (GCC)

Reply via email to