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]

bootstrap/3249: gcc 3.0 will not compile on Intel System with Solaris 8



>Number:         3249
>Category:       bootstrap
>Synopsis:       gcc 3.0 will not compile on Intel System with Solaris 8
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 19 00:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Steve Christensen
>Release:        gcc 3.0
>Organization:
>Environment:
Pentium III system with Solaris 8 using gcc 2.95.3
to compile.
>Description:
gunzipped and untarred gcc-3.0.tar.gz

Using gcc-2.95.3 and /usr/ccs/bin/as

in gcc-3.0 ran mkdir objdir
cd objdir
../configure --disable-nls --disable-libgcj --enable-languages=c++,f77,objc
make bootstrap

after some time gives output

./xgcc -B./ -B/usr/local/i386-pc-solaris2.8/bin/ -isystem /usr/local/i386-pc-solaris2.8/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include  -DL_negvdi2 -c ../../gcc/libgcc2.c -o libgcc/./_negvdi2.o
./xgcc -B./ -B/usr/local/i386-pc-solaris2.8/bin/ -isystem /usr/local/i386-pc-solaris2.8/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include  -DL_ctors -c ../../gcc/libgcc2.c -o libgcc/./_ctors.o
./xgcc -B./ -B/usr/local/i386-pc-solaris2.8/bin/ -isystem /usr/local/i386-pc-solaris2.8/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -fexceptions -c ../../gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
../../gcc/unwind-dw2.c: In function `extract_cie_info':
../../gcc/unwind-dw2.c:219: warning: implicit declaration of function `strlen'
../../gcc/unwind-dw2.c: In function `execute_stack_op':
../../gcc/unwind-dw2.c:300: warning: `result' might be used uninitialized in this function
../../gcc/unwind-dw2.c: In function `execute_cfa_program':
../../gcc/unwind-dw2.c:775: warning: implicit declaration of function `alloca'
../../gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc/unwind-dw2.c:886: warning: implicit declaration of function `memset'
../../gcc/unwind-dw2.c: In function `uw_install_context_1':
../../gcc/unwind-dw2.c:1088: warning: missing braces around initializer
../../gcc/unwind-dw2.c:1088: warning: (near initialization for `once_regsizes.__pthread_once_pad')
../../gcc/unwind-dw2.c:1103: warning: implicit declaration of function `memcpy'
Assembler: unwind-dw2.c
        "/var/tmp/ccLtVgSx.s", line 4262 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4285 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4316 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4343 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4380 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4423 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4466 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4505 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4540 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4569 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4604 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4635 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4678 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4721 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4758 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4793 : Illegal subtraction
        "/var/tmp/ccLtVgSx.s", line 4832 : Illegal subtraction
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[3]: Leaving directory `/free3/SOURCES/I8/gcc-3.0/objdir/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/free3/SOURCES/I8/gcc-3.0/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/free3/SOURCES/I8/gcc-3.0/objdir/gcc'
make: *** [bootstrap] Error 2

and then quits.  Had no problem creating gcc-2.95.3 on
this exact same machine.
>How-To-Repeat:
Run the same commands as above.
>Fix:
None known.   I have been able to get this to compile
with the same commands on a SPARC running Solaris 8.
>Release-Note:
>Audit-Trail:
>Unformatted:


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