This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bootstrap/5129: sparc64 cross-compile build fails



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]