From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31697 invoked by alias); 16 Dec 2001 08:16:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 31655 invoked by uid 71); 16 Dec 2001 08:16:01 -0000 Resent-Date: 16 Dec 2001 08:16:01 -0000 Resent-Message-ID: <20011216081601.31654.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, stian@nixia.no Received:(qmail 29132 invoked by uid 61); 16 Dec 2001 08:13:16 -0000 Message-Id:<20011216081316.29127.qmail@sources.redhat.com> Date: Sun, 16 Dec 2001 00:16:00 -0000 From: stian@nixia.no Reply-To: stian@nixia.no To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: bootstrap/5129: sparc64 cross-compile build fails X-SW-Source: 2001-12/txt/msg00908.txt.bz2 List-Id: >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: