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.
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';