From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jo Dillon To: egcs@egcs.cygnus.com Subject: AIX cross-compiler woes Date: Fri, 30 Apr 1999 23:15:00 -0000 Message-ID: <19990427122827.A14570@thelonious.new.ox.ac.uk> X-SW-Source: 1999-04n/msg00941.html Message-ID: <19990430231500._8fbq42QHZdS4ESQgyLXt7NKD-APDIeb38qroSeRRKM@z> 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