From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9743 invoked by alias); 18 Mar 2003 04:06:00 -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 9693 invoked by uid 71); 18 Mar 2003 04:06:00 -0000 Resent-Date: 18 Mar 2003 04:06:00 -0000 Resent-Message-ID: <20030318040600.9692.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, bosch@gcc.gnu.org Received: (qmail 16373 invoked by uid 48); 18 Mar 2003 04:00:49 -0000 Message-Id: <20030318040049.16372.qmail@sources.redhat.com> Date: Tue, 18 Mar 2003 04:06:00 -0000 From: bosch@gcc.gnu.org Reply-To: bosch@gcc.gnu.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: bootstrap/10129: Ada bootstrap fails on powerpc-apple-darwin6.4 - invalid assembler emitted X-SW-Source: 2003-03/txt/msg01200.txt.bz2 List-Id: >Number: 10129 >Category: bootstrap >Synopsis: Ada bootstrap fails on powerpc-apple-darwin6.4 - invalid assembler emitted >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Tue Mar 18 04:06:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Geert Bosch >Release: 3.3 >Organization: >Environment: >Description: This is a regression since GCC 3.2, triggered by the following patch: I initially reported the bug on the GCC list on 18 october 2002 in Geoffrey Keating wrote a good synopsis of the issue in Symptom is: stage1/xgcc -Bstage1/ -B/usr/local/powerpc-apple-darwin6.4/bin/ -c -g -O2 -gnatpg -gnata -g -O1 -fno-inline \ -I- -I. -Iada -I/Users/bosch/gcc/gcc/ada /Users/bosch/gcc/gcc/ada/a-except.adb -o ada/a-except.o /var/tmp//ccRkTAgH.s:unknown:Can't emit reloc {- symbol "L65$pb"} @ file address 9596. /var/tmp//ccRkTAgH.s:unknown:Can't emit reloc {- symbol "L65$pb"} @ file address 9592. /var/tmp//ccRkTAgH.s:unknown:Can't emit reloc {- symbol "L64$pb"} @ file address 9484. ... ... >How-To-Repeat: configure --enable-languages=c,ada make bootstrap >Fix: Quoting from message by Geoffrey: Since we can't do the nice thing, probably a good second-best is, for functions that need this restore (perhaps those that have current_function_has_nonlocal_label set) to ensure that the original load_macho_picbase never gets deleted by adding a suitable USE of the PIC register. >Release-Note: >Audit-Trail: >Unformatted: