Hi,
this time it looks a bit better (though -ftrampolines is now required for generating them, and you broke GNAT with the version_string changes). I've kept closer to original sources while integrating, because this time, I can use GNU Make for building the stuff.
Test Run By tg on 2005-03-29 00:07:02 Native configuration is i386-ecce-mirbsd8 (odem.66h.42h.de)
=== gpc tests ===
Running target any Running testsuite ...
UNSUPPORTED: agettext2test.pas UNSUPPORTED: agettexttest.pas UNSUPPORTED: aregextest.pas UNSUPPORTED: crttest.pas FAIL: filehand.pas UNSUPPORTED: fjf165a.pas FAIL: fjf684.pas FAIL: fjf751k.pas FAIL: fjf751l.pas FAIL: fjf800.pas FAIL: formattimetest.pas UNSUPPORTED: gmptest.pas FAIL: gpc_c_p.pas FAIL: gpctest.pas FAIL: gpcu_c_u.pas UNSUPPORTED: longr2.pas FAIL: random.pas
=== gpc Summary ===
# of tests 4537 # of expected passes 4520 # of unexpected failures 10 # of unsupported tests 7
gpc version 20050217, based on gcc-3.4.4 (propolice; MirOS 0825)
TEST filehand.pas: ./filehand.pas: In main program: ./filehand.pas:11: error: statement used as an expression failed
TEST fjf684.pas: ./fjf684.pas: In main program: ./fjf684.pas:12: error: invalid operands to =' failed
TEST fjf751k.pas: ./fjf751k.pas: In main program: ./fjf751k.pas:8: error: argument to riteLn' is of wrong type failed
TEST fjf751l.pas: ./fjf751l.pas: In main program: ./fjf751l.pas:8: error: argument to riteLn' is of wrong type failed
TEST fjf800.pas: ./fjf800.pas:65: error: redeclaration of jf800' ./fjf800.pas:1: error: previous declaration ./fjf800.pas:65: error: redeclaration of jf800' ./fjf800.pas:1: error: previous declaration failed
TEST formattimetest.pas: failed: could not compile strftime() test program
TEST gpc_c_p.pas: gpc_c_c.c:2:22: gpc-in-c.h: No such file or directory gpc_c_c.c: In function ain': gpc_c_c.c:27: warning: implicit declaration of function p_initialize' gpc_c_c.c:31: warning: implicit declaration of function nit_pascal_main_program' gpc_c_c.c:53: warning: implicit declaration of function p_finalize' gpc1: gpc exited with status 1 failed
TEST gpctest.pas: 86400 0 943841988 True True 1999 1999 11 11 29 29 1 1 2 2 19 19 26 48 0 0 Error in UnixTimeToTimeStamp
TEST gpcu_c_u.pas: gpcu_c_c.c:2:22: gpc-in-c.h: No such file or directory gpcu_c_c.c: In function ain': gpcu_c_c.c:26: warning: implicit declaration of function p_initialize' gpcu_c_c.c:45: warning: implicit declaration of function p_finalize' gpc1: gpc exited with status 1 gpc: gpcu_c_c.o: No such file or directory failed
TEST random.pas: ./random.pas: In main program: ./random.pas:22: error: invalid operands to *' ./random.pas:22: error: invalid operands to *' failed
------------------------------------------------------------
Some reasoning:
strftime.cmp | if gcc dummy.c > /dev/null 2>&1 && [ -r "$A_OUT" ]; then
What if gcc is not /usr/bin/gcc? Use $(CC) instead.
After fixing that and rts-config.inc (which didn't get that I have got strftime() due to a mismatching prototype and -Werror):
TEST formattimetest.pas: OK
I'll fix that (the second issue) in the build process, then.
After moving gpc-in-c.h to /usr/include, I get:
TEST gpc_c_p.pas: OK TEST gpcu_c_u.pas: OK
As for the gpctest.pas failure, I suspect that, somewhere, the system doesn't realise that time_t == int64_t even on 32 bit machines on MirOS/i386 (not for MirOS/sparc).
That leaves me with 6 failures, which is kind of good, I guess.
bye, //mirabile
Thorsten Glaser wrote:
Hi,
this time it looks a bit better (though -ftrampolines is now required for generating them, and you broke GNAT with the version_string changes). I've kept closer to original sources while integrating, because this time, I can use GNU Make for building the stuff.
=== gpc Summary ===
# of tests 4537 # of expected passes 4520 # of unexpected failures 10 # of unsupported tests 7
gpc version 20050217, based on gcc-3.4.4 (propolice; MirOS 0825)
That leaves me with 6 failures, which is kind of good, I guess.
bye, //mirabile
Congratulations.