New gpc snapshot released

Peter Schorn peter.schorn at acm.org
Thu Sep 6 19:33:14 CEST 2007


Adriaan van Os wrote:

> Interestingly, thanks to the PowerPC emulator built-into Mac OS X on 
> Intel Macs, we can also test the PowerPC cross-compiler hosted there.
> 
> [p17:~/gpc/gpc-20070904/gcc-4.1.2-test] adriaan% uname -a
> Darwin p17 8.6.2 Darwin Kernel Version 8.6.2: Thu Apr 13 18:48:29 PDT 
> 2006; root:xnu-792.9.59.obj~1/RELEASE_I386 i386 i386
> 
> /Developer/Pascal/gpc421d1/bin/powerpc-apple-darwin8-gpc version 
> 20070904, based on gcc-4.1.2
> [p17:~/gpc/gpc-20070904/gcc-4.1.2-test] adriaan% 
> /Developer/Pascal/gpc421d1/bin/powerpc-apple-darwin8-gpc -v
> Using built-in specs.
> Configured with: ../gcc-4.1.2/configure --enable-languages=pascal,c 
> --enable-threads=posix --target=powerpc-apple-darwin8 
> --host=i386-apple-darwin8 --build=i386-apple-darwin8 
> --prefix=/Developer/Pascal/gpc421d1 --with-ld=/usr/bin/ld 
> --with-as=/usr/bin/as

I was less successful building the "other" cross-compiler using

configure --enable-languages=pascal --enable-threads=posix 
--target=i386-apple-darwin8 --host=powerpc-apple-darwin8 
--build=powerpc-apple-darwin8 --prefix=/Developer/Pascal/gpc412n 
--with-sysroot=/Developer/SDKs/MacOSX10.4u.sdk/ --with-arch=pentium-m 
--with-tune=prescott --with-ld=/usr/bin/ld --with-as=/usr/bin/as

The make stops with the following error message
../.././xgpc -B../.././  -c -g -I. -W -Wall -Wmissing-prototypes 
-Wmissing-declarations -g -O2 
--unit-path=/Users/peterschorn/projects/gpc4/gcc-4.1.2/gcc/p/rts 
--automake -DRTS_RELEASE_STRING="'`cat 
/Users/peterschorn/projects/gpc4/gcc-4.1.2/gcc/p/rts/rts-version`'" 
-DGCC_VERSION="''" 
"/Users/peterschorn/projects/gpc4/gcc-4.1.2/gcc/p/rts/rtsc.pas"
/Users/peterschorn/projects/gpc4/gcc-4.1.2/gcc/p/rts/rtsc.pas:430: 
internal compiler error: in store_node_fields, at p/module.c:2372
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu-pascal.de/todo.html> for instructions.
make[3]: *** [rtsc.o] Error 1
make[2]: *** [pascal.rts] Error 2
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2

Am I using some wrong parameters in the configure parameters or am I 
missing something else?

Best regards, Peter






More information about the Gpc mailing list