Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2014-01

Re: ARM Linux crosscompiler: compiles but... executable gives segmentation fault

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jeppe Græsdal Johansen

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

----- Reply message -----
Fra: "Reinier Olislagers"
Dato: man., jan. 13, 2014 13:44
Emne: [fpc-pascal] ARM Linux crosscompiler: compiles but... executable gives segmentation fault Til:

Michael Ring wrote 8 lines
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!

Reply by email