public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/10129: Ada bootstrap fails on powerpc-apple-darwin6.4 - invalid assembler emitted
@ 2003-03-18  4:09 bosch
  0 siblings, 0 replies; 2+ messages in thread
From: bosch @ 2003-03-18  4:09 UTC (permalink / raw)
  To: bosch, gcc-bugs, gcc-prs, nobody, shebs

Synopsis: Ada bootstrap fails on powerpc-apple-darwin6.4 - invalid assembler emitted

Responsible-Changed-From-To: unassigned->shebs
Responsible-Changed-By: bosch
Responsible-Changed-When: Tue Mar 18 04:09:54 2003
Responsible-Changed-Why:
    Assigned to Darwin maintainer - knowledge required is darwin-specific, not Ada-specific
State-Changed-From-To: open->analyzed
State-Changed-By: bosch
State-Changed-When: Tue Mar 18 04:09:54 2003
State-Changed-Why:
    Problem was analyzed in emails referenced in the desciption below.

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


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

* bootstrap/10129: Ada bootstrap fails on powerpc-apple-darwin6.4 - invalid assembler emitted
@ 2003-03-18  4:06 bosch
  0 siblings, 0 replies; 2+ messages in thread
From: bosch @ 2003-03-18  4:06 UTC (permalink / raw)
  To: gcc-gnats


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


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

end of thread, other threads:[~2003-03-18  4:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18  4:09 bootstrap/10129: Ada bootstrap fails on powerpc-apple-darwin6.4 - invalid assembler emitted bosch
  -- strict thread matches above, loose matches on Subject: below --
2003-03-18  4:06 bosch

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