public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Geert Bosch <bosch@gnat.com>
To: gcc@gcc.gnu.org
Subject: Problems building GNAT on OS X with top-of-tree
Date: Tue, 15 Oct 2002 21:08:00 -0000	[thread overview]
Message-ID: <29F4C413-E0A7-11D6-AFAA-00039344BF4A@gnat.com> (raw)

I am trying to get up to speed with the head of the GCC tree, but while
building stage2 of the GNAT, any non-trivial file fails to compile with
assembler errors as follows:

stage1/xgcc -Bstage1/ -B/usr/local/powerpc-apple-darwin6.1/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
a-except.s:unknown:Can't emit reloc {- symbol "L65$pb"} @ file address 
9408.
a-except.s:unknown:Can't emit reloc {- symbol "L65$pb"} @ file address 
9404.
a-except.s:unknown:Can't emit reloc {- symbol "L64$pb"} @ file address 
9296.
a-except.s:unknown:Can't emit reloc {- symbol "L64$pb"} @ file address 
9292.
a-except.s:unknown:Can't emit reloc {- symbol "L64$pb"} @ file address 
9216.
a-except.s:unknown:Can't emit reloc {- symbol "L64$pb"} @ file address 
9212.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
9056.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
9052.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8868.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8864.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8680.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8676.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8572.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8568.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8532.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8528.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8452.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8448.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8360.
a-except.s:unknown:Can't emit reloc {- symbol "L63$pb"} @ file address 
8356.
a-except.s:unknown:Can't emit reloc {- symbol "L43$pb"} @ file address 
6140.
a-except.s:unknown:Can't emit reloc {- symbol "L43$pb"} @ file address 
6136.
a-except.s:unknown:Can't emit reloc {- symbol "L43$pb"} @ file address 
5980.
a-except.s:unknown:Can't emit reloc {- symbol "L43$pb"} @ file address 
5976.
a-except.s:unknown:Can't emit reloc {- symbol "L43$pb"} @ file address 
5952.
a-except.s:unknown:Can't emit reloc {- symbol "L43$pb"} @ file address 
5948.
a-except.s:unknown:Can't emit reloc {- symbol "L43$pb"} @ file address 
5824.
a-except.s:unknown:Can't emit reloc {- symbol "L43$pb"} @ file address 
5820.
a-except.s:unknown:Can't emit reloc {- symbol "L42$pb"} @ file address 
5468.
a-except.s:unknown:Can't emit reloc {- symbol "L42$pb"} @ file address 
5464.

I guess this refers to code like:
         addis r9,r31,ha16(
L_system__soft_links__get_jmpbuf_address$non_lazy_ptr-
L42$pb)
         lwz 
r9,lo16(L_system__soft_links__get_jmpbuf_address$non_lazy_ptr-
L42$pb)(r9)

Indeed, this looks dubious and IIRC, there was a similar problem a long
while ago. Do these symptoms ring a bell with anyone? If not, I'll see
if I can debug this and see why this code gets generated. Thanks in
advance for any help.

   -Geert

             reply	other threads:[~2002-10-16  1:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15 21:08 Geert Bosch [this message]
2002-10-16 10:43 ` Dale Johannesen
2002-10-16 10:59 ` Dale Johannesen
2002-10-16 11:30   ` Geert Bosch
2002-10-16 11:48     ` Dale Johannesen
2002-10-16 13:14       ` Geert Bosch
     [not found] <E5B21272-E13A-11D6-B07C-000393D76DAA@apple.com>
2002-10-16 13:28 ` Geert Bosch
2002-10-16 15:00   ` Dale Johannesen
2002-10-17 14:52     ` Geert Bosch
2002-10-17 15:00       ` Dale Johannesen
2002-10-17 15:02       ` Dale Johannesen
2002-10-17 15:22         ` Geoffrey Keating
2002-10-17 17:06           ` Dale Johannesen
2002-10-17 20:59             ` Geoffrey Keating

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=29F4C413-E0A7-11D6-AFAA-00039344BF4A@gnat.com \
    --to=bosch@gnat.com \
    --cc=gcc@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).