Built gp-0.57 on powerpc-apple-darwin. Tried to run the testsuite with PC=gp.
[G5:gcc/p/test] adriaan% make EXTRA_PFLAGS=--longjmp-all-nonlocal-labels PC=gp 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="gp" PFLAGS=" --autobuild -g -O3 -W -Wall -Wno-unused --longjmp-all-nonlocal-labels " PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused --longjmp-all-nonlocal-labels " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "*.pas" | tee test_log | "./test_sum" -d ./test_run: fatal: `--print-needed-options' yields: gp: internal problem: unexpected additional output of `gp -dumpmachine' Nothing was run.
gp -dumpmachine on the command line displays gp help lines.
I don't know if running the testsuite with gp is something that can already be done. Just reporting the results.
Regards,
Adriaan van Os
Adriaan van Os wrote:
Built gp-0.57 on powerpc-apple-darwin. Tried to run the testsuite with PC=gp.
[G5:gcc/p/test] adriaan% make EXTRA_PFLAGS=--longjmp-all-nonlocal-labels PC=gp 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="gp" PFLAGS=" --autobuild -g -O3 -W -Wall -Wno-unused --longjmp-all-nonlocal-labels " PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused --longjmp-all-nonlocal-labels " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "*.pas" | tee test_log | "./test_sum" -d ./test_run: fatal: `--print-needed-options' yields: gp: internal problem: unexpected additional output of `gp -dumpmachine' Nothing was run.
gp -dumpmachine on the command line displays gp help lines.
I don't know if running the testsuite with gp is something that can already be done.
Not yet -- at least not by setting PC=gp since gp uses $PC itself, and would therefore call itself instead of GPC.
A quick change like below might work if `gp' is found in your PATH. In the next release, passing `GP=gp' (or your command name for gp) will work.
However, expect some failures. I'm fixing the easier ones now, but some will remain in the next release (so no need to post those results now). In particular, there are some tests that test specific automake and low-level behaviour which will not work with gp. I'll have to consider how to deal with those tests, probably either skip them if gp is used, or disable gp for them. (But there are also some actual gp bugs in very obscure cases.)
--- p/test/test_run.orig Wed Feb 2 19:29:36 2005 +++ p/test/test_run Wed Feb 2 19:29:37 2005 @@ -200,7 +200,7 @@ xi="$x1.in" xo="$x1.out" xc="`sed -ne '/COMPILE-CMD:/{s/.*COMPILE-CMD: *//;s/ **).*//;s/ *}.*//;p;}' "$1"`" - PC_WITH_FLAGS="$PC $PFLAGS \ + PC_WITH_FLAGS="gp --no-check-platform PC=$PC $PFLAGS \ --unit-path=$SRCDIR --unit-path=$SRCDIR/../rts \ --unit-path=$SRCDIR/../units --unit-path=$DEFAULT_UNIT_DIR \ -I $DEFAULT_UNIT_DIR -I $SRCDIR -I $SRCDIR/../units --executable-path=. \
Frank
I wrote:
A quick change like below might work if `gp' is found in your PATH. In the next release, passing `GP=gp' (or your command name for gp) will work.
However, expect some failures. I'm fixing the easier ones now, but some will remain in the next release (so no need to post those results now). In particular, there are some tests that test specific automake and low-level behaviour which will not work with gp. I'll have to consider how to deal with those tests, probably either skip them if gp is used, or disable gp for them. (But there are also some actual gp bugs in very obscure cases.)
A new GP release which fixes some of the failures is now at http://fjf.gnu.de/misc/gp.tar.bz2
Frank
Frank Heckenbach wrote:
A new GP release which fixes some of the failures is now at http://fjf.gnu.de/misc/gp.tar.bz2
Thanks, I tried and most tests pass now.
Regards,
Adriaan van Os