[fpc-pascal] 2.0.0 versus 2.0.2 - FreeBSD

Marco van de Voort marcov at stack.nl
Sun Dec 18 12:17:31 CET 2005


> Well, a lot of work to eleminate "oldlinux", but it
> works fine. I updated to 2.0.2 and something happend:
> 
> I have some cgi-programs for a virtual FreeBSD 4.7 Server.
> I compile under Linux (SuSE 8.2), tranfer the executable
> to FreeBSD and do a "brandelf -t Linux prog-name"
> 
> This works fine for 1.0.x, 2.0.0, but not for 2.0.2
> 
> The programs run very well on FreeBSD, do all things
> expected, but crash (with 2.0.2) at the end and produce
> a core-dump, "prog-name.core"
> 
> It's very hard to debug a program on a virtual Server
> thousand miles away. I suppose, that the last exit-routines
> have some incompatibilies with FreeBSD, or maybe it
> is a bug. Maybe this is a hint for the development team.

No idea. However try to substitute the "crt0.o" file of 2.0.2 with 2.0.0.

It could be that I did something extra with the 2.0.0 one to keep it 4.x
compatible. Since then I have lost acces to the only 4.x system myself.





More information about the fpc-pascal mailing list