a challenge to get a FPC < 3.2.2 working on bookworm ?
That one. I'll try to fill in a bit more detail later, but from memory it's a problem that won't raise its head unless importing C libraries (i.e. cthreads etc.) and is something to do with a symbol which should be marked optional.
Also you won't be able to progress from 3.0.4 on x86_64 "Bookworm" to 3.2.2.
Usual developer response: "we only support the current version".
Slightly later:
https://forum.lazarus.freepascal.org/index.php/topic,61001.msg457935.html#msg457935Also looking at a moderately-large app which I was hoping to continue to be able to build using a slightly-older version of Lazarus (because of stuff on the console window screen which was subsequently disabled):
...
(9015) Linking /usr/local/src/b5500-emulator/trunk/B5k5-x86_64-linux
Warning: (9034) "crtbeginS.o" not found, this will probably cause a linking failure
Warning: (9034) "crtendS.o" not found, this will probably cause a linking failure
/usr/bin/ld: warning: /usr/local/src/b5500-emulator/trunk/link.res contains output sections; did you forget -T?
/usr/bin/ld: /usr/local/lib/fpc/3.0.4/units/x86_64-linux/rtl/cprt0.o: in function `_start':
(.text+0x3c): undefined reference to `__libc_csu_init'
/usr/bin/ld: (.text+0x43): undefined reference to `__libc_csu_fini'
Error: (9013) Error while linking
Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: (lazarus) Compile Project, Target: B5k5-x86_64-linux: stopped with exit code 1
Error: (lazbuild) failed compiling of project /usr/local/src/b5500-emulator/trunk/B5k5.lpi
That was FPC 3.0.4 with Lazarus 2.0.6, multithreaded app but apart from that nothing particularly fancy.
MarkMLl