On 05 Aug 2009, at 22:28, Peter Popov wrote: > Since you mentioned cprt0, you could try checking the order of > initialization of libc and libgcc. This may have something to do > with it, see alsohttp://bugs.freepascal.org/view.php?id=14265 Indeed, that may very well be the reason. Jonas