[fpc-devel] fpc 2.6.2 gives AV on arm

Joost van der Sluis joost at cnoc.nl
Fri Aug 9 22:54:11 CEST 2013


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.

Joost.




More information about the fpc-devel mailing list