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


_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to