OpenBSD build failure
Building FPC on OpenBSD fails due to exit crashed. FPC calls c_exit on exit. This c_exit calls libc exit. See the link towards the OpenBSD stdlib exit call below.
https://github.com/libressl/openbsd/blob/d2c652739f18510504765da19ffa9ecbe9939a26/src/lib/libc/stdlib/exit.c#L48
The call to "__cxa_finalize(NULL);" causes the exit failure.
If c_exit procedure is changed to call lib _exit only, all runs well !
`procedure c_exit(exit_code: cint); cdecl; noreturn; external name '_exit'; `
issue