On 01/09/2020 20:28, Adriaan van Os via fpc-pascal wrote: > Linking with other shared libs (maybe dependent on libgcc_so?) also > causes a segmentation fault on start. All the libs are from > <https://packages.debian.org/>.
Are you using the -XR command line parameter to specify the Linux sysroot? If so, that is correct, but we still have these hardcoded Linux linker scripts in the compiler that are only used when a sysroot is specified. Maybe one of those is out-of-date... Or, if you are not using -XR, maybe you are running into a bug that caused the addition of those hardcoded linkerscripts to the compiler in the first place (I think in some cases the linker would use a wrong linker script when cross-compiling, at least in the past). Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal