This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
fail to build gcc 3.0 on Solaris /x86
- To: gcc-bugs at gcc dot gnu dot org
- Subject: fail to build gcc 3.0 on Solaris /x86
- From: Ling Shi <ling at cs dot mu dot OZ dot AU>
- Date: Fri, 22 Jun 2001 09:53:56 +1000
Hi,
When I build gcc 3.0 on Solairs 8/x86, it failed. Similar
story on Solaris 7/x86 platform. The error messages from
`make bootstrap` are attached. I used gcc 2.95.2, Sun's as/ld,
and gmake
[ling@queeg] obj [2:128] gcc -v
Reading specs from
/usr/local/apps/gcc-2.95.2/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
[ling@queeg] gcc-3.0 [2:133] which as
/usr/ccs/bin/as
[ling@queeg] gcc-3.0 [2:134] which ld
/usr/ccs/bin/ld
[ling@queeg] gcc-3.0 [2:136] make -version
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for i386-pc-solaris2.7
[on Solaris 8/x86]
:
./xgcc -B./ -B/usr/local/apps/gcc-3.0/i386-pc-solaris2.8/bin/ -isystem
/usr/loca
l/apps/gcc-3.0/i386-pc-solaris2.8/include -O2 -DIN_GCC -W -Wall
-Wwrite-str
ings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC
-g1 -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I../../gcc-3.0/g
cc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config
-I../../gcc-3.0/gcc/../inclu
de -fexceptions -c ../../gcc-3.0/gcc/unwind-dw2.c -o
libgcc/./unwind-dw2.o
../../gcc-3.0/gcc/unwind-dw2.c: In function `extract_cie_info':
../../gcc-3.0/gcc/unwind-dw2.c:219: warning: implicit declaration of
function `s
trlen'
../../gcc-3.0/gcc/unwind-dw2.c: In function `execute_stack_op':
../../gcc-3.0/gcc/unwind-dw2.c:300: warning: `result' might be used
uninitialize
d in this function
../../gcc-3.0/gcc/unwind-dw2.c: In function `execute_cfa_program':
../../gcc-3.0/gcc/unwind-dw2.c:775: warning: implicit declaration of
function `a
lloca'
../../gcc-3.0/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-3.0/gcc/unwind-dw2.c:886: warning: implicit declaration of
function `m
emset'
../../gcc-3.0/gcc/unwind-dw2.c: In function `uw_install_context_1':
../../gcc-3.0/gcc/unwind-dw2.c:1088: warning: missing braces around
initializer
../../gcc-3.0/gcc/unwind-dw2.c:1088: warning: (near initialization for
`once_reg
sizes.__pthread_once_pad')
../../gcc-3.0/gcc/unwind-dw2.c:1103: warning: implicit declaration of
function `
memcpy'
Assembler: unwind-dw2.c
"/var/tmp/ccgozuQf.s", line 4264 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4287 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4318 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4345 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4382 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4425 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4468 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4507 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4542 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4571 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4606 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4637 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4680 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4723 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4760 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4795 : Illegal subtraction
"/var/tmp/ccgozuQf.s", line 4834 : Illegal subtraction
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[3]: Leaving directory `/local/solaris86/apps/gcc-3.0/obj/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/local/solaris86/apps/gcc-3.0/obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/local/solaris86/apps/gcc-3.0/obj/gcc'
make: *** [bootstrap] Error 2
[on Solaris 7.x86]
:
./xgcc -B./ -B/usr/local/apps/gcc-3.0/i386-pc-solaris2.7/bin/ -isystem
/usr/loca
l/apps/gcc-3.0/i386-pc-solaris2.7/include -O2 -DIN_GCC -W -Wall
-Wwrite-str
ings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC
-g1 -DHA
VE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I../../gcc-3.0/g
cc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config
-I../../gcc-3.0/gcc/../inclu
de -fexceptions -c ../../gcc-3.0/gcc/unwind-dw2.c -o
libgcc/./unwind-dw2.o
../../gcc-3.0/gcc/unwind-dw2.c: In function `extract_cie_info':
../../gcc-3.0/gcc/unwind-dw2.c:219: warning: implicit declaration of
function `s
trlen'
../../gcc-3.0/gcc/unwind-dw2.c: In function `execute_stack_op':
../../gcc-3.0/gcc/unwind-dw2.c:300: warning: `result' might be used
uninitialize
d in this function
../../gcc-3.0/gcc/unwind-dw2.c: In function `execute_cfa_program':
../../gcc-3.0/gcc/unwind-dw2.c:775: warning: implicit declaration of
function `a
lloca'
../../gcc-3.0/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-3.0/gcc/unwind-dw2.c:886: warning: implicit declaration of
function `m
emset'
../../gcc-3.0/gcc/unwind-dw2.c: In function `uw_install_context_1':
../../gcc-3.0/gcc/unwind-dw2.c:1088: warning: missing braces around
initializer
../../gcc-3.0/gcc/unwind-dw2.c:1088: warning: (near initialization for
`once_reg
sizes.__pthread_once_pad')
../../gcc-3.0/gcc/unwind-dw2.c:1103: warning: implicit declaration of
function `
memcpy'
Assembler: unwind-dw2.c
aline 4252 : Illegal subtraction
aline 4275 : Illegal subtraction
aline 4306 : Illegal subtraction
aline 4333 : Illegal subtraction
aline 4370 : Illegal subtraction
aline 4413 : Illegal subtraction
aline 4456 : Illegal subtraction
aline 4495 : Illegal subtraction
aline 4530 : Illegal subtraction
aline 4559 : Illegal subtraction
aline 4594 : Illegal subtraction
aline 4625 : Illegal subtraction
aline 4668 : Illegal subtraction
aline 4711 : Illegal subtraction
aline 4748 : Illegal subtraction
aline 4783 : Illegal subtraction
aline 4822 : Illegal subtraction
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[3]: Leaving directory `/local/solaris/apps/gcc-3.0/obj/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/local/solaris/apps/gcc-3.0/obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/local/solaris/apps/gcc-3.0/obj/gcc'
make: *** [bootstrap] Error 2
--
Cheers,
Ling Shi
Email: ling@cs.mu.OZ.AU / sysad@cs.mu.OZ.AU Ph: 8344 9108