public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: bosch@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/10129: Ada bootstrap fails on powerpc-apple-darwin6.4 - invalid assembler emitted
Date: Tue, 18 Mar 2003 04:06:00 -0000	[thread overview]
Message-ID: <20030318040049.16372.qmail@sources.redhat.com> (raw)


>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:
<http://gcc.gnu.org/ml/gcc-patches/2002-09/msg01259.html>
I initially reported the bug on the GCC list on 18 october 2002 in <http://gcc.gnu.org/ml/gcc/2002-10/msg00901.html>
Geoffrey Keating wrote a good synopsis of the issue in
<http://gcc.gnu.org/ml/gcc/2002-10/msg01071.html>

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 <http://gcc.gnu.org/ml/gcc/2002-10/msg01071.html> 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:


             reply	other threads:[~2003-03-18  4:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18  4:06 bosch [this message]
2003-03-18  4:09 bosch

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=20030318040049.16372.qmail@sources.redhat.com \
    --to=bosch@gcc.gnu.org \
    --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).