Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-15 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 12 Sep 2008, at 22:28, Mark Morgan Lloyd wrote: I've run the test suite for the compiler with and without optimisation, so far I don't see any revealing differences in the output but I might be overlooking something significant due to inexperience. You can compare the

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-14 Thread Jonas Maebe
On 12 Sep 2008, at 22:28, Mark Morgan Lloyd wrote: I've run the test suite for the compiler with and without optimisation, so far I don't see any revealing differences in the output but I might be overlooking something significant due to inexperience. You can compare the generated output

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-12 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 11 Sep 2008, at 15:02, Mark Morgan Lloyd wrote: I've had no success trying to drive fpc interactively across ttys to get to the point of failure. Indeed, the tty redirection doesn't work very will in combination with raw terminal modes. After experimentation I was ab

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-11 Thread Jonas Maebe
On 11 Sep 2008, at 15:02, Mark Morgan Lloyd wrote: Mark Morgan Lloyd wrote: Jonas Maebe wrote: It's been merged to 2.2.3 now. You can either download the source zipfile from ftp://ftp.freepascal.org/pub/fpc/snapshot/v22/source/fpc.zip , or get it from svn as described here: http://www.fre

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-11 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Jonas Maebe wrote: It's been merged to 2.2.3 now. You can either download the source zipfile from ftp://ftp.freepascal.org/pub/fpc/snapshot/v22/source/fpc.zip, or get it from svn as described here: http://www.freepascal.org/develop.var#svn (make sure you use the ch

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-09 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 05 Sep 2008, at 11:29, Mark Morgan Lloyd wrote: Jonas Maebe wrote: I've committed a fix in 2.3.1. If all goes well in the testsuite run tonight, I'll merge it to 2.2.3 over the weekend. I don't know why this bug didn't cause crashes in the nightly tests I run on sparc/s

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-06 Thread Jonas Maebe
On 05 Sep 2008, at 11:29, Mark Morgan Lloyd wrote: Jonas Maebe wrote: I've committed a fix in 2.3.1. If all goes well in the testsuite run tonight, I'll merge it to 2.2.3 over the weekend. I don't know why this bug didn't cause crashes in the nightly tests I run on sparc/solaris (I have g

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-05 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 03 Sep 2008, at 22:23, Jonas Maebe wrote: Yes, you did. Thanks. The bug is indeed in fillchar in generic.inc: { Align on native pointer size } aligncount:=(PtrUInt(pdest) and (sizeof(PtrUInt)-1)); dec(count,aligncount); pend:=pdest+aligncount; That ma

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-04 Thread Jonas Maebe
On 03 Sep 2008, at 22:23, Jonas Maebe wrote: Yes, you did. Thanks. The bug is indeed in fillchar in generic.inc: { Align on native pointer size } aligncount:=(PtrUInt(pdest) and (sizeof(PtrUInt)-1)); dec(count,aligncount); pend:=pdest+aligncount; That make aligncount equal

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-03 Thread Jonas Maebe
On 03 Sep 2008, at 17:05, Mark Morgan Lloyd wrote: Program received signal SIGBUS, Bus error. 0x00011fc4 in FILLCHAR (X=void, COUNT=18, VALUE=546774876) at generic.inc:143 143 generic.inc: No such file or directory. in generic.inc (gdb) backtrace #0 0x00011fc4 in FILLCHAR (X=void

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-03 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: It appears I can't get that far. If I make clean make GDB_V603=1 OPT="-O- -g" all I fairly promptly get .. That's working with 2.2.2 already installed. Unless I hear otherwise I'll revert to 2.2.0 when I get time and see if I can compile 2.2.2 without error with the

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-01 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 01 Sep 2008, at 21:12, Mark Morgan Lloyd wrote: On SPARC I can build from scratch and tests complete. fpc appears to be OK, but fp bombs during initialisation leaving the screen in raw mode. If I redirect stdout to a file I get An unhandled exception occurred at $FFA767

Re: [fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-01 Thread Jonas Maebe
On 01 Sep 2008, at 21:12, Mark Morgan Lloyd wrote: On SPARC I can build from scratch and tests complete. fpc appears to be OK, but fp bombs during initialisation leaving the screen in raw mode. If I redirect stdout to a file I get An unhandled exception occurred at $FFA767E2 : EBusError :

[fpc-devel] FPC 2.2.2 on Linux/SPARC

2008-09-01 Thread Mark Morgan Lloyd
I'm trying to get up to date on various platforms- i386 (NT and Linux), SPARC and now ARM (both Linux). I've installed 2.2.2 on Windows and built from source for i386 Linux without significant problems. On SPARC I can build from scratch and tests complete. fpc appears to be OK, but fp bombs du