public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: stian@nixia.no
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/5129: sparc64 cross-compile build fails
Date: Sun, 16 Dec 2001 00:16:00 -0000	[thread overview]
Message-ID: <20011216081316.29127.qmail@sources.redhat.com> (raw)


>Number:         5129
>Category:       bootstrap
>Synopsis:       sparc64 cross-compile build fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 16 00:16:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Stian Skjelstad
>Release:        cvs-snapshot (source)
>Organization:
>Environment:
tested with sparc-linux-gnu & i586-pc-linux-gnu (several diffrent gcc/gcc3)
>Description:
When building cross compiler for sparc64, the build compiler hangs at this point:

/home/my_wave/gcc3/build/gcc/xgcc -B/home/my_wave/gcc3/build/gcc/ -B/opt//sparc64-linux-gnu/bin/ -B/opt//sparc64-linux-gnu/lib/ -isystem /opt//sparc64-linux-gnu/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include -fexceptions -c ../../gcc/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
In file included from ../../gcc/gcc/unwind-dw2.c:25:
../../gcc/gcc/unwind-pe.h: In function `size_of_encoded_value':
../../gcc/gcc/unwind-pe.h:76: warning: implicit declaration of function `abort'
../../gcc/gcc/unwind-dw2.c: In function `extract_cie_info':
../../gcc/gcc/unwind-dw2.c:225: warning: implicit declaration of function `strlen'

After playing some more with #warning and gdb, I found out this:
The place the xgcc hangs:

gcc/gcc/unwind-dw2.c at the end-bracket of this function:
static _Unwind_Word
execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end,
          struct _Unwind_Context *context, _Unwind_Word initial)

And the xgcc is stuck inside the main while loop in file gcc/gcc/config/sparc/sparc.c, function:

static void
ultrasparc_sched_reorder (dump, sched_verbose, ready, n_ready)
>How-To-Repeat:
 ../gcc/configure --enable-shared --target=sparc64-linux-gnu --prefix=/opt/ --enable-languages=c,c++,objc
make cross
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-12-16  8:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-16  0:16 stian [this message]
2002-05-03 15:22 davem

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=20011216081316.29127.qmail@sources.redhat.com \
    --to=stian@nixia.no \
    --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).