Matthias Klose wrote:
Did somebody succeed in building gpc on the Hurd?
Package: gcc Version: 1:2.95.2-17 Severity: normal
Hi,
gpc doesn't build in this version on the Hurd. The relevant part of the log is below. So maybe disable it in the next upload, or if gpc changes and there is hope, I am ready for a new try.
../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 -DRTS_RELEASE_STRING="'__GPC_RTS_VERSION_`cat /mnt/gcc/gcc-2.95.2/src-native/gcc/p/rts/rts_release`__'" -DBSD_RTS=0 `if [ x@with_shared@ = xyes ] ; then echo -fPIC; fi` --unit-path=/mnt/gcc/gcc-2.95.2/src-native/gcc/p/rts --automake /mnt/gcc/gcc-2.95.2/src-native/gcc/p/rts/heap.pas /mnt/gcc/gcc-2.95.2/src-native/gcc/p/rts/string.pas: In function `Cstringlength': /mnt/gcc/gcc-2.95.2/src-native/gcc/p/rts/string.pas:405: argument to `Inc' must be of ordinal type /mnt/gcc/gcc-2.95.2/src-native/gcc/p/rts/string.pas:405: (Use `{$x+}' or `--extended-syntax' to enable /mnt/gcc/gcc-2.95.2/src-native/gcc/p/rts/string.pas:405: pointer arithmetics.)
May I ask which version of GPC is used in Debian? The current version contains the this statement in line 388 (and also the other error positions 17 lines up). Since I don't seem to find any recent changes which removed lines from this file, are there any special modifications? (If there are, they may not necessarily be the cause of the problem, but it would help debugging if we knew about them...)
Frank