public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/5129: sparc64 cross-compile build fails
@ 2002-05-03 15:22 davem
  0 siblings, 0 replies; 2+ messages in thread
From: davem @ 2002-05-03 15:22 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, stian

Synopsis: sparc64 cross-compile build fails

State-Changed-From-To: open->closed
State-Changed-By: davem
State-Changed-When: Fri May  3 15:21:59 2002
State-Changed-Why:
    This bug in the UltraSPARC scheduling slotter was fixed
    ages ago.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5129


^ permalink raw reply	[flat|nested] 2+ messages in thread

* bootstrap/5129: sparc64 cross-compile build fails
@ 2001-12-16  0:16 stian
  0 siblings, 0 replies; 2+ messages in thread
From: stian @ 2001-12-16  0:16 UTC (permalink / raw)
  To: gcc-gnats


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-03 22:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-03 15:22 bootstrap/5129: sparc64 cross-compile build fails davem
  -- strict thread matches above, loose matches on Subject: below --
2001-12-16  0:16 stian

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).