Recent

Author Topic: FPC + Lazarus on FreeBSD  (Read 647 times)

trev

  • Full Member
  • ***
  • Posts: 185
Re: FPC + Lazarus on FreeBSD
« Reply #15 on: August 20, 2019, 10:45:30 am »
Unfortunately the old system calls are still present. Looks like you need to use the GENERIC  kernel or include the following options in your custom kernel:

Code: [Select]
options       COMPAT_FREEBSD6         # Compatible with FreeBSD6
options       COMPAT_FREEBSD7         # Compatible with FreeBSD7 (or kernel does not compile)

FreeBSD10 may be necessary if running 11.x; FreeBSD11 may be necessary if running 12.x.

I've logged details on FreeBSD's bugzilla.
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)