Russell Whitaker wrote:
On Tue, 7 Feb 2006, Waldek Hebisch wrote:
prasad svr wrote:
<snip>
/gcc/gpcbuild/gcc/xgcc -B/gcc/gpcbuild/gcc/ -B/usr/local/ia64-hp-hpux11.23/bin/ -B/usr/local/ia64-hp-hpux11.23/lib/ -isystem /usr/local/ia64-hp-hpux11.23/includ e -isystem /usr/local/ia64-hp-hpux11.23/sys-include -c -I. -W -Wall -Wmissing-p rototypes -Wmissing-declarations -g -O2 -Wpointer-arith -Wwrite-strings "/gcc/ gcc-3.4.3/gcc/p/rts/rts.c" /gcc/gcc-3.4.3/gcc/p/rts/rts.c:663:1: warning: "open" redefined In file included from /usr/include/fcntl.h:9, from /gcc/gcc-3.4.3/gcc/p/rts/rts.c:89: /usr/include/sys/fcntl.h:259:1: warning: this is the location of the previous de finition /gcc/gcc-3.4.3/gcc/p/rts/rts.c: In function `_p_CStringStrSignal': /gcc/gcc-3.4.3/gcc/p/rts/rts.c:2446: warning: empty body in an if-statement /gcc/gcc-3.4.3/gcc/p/rts/rts.c: In function `_p_SqRt': /gcc/gcc-3.4.3/gcc/p/rts/rts.c:831: internal compiler error: in emit_move_insn, at expr.c:2812 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. make[2]: *** [rts.o] Error 1 make[2]: Leaving directory `/gcc/gpcbuild/gcc/p/rts' make[1]: *** [pascal.rts] Error 2 make[1]: Leaving directory `/gcc/gpcbuild/gcc' make: *** [all-gcc] Error 2 #
can any one help on this.
<snip>
It looks that the problem is fixed in gcc-4.0, but ATM gpc do not work with this version of gcc.
tried it with gcc-3.4.5 -c and got a .o result
linux i686
The problem affects ia64 (Itanium) running HPUX. In fact, it seems that only 32-bit mode is affected. Unfortunatly, 32-bit mode is a default on HPUX.
To Prasad: it seems that you have succesfully built the compiler proper. The problem is with building the 32-bit runtime. You may try building 64-bit runtime.
Some hints how to do this are in a message by Peter Keenan:
http://www.gnu-pascal.de/crystal/gpc/en/mail11264.html
(however, to get 64-bit mode use `-mlp64' flag).