Adriaan van Os wrote:
The new alpha gpc-20030209 bootstraps on Mac OS X (with previously discussed patches to gcc-3.2.1).
Fine. :-)
The gpc-20030209 test suite, however, produces strange results:
Running the GPC Test Suite. This may take a while ...
rm -f *.dat *.o *.s *.gpm *.gpi *.gpd *.gpc core a.out stderr.out *.exe testmake.tmp dummy.c dummy.pas dummy.out diff_cr*.tmp fixcr fixcr.exe rm -f todo/a.out todo/*.exe todo/*.o todo/*.s todo/*.gpm todo/*.gpi todo/*.gpd todo/core { gpc --version | head -1; gpc --print-search-dirs | grep install | head -1; hostname || echo "unknown host"; date "+%Y-%m-%d %H:%M:%S"; } | \ sed -e 's,^,Testing ,;N;s,\n.*gcc-lib[/], (,;s,[/].*,),;N;s,\n, (,;s,$,),;N;s/\n/, /' Testing gpc 20030209, based on gcc-3.2.1 (powerpc-apple-darwin6.3) (G4.local.), 2003-02-10 03:29:38 echo "gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused " gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused PC="gpc" PFLAGS="--autobuild -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" *.pas | tee test_log | "./test_sum" | tee test_summary ./adam2u.pas: No such program ./adam2v.pas: No such program TEST agettext2test.pas: SKIPPED: libintl not installed TEST asmtest.pas: SKIPPED: only for IA32 TEST asmtest2.pas: SKIPPED: only for IA32 TEST asmtest3.pas: SKIPPED: only for IA32 ./babyuni2.pas: No such program ./babyunit.pas: No such program ./berend1m.pas: No such program ..... (etcetera)
Which command exactly did you run, and from which directory?
If from the build directory, what does <build>/gcc/p/test/Makefile contain? I suppose, `srcdir' is not set correctly there (i.e., to `.' instead of the source directory). If so, there might be a problem with the sed substitution (gcc/p/Make-lang.in:1022) that creates this Makefile -- either with the regex or the sed invocation or pwd or something else ... I don't see a problem now, but if you play around with it, you might be able to find it out. (You'll have to remove <build>/gcc/p/test/Makefile so it's rebuilt when you change something in Make-lang.in.)
The gpc-20021128 test suite produces other strange results:
TEST adam2.pas: gpc1: warnings being treated as errors adam2v.pas:12: warning: varying case of `aLimit' adam2v.pas:7: warning: other case: `ALimit' adam2v.pas: In constructor `MList.Init': adam2v.pas:14: warning: varying case of `ALimit' adam2v.pas:12: warning: other case: `aLimit' ..... (etcetera)
That's not strange. That's the new warning I've suggested here recently (and implemented now). :-)
Frank