[fpc-pascal] ARM Linux crosscompiler: compiles but... executable gives segmentation fault

Jeppe Græsdal Johansen jeppe at j-software.dk
Mon Jan 13 15:15:10 CET 2014


Might be related to the mla/mls optimization which somehow has been enabled even though it's still broken

----- Reply message -----
Fra: "Reinier Olislagers" <reinierolislagers at gmail.com>
Dato: man., jan. 13, 2014 13:44
Emne: [fpc-pascal] ARM Linux crosscompiler: compiles but... executable gives segmentation fault
Til: <fpc-pascal at lists.freepascal.org>

On 13/01/2014 12:34, Michael Ring wrote:
> I had a look at armv6m yesterday evening, parts of my code run fine in
> gdb, the code crashes in the init of a procedure when trying to prepare
> the access to contents of a set.
> The address of the set seems to get calculated totally wrong ending up
> in a memory access at the end of the chip's address range.
> Not sure if this is related to your problem, I will try to boil down the
> example to a bare minimum to see where the generated code differs
> between armv7m and armv6m.

Thanks a lot, Michael!

_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140113/a3948152/attachment.html>


More information about the fpc-pascal mailing list