This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AIX cross-compiler woes


  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







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]