[fpc-devel] Questions regarding m68k-atari target

Karoly Balogh charlie at scenergy.dfmk.hu
Mon Feb 7 13:39:49 CET 2022


Hi,

On Mon, 7 Feb 2022, Thorsten Otto via fpc-devel wrote:

> > On Montag, 7. Februar 2022 10:31:01 CET Thorsten Otto via fpc-devel wrote:
>
> > Nice, that's it. Compiling everything for 68020, and it works.
>
> Hm, or maybe not. A few hours later, installing a freshly compiled
> version, i get that internal error again. Damn. Must be some other kind
> of randomness involved.

Is the compiler binary itself a 68020 or a 68000 binary? The point being,
although the 68000 support should be "good enough", it's still possible
that there's a miscompile in there, because it's less tested than the
68020 counterpart. If the compiler binary is 68020, that's "good news" in
the semse that it's probably only an Atari-specific bug, which means it's
99.999% something in the RTL.

On a related note, maybe we should think about setting up a 68000
testsuite run somehow, because so far we only test on 68020 (and under
Linux and QEMU), I think.

Charlie


More information about the fpc-devel mailing list