FPC release version 3.2.2 crashes with Internal error 200502052 when trying to build a shared library on m68k
Summary
Compiler crashes with Internal error 200502052 when trying to build a shared library on m68k
System Information
Linux Debian 12 Bookworm m68k 3.2.2
Steps to reproduce
Attempt to build doublecmd or c-evo-dh on m68k
Example Project
https://github.com/doublecmd/doublecmd/tree/master/plugins https://sourceforge.net/p/c-evo-eh/code/ci/master/tree/AI/StdAI/
What is the current bug behavior?
Compiler crashes on m68k
What is the expected (correct) behavior?
Should compile OK
Relevant logs and/or screenshots
Free Pascal Compiler version 3.2.2+dfsg-18 [2023/01/07] for m68k
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for m68k
(3104) Compiling StdAI.lpr
(3104) Compiling Protocol.pas
Protocol.pas(1963,36) Fatal: Internal error 200502052
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppc68k returned an error exitcode
Possible fixes
There are some closed issues for Internal error 200502052 many years ago.