Hello people,
has anybody ever _successfully_ built gcc+gpc with BSD make? The hard I try, I only get a circular dependency which I don't find in the generated Makefile or the input graph (maybe I'm just too stupid tho).
All other front-ends I have (c,c++,objc,fortran,ada) build with BSD make just fine (after minor, or - for ada - heavy, adjustments tho).
If anybody would like to resolve that, I can send the Makefile or input graph before or after processing. Please tell me.
cu, Thanks in Advance, //Thorsten
Thorsten Glaser wrote:
has anybody ever _successfully_ built gcc+gpc with BSD make?
I haven't tried it. According to the GCC docs, GNU make is required. Is this any problem? You can easily install GNU make, say as gmake, on a BSD system as well.
The hard I try, I only get a circular dependency which I don't find in the generated Makefile or the input graph (maybe I'm just too stupid tho).
It's related to the Pascal RTS. It's rather indirect AFAIK. See p/rts/Makefile: in gcc/p/Make-lang.in, and the comments there.
If you really want to take the pains to go through all those recursive makefiles and variables and find a clean solution, that will be appreciated. OTOH, this part will change complete when GPC is integrated into GCC, so it's not really so important. (GNU make finds this circularity too, but it only warns about it.)
Frank
[ Repost, because this mailing list checks my Header-From: ]
Dixitur illum ih8mj@fjf.gnu.de scribere...
I haven't tried it. According to the GCC docs, GNU make is required. Is this any problem? You can easily install GNU make, say as gmake, on a BSD system as well.
Not in the base system, and I'd like to have gpc in base.
It's related to the Pascal RTS. It's rather indirect AFAIK. See p/rts/Makefile: in gcc/p/Make-lang.in, and the comments there.
Thanks, I'll look at it.
//Thorsten
____________________________________________________________ later
Dixitur illum ih8mj@fjf.gnu.de scribere...
OTOH, this part will change complete when GPC is integrated into GCC
... which is, what I'm doing, so...
See p/rts/Makefile: in gcc/p/Make-lang.in, and the comments there.
would - reading the part about the autoconf and stuff - it be possible to remove the rts from Make-lang altogether, and build it _after_ the full compiler has been built and installed, together with libstdc++-v3, libobjc and the Fortran stuff?
TIA, //Thorsten
Thorsten Glaser wrote:
See p/rts/Makefile: in gcc/p/Make-lang.in, and the comments there.
would - reading the part about the autoconf and stuff - it be possible to remove the rts from Make-lang altogether, and build it _after_ the full compiler has been built and installed, together with libstdc++-v3, libobjc and the Fortran stuff?
It's certainly possible if you're willing to hack the build process a little. (Fortunately there are no major changes planned to GPC's Makefiles currently, until/unless required by GCC. Unfortunately gcc-3.4 seems to require some. Perhaps these changes will allow for a cleaner solution in general, but I haven't looked at it yet ...)
You could just take out the p/rts/Makefile and pascal.rts rules (or change their dependencies or whatever). Also notice that pascal.utils must be built after the RTS (these are Pascal programs which require the RTS, of course).
Frank
Dixitur me scribere...
Dixitur illum ih8mj@fjf.gnu.de scribere...
OTOH, this part will change complete when GPC is integrated into GCC
... which is, what I'm doing, so...
See p/rts/Makefile: in gcc/p/Make-lang.in, and the comments there.
This turned out to be an easy success - GNU Pascal is now fully supported part of the MirOS-current base system, and a snapshot has been uploaded (for speakers of German, look at http://symlink.lu/ for the story; everyone else may look at https://mirbsd.bsdadvocacy.org:8890/?news instead).
I've tested my hello world and the regex demo (luckily I had seen you need --automake in an earlier posting to this list), so I think you can add MirOS BSD to the list of supported platforms. (This might be the first pascal compiler with the propolice stack protector.)
Bye, //Thorsten
Thorsten Glaser wrote:
I've tested my hello world and the regex demo (luckily I had seen you need --automake in an earlier posting to this list), so I think you can add MirOS BSD to the list of supported platforms. (This might be the first pascal compiler with the propolice stack protector.)
BTW, since stack protectors in general might conflict with trampolines (though this one doesn't seem to, according to the description I read), did you run the complete GPC test suite (`make pascal.check' in the gcc/ build directory)? It includes some trampoline tests, so if they pass, it's alright.
Frank
Dixitur illum ih8mj@fjf.gnu.de scribere...
description I read), did you run the complete GPC test suite (`make pascal.check' in the gcc/ build directory)? It includes some trampoline tests, so if they pass, it's alright.
I didn't yet, but I just downloaded and run the testsuite with our default CFLAGS, this is the result.
Seems like there is some preprocessor work to do, but look at that locate output below. I have no idea why the file isn't found.
tg@odem:/home/tg/gpc-20030830/p/test $ gmake all
Running the GPC Test Suite. This may take a while ...
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 { 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 20030830, based on gcc-3.2.3 (propolice; MirOS 07A5) (i386-ecce-mirbsd7) (odem.66h.42h.de), 2004-03-14 01:45:44 echo "gpc -O2 -march=pentium -mcpu=athlon-xp -mpreferred-stack-boundary=2 -Os -fno-align-functions -fno-strict-aliasing -fgcse -fschedule-insns2 -fthread-jumps " gpc -O2 -march=pentium -mcpu=athlon-xp -mpreferred-stack-boundary=2 -Os -fno-align-functions -fno-strict-aliasing -fgcse -fschedule-insns2 -fthread-jumps PC="gpc" PFLAGS="--autobuild -O2 -march=pentium -mcpu=athlon-xp -mpreferred-stack-boundary=2 -Os -fno-align-functions -fno-strict-aliasing -fgcse -fschedule-insns2 -fthread-jumps " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "*.pas" | tee test_log | "./test_sum" | tee test_summary TEST agettext2test.pas: SKIPPED: libintl not installed TEST bill5.pas: SKIPPED: `attribute( section(".ltext") )' not available TEST chief9.pas: OK
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#42:co#113:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\ :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\ :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\ :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\ :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :vb=\Eg:G0:as=\E(0:ae=\E(B:\ :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\ :po=\E[5i:pf=\E[4i:k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:\ :k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\ :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\EO2P:\ :F4=\EO2Q:F5=\EO2R:F6=\EO2S:F7=\E[15;2~:F8=\E[17;2~:\ :F9=\E[18;2~:FA=\E[19;2~:kb=:K2=\EOE:kB=\E[Z:\ :*4=\E[3;5~:*7=\EO5F:#2=\EO5H:#3=\E[2;5~:#4=\EO5D:\ :%c=\E[6;5~:%e=\E[5;5~:%i=\EO5C:kh=\E[1~:@1=\E[1~:\ :kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:km: TEST complex1.pas: failed TEST complex2.pas: failed TEST complex3.pas: failed TEST emil3.pas: failed -1.400184888358789e+76 -1.400554823365400e+76 TEST emil8.pas: failed 1 -1.439094173563455e+76 -1.439464110281391e+76 4.940656458412466e-324 5.311465294646354e-315 failed 2 -1.439107977056149e+76 5.630517006993044e-149 9.881312916824932e-324 5.323445556527719e-315 failed 3 8.275783587926579e-313 -1.439157669629852e+76 4.940656458412466e-324 1.592144424947272e-314 failed 4 -1.439108537147122e+76 7.827573487744964e+292 9.881312916824932e-324 5.323445556527719e-315 failed 5 4.239410971875190e-303 1.722043636889742e-314 -2.353439332125712e-185 5.287375251574565e-315 failed 6 2.121997814658158e-314 NaN 1.999160041475451e+37 5.275356136370814e-315 failed 7 1.482196937523743e-323 1.092672501958047e-19 -2.353439332125712e-185 1.589735420640091e-314 failed 8 -1.439158005948604e+76 4.572493549802023e-234 1.999160041475451e+37 5.275356136370814e-315 failed 9 4.940656458412466e-324 6.115735958683127e-80 4.940656458412466e-324 0.000000000000000e+00 failed 10 -1.438998109205546e+76 1.722043304877630e-314 9.881312916824932e-324 1.593342451135408e-314 failed 11 8.096077490441772e-174 1.276029998924283e-313 4.940656458412466e-324 0.000000000000000e+00 failed 12 3.357055946967128e-292 4.562912286797374e-234 9.881312916824932e-324 1.593342451135408e-314 failed 13 1.515105016364579e-311 4.207636929706924e-303 2.121995790471208e-314 -2.353437929367727e-185 failed 14 2.121999838351041e-314 3.626042894737265e-217 1.999160041475451e+37 1.588533509119716e-314 failed 15 1.482196937523743e-323 5.911301863371737e-149 2.121995790471208e-314 -2.353437929367727e-185 failed 16 -1.439158005948820e+76 4.572493549801957e-234 1.999160041475451e+37 1.588533509119716e-314 failed 17 4.940656458412466e-324 6.115735958683127e-80 4.940656458412466e-324 5.310170131199715e-315 failed 18 -1.438909766852286e+76 1.722043241637223e-314 9.881312916824932e-324 5.314055621539616e-315 failed 19 4.243500900425710e-303 1.281859811343457e-313 4.940656458412466e-324 5.310170131199715e-315 failed 20 2.508892391047613e-258 4.562912286797295e-234 9.881312916824932e-324 5.314055621539616e-315 failed 21 1.358077366769967e-311 4.207636929706924e-303 1.999160041475451e+37 -8.679223792919917e+209 failed 22 1.136882035949689e-309 6.179049748646661e-222 -1.448707957473023e-242 7.322364257753879e-76 failed 23 6.208919491909549e-150 2.121995790471208e-314 1.999160041475451e+37 -8.679223792919917e+209 failed 24 0.000000000000000e+00 1.738366267765318e-310 -1.448707957473023e-242 7.322364257753879e-76 failed 25 -1.438862274886203e+76 6.494372942598668e-314 4.940656458412466e-324 1.592014908602608e-314 failed 26 7.834364537300415e+292 7.834365229295577e+292 9.881312916824932e-324 5.314055621539616e-315 failed 27 -1.438810381704859e+76 2.121995790965272e-314 4.940656458412466e-324 1.592014908602608e-314 failed 28 6.415096925484836e-243 -1.438851232092049e+76 9.881312916824932e-324 5.314055621539616e-315 failed 29 -1.438820901203197e+76 7.835948366977604e+292 1.999160041475451e+37 -8.679226928205236e+209 failed 30 4.547647025248486e-234 7.835948366970420e+292 -1.448707957473023e-242 7.322364257753879e-76 failed 31 4.547647025248486e-234 2.771341827673713e-310 1.999160041475451e+37 -8.679226928205236e+209 failed 32 2.121995790471208e-314 3.563271042522475e-310 -1.448707957473023e-242 7.322364257753879e-76 TEST emil9.pas: failed 1 -1.412365650396384e+76 6.460032898026911e-314 0.000000000000000e+00 0.000000000000000e+00 failed 2 -1.412365650396384e+76 6.460032898026911e-314 8.619197882278212e+97 5.297585266365573e-315 failed 3 -1.412365650396384e+76 6.460032898026911e-314 8.619197882278212e+97 1.590756422119192e-314 failed 4 1.133145758463332e-311 2.264724585261980e-233 -1.261424858167211e-256 -4.878727892620745e+269 failed 5 1.133145758463332e-311 2.264724585261980e-233 -1.261425175740365e-256 -4.878729152173060e+269 failed 6 1.133145758463332e-311 2.264724585261980e-233 -1.261425175740365e-256 -4.878727892620745e+269 failed 7 1.133145758463332e-311 2.264724585261980e-233 -1.261424858167211e-256 -4.878729152173060e+269 failed 8 5.530930135604995e-295 2.225073999999999e-302 7.372234770141370e-152 1.083137348610148e-316 failed 9 5.530930135604995e-295 2.225073999999999e-302 7.372234770141370e-152 1.071829268968737e-314 failed 10 5.530930135604995e-295 2.225073999999999e-302 1.083137348610148e-316 7.372234770141370e-152 failed 11 5.530930135604995e-295 2.225073999999999e-302 1.071829268968737e-314 7.372234770141370e-152 failed 12 6.969515289252108e-141 5.531523691266167e-295 8.619199510315558e+97 3.991564208373495e+18 failed 13 6.969515289252108e-141 5.531523691266167e-295 8.619202769573121e+97 3.991564208373495e+18 failed 14 6.969515289252108e-141 5.531523691266167e-295 8.619199510315558e+97 3.991565307885123e+18 failed 15 6.969515289252108e-141 5.531523691266167e-295 8.619202769573121e+97 3.991565307885123e+18 failed 16 6.969515289252108e-141 5.531523691266167e-295 8.619197915550885e+97 7.372235679312642e-152 failed 17 6.969515289252108e-141 5.531523691266167e-295 8.619197915550885e+97 7.372237500196609e-152 failed 18 6.969515289252108e-141 5.531523691266167e-295 8.619201174808447e+97 7.372235679312642e-152 failed 19 6.969515289252108e-141 5.531523691266167e-295 8.619201174808447e+97 7.372237500196609e-152 failed 20 5.530929913594722e-295 4.450147999999999e-302 7.372234788730164e-152 7.372234788730164e-152 failed 21 5.530929913594722e-295 4.450147999999999e-302 7.372236609614131e-152 7.372236609614131e-152 failed 22 5.530929913594722e-295 4.450147999999999e-302 7.372236609614131e-152 7.372234788730164e-152 failed 23 5.530929913594722e-295 4.450147999999999e-302 7.372234788730164e-152 7.372236609614131e-152 failed 24 5.530929913594722e-295 1.000000000000000e+17 8.619197882278212e+97 5.302765920152105e-315 failed 25 5.530929913594722e-295 1.000000000000000e+17 8.619197882278212e+97 1.591274487497848e-314 failed 26 5.530929913594722e-295 1.000000000000000e+17 8.619199600053006e+97 3.617626494598958e+30 failed 27 5.530929913594722e-295 1.000000000000000e+17 8.619202859310568e+97 3.617626494598958e+30 failed 28 5.530929913594722e-295 1.000000000000000e+17 8.619199510315558e+97 -3.093241674166428e-217 failed 29 5.530929913594722e-295 1.000000000000000e+17 8.619202769573121e+97 -3.093241674166428e-217 failed 30 5.530929913594722e-295 1.000000000000000e+17 8.619199510315558e+97 -3.093242538682783e-217 failed 31 5.530929913594722e-295 1.000000000000000e+17 8.619202769573121e+97 -3.093242538682783e-217 failed 32 5.530929913594722e-295 1.000000000000000e+17 8.619199600053006e+97 3.617626494598958e+30 failed 33 5.530929913594722e-295 1.000000000000000e+17 8.619199600053006e+97 3.617627703524777e+30 failed 34 5.530929913594722e-295 1.000000000000000e+17 8.619202859310568e+97 3.617626494598958e+30 failed 35 5.530929913594722e-295 1.000000000000000e+17 8.619202859310568e+97 3.617627703524777e+30 failed 36 5.530929913594722e-295 1.000000000000000e+17 8.619199600053006e+97 3.617626494598958e+30 failed 37 5.530929913594722e-295 1.000000000000000e+17 8.619199600053006e+97 3.617627703524777e+30 failed 38 5.530929913594722e-295 1.000000000000000e+17 8.619202859310568e+97 3.617626494598958e+30 failed 39 5.530929913594722e-295 1.000000000000000e+17 8.619202859310568e+97 3.617627703524777e+30 failed 40 5.530929913594722e-295 1.000000000000000e+17 8.619199600053006e+97 3.617626494598958e+30 failed 41 5.530929913594722e-295 1.000000000000000e+17 8.619202859310568e+97 3.617626494598958e+30 failed 42 5.530929913594722e-295 1.000000000000000e+17 8.619199600053006e+97 3.617627703524777e+30 failed 43 5.530929913594722e-295 1.000000000000000e+17 8.619202859310568e+97 3.617627703524777e+30 failed 44 5.530929913594722e-295 1.000000000000000e+17 8.619197915550885e+97 5.302765920152105e-315 failed 45 5.530929913594722e-295 1.000000000000000e+17 8.619197915550885e+97 1.591274487497848e-314 failed 46 5.530929913594722e-295 1.000000000000000e+17 8.619201174808447e+97 5.302765920152105e-315 failed 47 5.530929913594722e-295 1.000000000000000e+17 8.619201174808447e+97 1.591274487497848e-314 failed 48 5.530929913594722e-295 2.000002000002020e-03 -4.576591395292968e+04 1.277325291189394e-247 failed 49 5.530929913594722e-295 2.000002000002020e-03 8.619197882278212e+97 5.302765920152105e-315 failed 50 5.530929913594722e-295 2.000002000002020e-03 8.619197882278212e+97 1.591274487497848e-314 failed 51 5.530929913594722e-295 2.000002000002020e-03 8.619201136761469e+97 1.887161984950670e-226 failed 52 5.530929913594722e-295 2.000002000002020e-03 8.619204396019031e+97 1.887161984950670e-226 failed 53 -1.412558339209321e+76 -1.412494843142924e+76 8.619199510315558e+97 2.087058518575975e-284 failed 54 -1.412558339209321e+76 -1.412494843142924e+76 8.619202769573121e+97 2.087058518575975e-284 failed 55 -1.412558339209321e+76 -1.412494843142924e+76 8.619199510315558e+97 2.087059159909849e-284 failed 56 -1.412558339209321e+76 -1.412494843142924e+76 8.619202769573121e+97 2.087059159909849e-284 failed 57 -1.412558339209321e+76 -1.412494843142924e+76 8.619201136761469e+97 1.887161984950670e-226 failed 58 -1.412558339209321e+76 -1.412494843142924e+76 8.619201136761469e+97 1.887162790094265e-226 failed 59 -1.412558339209321e+76 -1.412494843142924e+76 8.619204396019031e+97 1.887161984950670e-226 failed 60 -1.412558339209321e+76 -1.412494843142924e+76 8.619204396019031e+97 1.887162790094265e-226 failed 61 -1.412558339209321e+76 -1.412494843142924e+76 8.619201135170035e+97 1.887161984950670e-226 failed 62 -1.412558339209321e+76 -1.412494843142924e+76 8.619201135170035e+97 1.887162790094265e-226 failed 63 -1.412558339209321e+76 -1.412494843142924e+76 8.619204394427597e+97 1.887161984950670e-226 failed 64 -1.412558339209321e+76 -1.412494843142924e+76 8.619204394427597e+97 1.887162790094265e-226 failed 65 -1.412558339209321e+76 -1.412494843142924e+76 8.619201136761469e+97 1.887161984950670e-226 failed 66 -1.412558339209321e+76 -1.412494843142924e+76 8.619204396019031e+97 1.887161984950670e-226 failed 67 -1.412558339209321e+76 -1.412494843142924e+76 8.619201136761469e+97 1.887162790094265e-226 failed 68 -1.412558339209321e+76 -1.412494843142924e+76 8.619204396019031e+97 1.887162790094265e-226 failed 69 -1.412558339209321e+76 -1.412494843142924e+76 8.619197915550885e+97 5.302765920152105e-315 failed 70 -1.412558339209321e+76 -1.412494843142924e+76 8.619197915550885e+97 1.591274487497848e-314 failed 71 -1.412558339209321e+76 -1.412494843142924e+76 8.619201174808447e+97 5.302765920152105e-315 failed 72 -1.412558339209321e+76 -1.412494843142924e+76 8.619201174808447e+97 1.591274487497848e-314 TEST fjf165a.pas: SKIPPED: German locale not installed TEST fjf303.pas: Failed TEST fjf541b.pas: failed 1: -14322476411874392095880060083926037146260370063336589884308947766326433895786.8778+-14326175984774730670181017314163247609852369743549146134377841572757176596973.4353i (0.0000+0.0000i) TEST gettexttest.pas: SKIPPED: libintl not installed TEST gmptest.pas: SKIPPED: libgmp not installed TEST gpc_c_p.pas: gpc_c_c.c:31:22: gpc-in-c.h: No such file or directory 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:31:22: gpc-in-c.h: No such file or directory gpc1: gpc exited with status 1 gpc: gpcu_c_c.o: No such file or directory failed TEST jj5.pas: SKIPPED: `attribute (stdcall)' not available TEST longr2.pas: SKIPPED: no LongReal math routines available TEST maur8.pas: failed 2 7.934608595483017e-122 5.714708368829893e-157 failed 3 -1.425337612745032e+76 -1.571846711132416e-217
# of GPC tests 3794 # of GPC tests passed 3774 # of GPC tests skipped 7 # of GPC tests failed 13 tg@odem:/home/tg/gpc-20030830/p/test $ locate gpc-in-c.h /usr/lib/gcc-lib/i386-ecce-mirbsd7/3.2.3/include/gpc-in-c.h /usr/src/gnu/gcc/gcc/p/units/gpc-in-c.h /var/anoncvs/anoncvs/cvs/src/gnu/gcc/gcc/p/units/gpc-in-c.h,v tg@odem:/home/tg/gpc-20030830/p/test $ _
//Thorsten
Thorsten Glaser wrote:
I didn't yet, but I just downloaded and run the testsuite with our default CFLAGS, this is the result.
BTW, it's also included in the source distribution.
There seems to be a problem with complex numbers (complex1.pas, complex2.pas, complex3.pas, emil3.pas, emil8.pas, emil9.pas, fjf303.pas, fjf541b.pas, maur8.pas).
Seems like there is some preprocessor work to do, but look at that locate output below. I have no idea why the file isn't found.
tg@odem:/home/tg/gpc-20030830/p/test $ locate gpc-in-c.h /usr/lib/gcc-lib/i386-ecce-mirbsd7/3.2.3/include/gpc-in-c.h
Does `gpc --print-file-name=include/gpc-in-c.h' find it?
You might want to look at (or send) the output of `gpc --automake gpc_c_p.pas -v' to find out more.
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#42:co#113:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\ :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\ :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\ :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\ :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :vb=\Eg:G0:as=\E(0:ae=\E(B:\ :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\ :po=\E[5i:pf=\E[4i:k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:\ :k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\ :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\EO2P:\ :F4=\EO2Q:F5=\EO2R:F6=\EO2S:F7=\E[15;2~:F8=\E[17;2~:\ :F9=\E[18;2~:FA=\E[19;2~:kb=:K2=\EOE:kB=\E[Z:\ :*4=\E[3;5~:*7=\EO5F:#2=\EO5H:#3=\E[2;5~:#4=\EO5D:\ :%c=\E[6;5~:%e=\E[5;5~:%i=\EO5C:kh=\E[1~:@1=\E[1~:\ :kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:km:
Can you try to find out where this output comes from (maybe try `gmake pascal.check-long' and see where it appears -- but don't send the whole long output to the list, please).
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
There's a small discrepancy in the time conversion (localtime() on the libc level). The given time corresponds to 02:19:48, but localtime returns 02:19:26. Maybe leap seconds? Are they supposed to be handled there (they're not on the system I've tested it on so far), hmm ...
Frank