[fpc-devel] patch for rtl/linux/aarch64/cprt0.as

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Oct 6 10:51:39 CEST 2015


Edmund Grimley Evans wrote on Tue, 06 Oct 2015:

> Jonas:
>
>>> So x86_64 does this the wrong way.
>
>> No, with "x86" I meant "i386 and x86_64". Sorry for not being clear.
>
> What you wrote was ambiguous, but I interpreted it as just 32-bit
> because my aarch64 patch, above, makes rtl/linux/aarch64/cprt0.as more
> similar to rtl/linux/x86_64/cprt0.as. Isn't the x86_64 file doing
> exactly what Sergei says is wrong?

Oh, I thought you were referring to the problem regarding the  
inability to find the crt* files, possibly due to failing to locate  
their directory (although I've just realised that while building FPC  
itself, the code in packages/fpmkunit/src/fpmkunit.pp is called  
directly by fpmake since the global configuration file is ignored in  
that case, so that shouldn't matter).

Anyway, you're right, the startup code for Linux/x86-64 does not pass  
the libc init/fini routines and hence is broken. And that's indeed not  
something to still change right before the release.


Jonas





More information about the fpc-devel mailing list