public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/3502: gcc-3.0 fails to compile on Solaris 8 x86
@ 2001-07-01 0:06 sum
0 siblings, 0 replies; 2+ messages in thread
From: sum @ 2001-07-01 0:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 3502
>Category: target
>Synopsis: gcc-3.0 fails to compile on Solaris 8 x86
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 01 00:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Sum Wu
>Release: gcc-3.0
>Organization:
>Environment:
Solaris 8 x86 SunOS 5.8 Generic 108529-08 March 2001
AMD K6 II 500mHz, Asus P5A
>Description:
gcc-3.0 fails to compile on Solaris 8 X86. I am trying
gcc-3.0 because gcc-=2.95.3 and 2.95.2 fails to compile
static binary on Solaris 8 x86. The compile seems to stop
at the begining of the stage1 of the compilation. I am using
gcc-2.95.3 to do the compilation. The error is listed below:
./xgcc -B./ -B/opt/gcc300/i386-pc-solaris2.8/bin/ -isystem /opt/gcc300/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/ccXdJFLi.s", line 4264 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4287 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4318 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4345 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4382 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4425 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4468 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4507 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4542 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4571 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4606 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4637 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4680 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4723 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4760 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4795 : Illegal subtraction
"/var/tmp/ccXdJFLi.s", line 4834 : Illegal subtraction
gmake[3]: *** [libgcc/./unwind-dw2.o] Error 1
gmake[3]: Leaving directory `/tmp/root/gcc-3.0/objdir/gcc'
gmake[2]: *** [libgcc.a] Error 2
gmake[2]: Leaving directory `/tmp/root/gcc-3.0/objdir/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/tmp/root/gcc-3.0/objdir/gcc'
gmake: *** [bootstrap] Error 2
Please help :)~~
>How-To-Repeat:
simply do a "configure and gmake bootstrap" will give you
the above error. I have tested that on two Solaris 8 x86
systems. One on AMD K6 II 500mHz, and one on Pentium III
550mHz. Both produces the same errors.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: target/3502: gcc-3.0 fails to compile on Solaris 8 x86
@ 2001-07-01 6:40 aoliva
0 siblings, 0 replies; 2+ messages in thread
From: aoliva @ 2001-07-01 6:40 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, sum
Synopsis: gcc-3.0 fails to compile on Solaris 8 x86
State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Sun Jul 1 06:40:39 2001
State-Changed-Why:
I believe this is already fixed in mainline and 3.0 branch. It's definitely one of the bugs that will be fixed in release 3.0.1. Meanwhile, please use the GNU assembler.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3502&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-01 6:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-01 0:06 target/3502: gcc-3.0 fails to compile on Solaris 8 x86 sum
2001-07-01 6:40 aoliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).