public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jo Dillon <emily@thelonious.new.ox.ac.uk>
To: egcs@egcs.cygnus.com
Subject: AIX cross-compiler woes
Date: Tue, 27 Apr 1999 04:28:00 -0000	[thread overview]
Message-ID: <19990427122827.A14570@thelonious.new.ox.ac.uk> (raw)

  Hi - I have a cross-compiler built to create AIX/PowerPC/Coff binaries on
Intel/Linux. It's egcs 1.1.1 with the gpc patches applied, and it fails
on some (but not all) Pascal binaries, with results like this:

/usr/local/powerpc/bin/powerpc-ibm-aix3.2.5-gpc -c -w realreg.pas -o realreg.coff
realreg.pas: In function `Proxysearch':
realreg.pas:463: internal error--unrecognizable insn:
(insn 8383 8380 1439 (set (mem:SI (plus:SI (reg:SI 14 r14)
                (const_int 65536)))
        (reg:SI 17 r17)) -1 (nil)
    (nil))
../../../egcs-1.1.1/gcc/p/../toplev.c:1378: Internal compiler error in function fatal_insn

  The line in question is the end of the file. I had a few problems compiling
the cross-compiler; it seemed not to build a crt0.o, which meant that
make cross-install didn't work properly. I don't actually need a crt0.o
or a runtime library since I simply want to create XCoff .o's to include
into a Macintosh program, so I got gcc to install anyway; I was wondering
if this could be the cause of the above problem - perhaps the cross-gpc
is finding the wrong gcc backend or something? - but this seems unlikely
since most files do compile without problems and provide me with usable
XCoff binaries that I've tested on my Mac. Are there any known issues with
the AIX backend?

-- 
	Jo





WARNING: multiple messages have this Message-ID
From: Jo Dillon <emily@thelonious.new.ox.ac.uk>
To: egcs@egcs.cygnus.com
Subject: AIX cross-compiler woes
Date: Fri, 30 Apr 1999 23:15:00 -0000	[thread overview]
Message-ID: <19990427122827.A14570@thelonious.new.ox.ac.uk> (raw)
Message-ID: <19990430231500._8fbq42QHZdS4ESQgyLXt7NKD-APDIeb38qroSeRRKM@z> (raw)

  Hi - I have a cross-compiler built to create AIX/PowerPC/Coff binaries on
Intel/Linux. It's egcs 1.1.1 with the gpc patches applied, and it fails
on some (but not all) Pascal binaries, with results like this:

/usr/local/powerpc/bin/powerpc-ibm-aix3.2.5-gpc -c -w realreg.pas -o realreg.coff
realreg.pas: In function `Proxysearch':
realreg.pas:463: internal error--unrecognizable insn:
(insn 8383 8380 1439 (set (mem:SI (plus:SI (reg:SI 14 r14)
                (const_int 65536)))
        (reg:SI 17 r17)) -1 (nil)
    (nil))
../../../egcs-1.1.1/gcc/p/../toplev.c:1378: Internal compiler error in function fatal_insn

  The line in question is the end of the file. I had a few problems compiling
the cross-compiler; it seemed not to build a crt0.o, which meant that
make cross-install didn't work properly. I don't actually need a crt0.o
or a runtime library since I simply want to create XCoff .o's to include
into a Macintosh program, so I got gcc to install anyway; I was wondering
if this could be the cause of the above problem - perhaps the cross-gpc
is finding the wrong gcc backend or something? - but this seems unlikely
since most files do compile without problems and provide me with usable
XCoff binaries that I've tested on my Mac. Are there any known issues with
the AIX backend?

-- 
	Jo






             reply	other threads:[~1999-04-27  4:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-27  4:28 Jo Dillon [this message]
1999-04-30 16:07 ` David Edelsohn
1999-04-30 23:15   ` David Edelsohn
1999-04-30 23:15 ` Jo Dillon
1999-05-23 23:44 ` Jeffrey A Law
1999-05-31 21:36   ` Jeffrey A Law

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=19990427122827.A14570@thelonious.new.ox.ac.uk \
    --to=emily@thelonious.new.ox.ac.uk \
    --cc=egcs@egcs.cygnus.com \
    /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).