Waldek Hebisch wrote:
This looks like the problem reported by Matthias Klose on powerpc-linux. The following patch should fix the problem.
Thanks, this solves the problem, gpc-20040516 now builds on Mac OS X.
[G4:~/gnu/testgpc/test-20040516] adriaan% make rm -f *.dat *.o *.s *.i *.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/*.i todo/*.gpi todo/*.gpd todo/core PC="gpc" PFLAGS=" --autobuild -g -O3 -W -Wall -Wno-unused " PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "*.pas" | tee test_log | "./test_sum" -d Test Run By adriaan on 2004-05-28 16:08:43 Native configuration is powerpc-apple-darwin (G4.local.)
=== gpc tests ===
Running target any Running testsuite ...
UNSUPPORTED: agettext2test.pas UNSUPPORTED: asmtest.pas UNSUPPORTED: bill5.pas UNSUPPORTED: fjf165a.pas UNSUPPORTED: fjf77.pas FAIL: fproc.pas UNSUPPORTED: gettexttest.pas UNSUPPORTED: gmptest.pas UNSUPPORTED: jj5.pas UNSUPPORTED: longr2.pas FAIL: nlgpp2.pas FAIL: nonloc2goto.pas FAIL: nonloc4goto.pas UNSUPPORTED: regextest.pas FAIL: systemtest.pas
=== gpc Summary ===
# of tests 3910 # of expected passes 3895 # of unexpected failures 5 # of unsupported tests 10
gpc version 20040516, based on gcc-3.3.2
The failures in fproc.pas and nlgpp2.pas disappear when passing EXTRA_PFLAGS=--longjmp-all-nonlocal-labels (as discussed before). The failures in nonloc2goto.pas and nonloc4goto.pas go away when increasing the stacksize limit. We might reduce the recursion depth somewhat in these tests, in order to run them in the default Mac OS X stacksize limit of 512 KB.
Regards,
Adriaan van Os