Hello, everybody!
A new alpha version, gpc-980410, is being uploaded to Agnes:
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/
The major changes affect the DJGPP platform. Some crashes which occured under environments with memory protection (such as OS/2 or Windows 95) are fixed now. Some other minor fixes have been done, too (see `ChangeLog').
The problem was due to a new version of `libc.a' used in gpc-980405 which was necessary in order to fix the I/O problem in gpc-980401. The solution was to combine the old and the new version of `libc.a'. As you can imagine, compilation under DJGPP is now even harder than it was anyway ...
The problem that `gpc' produces `.exe' files named `a.out' is still present. Just rename it, and it will work. :-/
Happy Eastern, :-)
Peter
Peter Gerwinski a écrit:
A new alpha version, gpc-980410, is being uploaded to Agnes:
I have downloaded this version. The SIGSEGV (General protection fault) bug obtained while compiling a program which uses BGI2GRX is still there, with somewhat changed messages. More precisely BGI2GRX compiles correctly (apparently):
redir -e bgi2grx.lst gpc -v -c -g bgi2grx.pas
gives
Reading specs from f:/djgpp/lib/gcc-lib/djgpp/2.80/specs gpc driver version 2.80 executing gpc version 2.8.0 f:/djgpp/lib/gcc-lib/djgpp/2.80/gpc-cpp.exe -lang-pascal -v -nocharescape -undef -D__GNUC__=2 -D__GPC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 -D__WORDS_LITTLE_ENDIAN__=1 -g -Di386 -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__i386__ -Asystem(unix) -Acpu(i386) -Amachine(i386) bgi2grx.pas C:\TMP/ccbaaaaa GNU CPP version 980410(2.80) (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: /usr/local/include JDIR/djgpp/include JDIR/lib/gcc-lib/djgpp/2.80/include $DJDIR/include End of search list. f:/djgpp/lib/gcc-lib/djgpp/2.80/gpc1.exe C:\TMP/ccbaaaaa -quiet -dumpbase bgi2grx.pas -g -version -famtmpfile=bgi2grx.gpc -o C:\TMP/cccaaaaa GNU Pascal version 980410(2.80) (djgpp) compiled by GNU C version 2.8.0. as -o bgi2grx.o C:\TMP/cccaaaaa
then:
redir -e bug.lst gpc -v -g -o bug.exe bug.pas
where bug.pas contains only
program ModeList; uses BGI2GRX; begin end.
gives
Reading specs from f:/djgpp/lib/gcc-lib/djgpp/2.80/specs gpc driver version 2.80 executing gpc version 2.8.0 f:/djgpp/lib/gcc-lib/djgpp/2.80/gpc-cpp.exe -lang-pascal -v -nocharescape -undef -D__GNUC__=2 -D__GPC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 -D__WORDS_LITTLE_ENDIAN__=1 -g -Di386 -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__i386__ -Asystem(unix) -Acpu(i386) -Amachine(i386) bug.pas C:\TMP/ccbaaaaa GNU CPP version 980410(2.80) (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: /usr/local/include JDIR/djgpp/include JDIR/lib/gcc-lib/djgpp/2.80/include $DJDIR/include End of search list. f:/djgpp/lib/gcc-lib/djgpp/2.80/gpc1.exe C:\TMP/ccbaaaaa -quiet -dumpbase bug.pas -g -version -famtmpfile=bug.gpc -o C:\TMP/cccaaaaa GNU Pascal version 980410(2.80) (djgpp) compiled by GNU C version 2.8.0. Exiting due to signal SIGSEGV General Protection Fault at eip 0f41fd eax 330928 ebx 000000 ecx 000001 edx 0002ff esi 000005 edi 0003f1 ebp 191830 esp 19180c program=f:/djgpp/lib/gcc-lib/djgpp/2.80/gpc1.exe cs: sel27 base0d0000 limit 24ffff ds: sel2f base0d0000 limit 24ffff es: sel2f base0d0000 limit 24ffff fs: sel0f base 049820 limit 00ffff gs: sel3f base 000000 limitÿffffff ss: sel2f base0d0000 limit 24ffff
Call frame traceback EIPs: 0x000f41fd 0x000f4ab3 0x0011fb61 0x0011fbcc 0x0011fbd7 0x0011fbd7 0x0011fbd7 0x0011fbd7 0x0011fbd7 0x0011fbd7 0x0011fbd7
On Sat, 11 Apr 1998, Peter Gerwinski wrote:
Hello, everybody!
A new alpha version, gpc-980410, is being uploaded to Agnes:
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/
Hi Folks,
the alpha is not stable under IRIX 6.2. I managed to build a version that was able to compile the tests but on the very next day that binary did not work any more. Obviously I applied a trick unintentionally that I can not reinvent any more. There should be serious problems with the makefile around the rts and libgpc. Is anyone out there Micky-Mousing with gpc under IRIX too?
Cheers,
miklos