public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: sum@geekhouse.org
To: gcc-gnats@gcc.gnu.org
Subject: target/3502: gcc-3.0 fails to compile on Solaris 8 x86
Date: Sun, 01 Jul 2001 00:06:00 -0000	[thread overview]
Message-ID: <20010701070121.21002.qmail@sourceware.cygnus.com> (raw)

>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:


             reply	other threads:[~2001-07-01  0:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-01  0:06 sum [this message]
2001-07-01  6:40 aoliva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010701070121.21002.qmail@sourceware.cygnus.com \
    --to=sum@geekhouse.org \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).