Mason Ip wrote:
- GNU autoconf may be necessary; although I did hack a Makefile to get
rid of the Âautoheader not found error without having GNU autoconf installed. But lately I just install GNU autoconf to get rid of the trouble.
Usually, you should not need autoconf if you just want to install GPC (or most other packages as well). autoconf is used by the developers to create the configure scripts which are invoked during building GPC.
You should only need autoconf if you've changed the configure.in file or something like that...
-- B) error messages start here -- ../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -O2 -g -O2 -DRTS_RELEASE_STRING="'__GPC_RTS_VERSION_`cat /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/rts_release`__'" -DBSD_RTS=0 `if [ x@with_shared@ = xyes ] ; then echo -fPIC; fi` --unit-path=/opt/OV/tmp/gcc-2.95.2/gcc/p/rts --automake /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/files.pas /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/string2.pas: In function `Getenv': /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/string2.pas:193: internal error--unrecognizable insn: (insn 15 14 17 (set (zero_extract:SI (reg:SI 97) (const_int 32 [0x20]) (const_int 0 [0x0])) (reg:SI 98)) -1 (insn_list 12 (insn_list 14 (nil))) (expr_list:REG_DEAD (reg:SI 98) (nil))) gpc1: ../.././xgpc exited with status 1 /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/files.pas:30: module/unit `string2' could not be compiled make[3]: *** [files.o] Error 1
This problem seems to be in the compilation of CString2String. Since Peter is working on the string handling, anyway, there might be some hope that it will be fixed soon.
Frank
Frank Heckenbach wrote:
-- B) error messages start here -- ../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -O2 -g -O2 -DRTS_RELEASE_STRING="'__GPC_RTS_VERSION_`cat /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/rts_release`__'" -DBSD_RTS=0 `if [ x@with_shared@ = xyes ] ; then echo -fPIC; fi` --unit-path=/opt/OV/tmp/gcc-2.95.2/gcc/p/rts --automake /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/files.pas /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/string2.pas: In function `Getenv': /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/string2.pas:193: internal error--unrecognizable insn: (insn 15 14 17 (set (zero_extract:SI (reg:SI 97) (const_int 32 [0x20]) (const_int 0 [0x0])) (reg:SI 98)) -1 (insn_list 12 (insn_list 14 (nil))) (expr_list:REG_DEAD (reg:SI 98) (nil))) gpc1: ../.././xgpc exited with status 1 /opt/OV/tmp/gcc-2.95.2/gcc/p/rts/files.pas:30: module/unit `string2' could not be compiled make[3]: *** [files.o] Error 1
This problem seems to be in the compilation of CString2String. Since Peter is working on the string handling, anyway, there might be some hope that it will be fixed soon.
This is the same error I ended up with in november, as desribed in my bugreport from November 3-rd. My guess is that it is is another example of the known HPUX bug as triggered with the testfile from "p/test/knownbugs/sietse1u.pas"
Sietse