[fpc-devel] fpc 2.6.2 gives AV on arm

Florian Klämpfl florian at freepascal.org
Fri Aug 9 23:10:05 CEST 2013

Am 09.08.2013 22:54, schrieb Joost van der Sluis:
> On 08/09/2013 06:46 PM, Joost van der Sluis wrote:
>> Hi all,
>> I've cross-compiled a ppcarm, and now I try to use that compiler on qemu
>> to build fpc (2.6.2).
>> But the compiler crashes on compiling the system-unit. But with trunk
>> (2.7.1) this all works.
>> Thing is that I'm trying to get fpc 2.6.2 working on the new arm-target
>> of Fedora (armv7, hardware float, little endian). Maybe someone knows in
>> which revision this could have been fixed, so that I can apply that fix
>> to 2.6.2 on Fedora?
> Hard to do a bisect when you have to cross-compile and copy the binary
> to another machine each time... but it was r19562.
> Which is the revision to switch to armel by default.
> I had to add OPT=-dFPC_ARMEL, CROSSOPT=-dFPC_ARMEL alone was not enough.

Where did you get the CROSSOPT=-dFPC_ARMEL from? It is not needed at all.

More information about the fpc-devel mailing list