I am trying to compile gpc-980511 for egcs-19980517. Some problems:
- The configure file cannot be found, when building in another directory. A patch is appended.
- I get an internal compiler error when building the pascal runtime; the platform is a Debian GNU/Linux 2.0 (glibc2).
I am not on the gpc mailing list.
Matthias
/usr/local/packages/egcs-snapshot/egcs-snapshot-19980517/gcc/p/rts/rts-intfrac.p :72: warning: no previous prototype for `__init_Rts_intfrac' ../../xgpc -B../../ --automake -c -DGPC -Wall -Wpointer-arith -Wmissing-prototy pes -Wmissing-declarations -O2 -DEGCS -I. -I../.. -I/usr/local/packages/egcs-s napshot/egcs-snapshot-19980517/gcc/p/rts/../.. -I/usr/local/packages/egcs-snapsh ot/egcs-snapshot-19980517/gcc/p/rts/../../config /usr/local/packages/egcs-snapsh ot/egcs-snapshot-19980517/gcc/p/rts/rts-move.p gpc1: installation problem, cannot exec `gpc': No such file or directory gpc1: gpc exited with status 255 ../../../gcc/p/gpi-hash.c:329: failed assertion `rp == 0' xgpc: Internal compiler error: program gpc1 got fatal signal 6 make[2]: *** [rts-move.o] Error 1 make[2]: Leaving directory `/mnt/tmp/packages/egcs-snapshot/egcs-snapshot-199805 17/builddir/gcc/p/rts' make[1]: *** [libgpc.a] Error 2 make[1]: Leaving directory `/mnt/tmp/packages/egcs-snapshot/egcs-snapshot-199805 17/builddir/gcc' make: *** [all-gcc] Error 2
*** gpc/p/Makefile.in Sun May 10 12:27:57 1998 --- gcc/p/Makefile.in Wed May 20 17:55:50 1998 *************** *** 250,257 **** native: ../gpc1 ../gpc-cpp # Pascal-specific configuration. ! gpc-config.h: configure ! ./configure # Compiling object files from source files.
--- 250,257 ---- native: ../gpc1 ../gpc-cpp # Pascal-specific configuration. ! gpc-config.h: $(srcdir)/configure ! $(srcdir)/configure # Compiling object files from source files.
Hallo, Matthias! Hi, all!
According to Matthias Klose:
- The configure file cannot be found, when building in another directory. A patch is appended.
Applied! :-) Dankeschön!
- I get an internal compiler error when building the pascal runtime; the platform is a Debian GNU/Linux 2.0 (glibc2).
[...]
../../xgpc -B../../ --automake -c [...] gpc1: installation problem, cannot exec `gpc': No such file or directory
This is a problem with `--automake' which requires that the `gpc' program is named `gpc' and not `xgpc'. To work around, either compile `rts-move.p' & friends manually, or copy or link `xgpc' to `gpc' in the installation directory.
../../../gcc/p/gpi-hash.c:329: failed assertion `rp = 0'
I already have seen this, but have no real idea where this comes from. It is clearly an invalid GPI file, but who did produce that???
I am not on the gpc mailing list.
I am sending a copy of my reply directly to you. But be invited to join us by writing to gpc-request@hut.fi. :-)
Schöne GrüÃe,
Peter