Waldek Hebisch a écrit:
Maurice Lombardi wrote:
That was part of the solution. With this patch it goes up to the compilation of strings.pas. It dies with
I was able to reproduce the problem in cross-compiler targetting djgpp. Looks like another bug with debug info. Try re-making with 'CFLAGS=-O2'.
Rather BOOT_CFLAGS=-O2 And I had to remove manually -g in p/rts/makefile.in for the compilation of rtsc.o and rtsc.lo But it dies anyway while compiling the first pascal program of the rts as
---------------------------------------------------------------------------
../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -O2 --unit-path=/dev/c/djgpp/gnu/gcc311s2/gnu/gcc-3.11/gcc/p/rts --automake `cat needed-options` -DRTS_RELEASE_STRING="'`cat /dev/c/djgpp/gnu/gcc311s2/gnu/gcc-3.11/gcc/p/rts/rts-version`'" -DGCC_VERSION="'3.11'" /dev/c/djgpp/gnu/gcc311s2/gnu/gcc-3.11/gcc/p/rts/rtsc.pas /dev/c/djgpp/gnu/gcc311s2/gnu/gcc-3.11/gcc/p/rts/rtsc.pas:421: internal error: Segmentation violation Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions. make.exe[3]: *** [rtsc.o] Error 1 make.exe[3]: Leaving directory `c:/djgpp/gnu/gcc311s2/gnu/gcc-3.11/build.djg/gcc/p/rts' make.exe[2]: *** [pascal.rts] Error 2 make.exe[2]: Leaving directory `c:/djgpp/gnu/gcc311s2/gnu/gcc-3.11/build.djg/gcc' make.exe[1]: *** [stage2_build] Error 2 make.exe[1]: Leaving directory `c:/djgpp/gnu/gcc311s2/gnu/gcc-3.11/build.djg/gcc' make.exe: *** [bootstrap] Error 2
---------------------------------------------------------------------------
(needed options is void)
Maurice