Re: [fpc-devel] OpenBSD compiler

2011-10-09 Thread Marco van de Voort
In our previous episode, Pierre Free Pascal said: > > (*) FreeBSD's pipe command contains an optimization. The array is not > passed > > to the syscall, and the results are stored in regs, not in the array. The > > wrapper code stores the regs in the array. > The current FreeBSD code is i386/x86_

[fpc-devel] First i386-OpenBSD compiler testsuite resutls

2011-10-09 Thread Pierre Free Pascal
See http://www.freepascal.org/testsuite/cgi-bin/testsuite.cgi?os=7&cpu=8&version =0&date=&submitter=&machine=&comment=&cond= Marco, didn't you say that you fixed i386/cprt0.as for the missing operatingsystem_parameter vars? Maybe you forgot to commit the fix, anyway, I committed rev 19443. I also

RE: [fpc-devel] OpenBSD compiler

2011-10-09 Thread Pierre Free Pascal
> > ? I tested if getdirentries35 works OK, > > I was able to do a gmake cycle on a 4.4 openbsd. > > > > Committed in 19423. > > For me the one before this already worked. > > I tried a "make all", and that failed in the fpmake of fcl-base on the pipe > syscall. That's a know gotcha that I know

RE: [fpc-devel] OpenBSD compiler

2011-10-09 Thread Pierre Free Pascal
> Great!. I did an svn up, then gmake again, but the problem persists. What > gmake options did you use?. > > Maybe you should upload the new bootstrapping compiler > to ftp://ftp.freepascal.org/pub/fpc/contrib/ I added a i386 openbsd ppc386 executable in: ftp://ftp.freepascal.org/pub/fpc/snap

Re: [fpc-devel] limited -gc ?

2011-10-09 Thread Martin
On 09/10/2011 21:44, Jonas Maebe wrote: On 09 Oct 2011, at 22:34, Martin wrote: Every class or dyn array should be in a block of memory allocated by the fpc heap mgr (probably even always at the start (or fixed offset) of such a block). That is incorrect: classes can override newinstance and

Re: [fpc-devel] limited -gc ?

2011-10-09 Thread Jonas Maebe
On 09 Oct 2011, at 22:34, Martin wrote: > For classes there is -CR but it act only when calling methods (any method or > only virtual methods?), I can for example not tell if accessing a property > mapped to field would also trigger tests on this. It also checks every typecast. Accessing field

[fpc-devel] limited -gc ?

2011-10-09 Thread Martin
-gc, is apparently only useful in very limited scenarios, such as applications, that have no interaction with the OS at all, or can otherwise gurantee, never to access any memory that was returned by (and therefore allocated by) the OS. An LCL app can not guarantee that... Yet what I am looki

Re: [fpc-devel] OpenBSD compiler

2011-10-09 Thread Marco van de Voort
In our previous episode, Leonardo M. Ram? said: > Problem confirmed: > ? I use Sys call number 312 for getdirentries > but for 4.4, the last system call is 310. > > ? I tested if getdirentries35 works OK, > I was able to do a gmake cycle on a 4.4 openbsd. > > Committed in 19423. For me the one b

Re: [fpc-devel] OpenBSD compiler

2011-10-09 Thread Leonardo M . Ramé
- Original Message - > From: Pierre Free Pascal > To: 'Leonardo M. Ramé' ; 'FPC developers' list' > > Cc: > Sent: Sunday, October 9, 2011 12:37 PM > Subject: RE: [fpc-devel] OpenBSD compiler > >> /bin/rm -f fpcmade.i386-openbsd Package.fpc ppas.sh script.res link.res >> /bin/rm -f *

RE: [fpc-devel] OpenBSD compiler

2011-10-09 Thread Pierre Free Pascal
> /bin/rm -f fpcmade.i386-openbsd Package.fpc ppas.sh script.res link.res > /bin/rm -f *.s *_ppas.sh > gmake[7]: Leaving directory `/var/home/leonardo/fpc/rtl/openbsd' > gmake[6]: Leaving directory `/var/home/leonardo/fpc/rtl' > gmake -C /var/home/leonardo/fpc/rtl 'OPT=' all > gmake[6]: Entering di