I'm posting here so that it appears adjacent to @Praetor's discussion of SPARC, even if subsequently moved to one of the other FPC or Lazarus topics by a moderator.
I've disinterred a SPARC system so that I can check the behaviour of some libraries on a big-endian system. I can compile and run simple programs using FPC 3.2.2 for SPARC64, hosted on Debian 10 without multiarch. For completeness, I note that I also had some success with FPC 3.2.2 for 32-bit SPARC.
When trying to compile Lazarus 2.2.0 I get this:
$ make LCL_PLATFORM=gtk2 all
make -C packager/registration
make[1]: Entering directory '/usr/local/share/lazarus-2.2.0+3.2.2/packager/registration'
/usr/bin/rm -f ../units/sparc64-linux/fcllaz.ppu
/usr/bin/mkdir -p ../units/sparc64-linux
/usr/local/bin/ppcsparc64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -Fu/usr/local/lib/fpc/3.2.2/units/sparc64-linux/rtl -FE. -FU../units/sparc64-linux -Fl/usr/lib/gcc/sparc64-linux-gnu/8 -dsparc64 fcllaz.pas
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Note: (11049) DWARF debug information cannot be used with smart linking with external assembler, disabling static library creation.
Free Pascal Compiler version 3.2.2 [2021/05/29] for sparc64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for SPARC64
(3104) Compiling fcllaz.pas
(3104) Compiling lazaruspackageintf.pas
(9009) Assembling lazaruspackageintf
(9009) Assembling fcllaz
(1008) 124 lines compiled, 2.7 sec
(1022) 2 hint(s) issued
(1023) 1 note(s) issued
/usr/bin/cp -f Makefile.compiled ../units/sparc64-linux/FCL.compiled
make[1]: Leaving directory '/usr/local/share/lazarus-2.2.0+3.2.2/packager/registration'
make -C components/lazutils
...
(3104) Compiling lazloggerdummy.pas
/usr/local/share/lazarus-2.2.0+3.2.2/components/lazutils/LazLoggerImpl.inc(11,3) Note: (6058) Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
/usr/local/share/lazarus-2.2.0+3.2.2/components/lazutils/LazLoggerImpl.inc(156,1) Fatal: Internal error 200408203
Fatal: (1018) Compilation aborted
make[1]: *** [Makefile:3294: lazutils.ppu] Error 1
make[1]: Leaving directory '/usr/local/share/lazarus-2.2.0+3.2.2/components/lazutils'
make: *** [Makefile:3714: lazutils] Error 2
I attach complete output. This is not "mission critical" for me but I suspect is a combination of platform/compiler against which Lazarus isn't checked on a regular basis.
MarkMLl