Forum > Other

fpc not building on FreeBSD 12.1

(1/1)

willbprog9933:
Greetings all,

I am trying to build fpc on FreeBSD 12.1 amd64 per these instructions, but it is failing...


--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---$ export MAKE=`which gmake`$ $MAKE all OPT='-gl'<<<snip>>>gmake[3]: Leaving directory '/usr/home/will/Downloads/fpc_fixes_3_0/packages/fpmkunit'/usr/home/will/Downloads/fpc_fixes_3_0/compiler/ppcx64 fpmake.pp  -Fu/usr/home/will/Downloads/fpc_fixes_3_0/packages/fpmkunit/units_bs/x86_64-freebsd -Fu/usr/home/will/Downloads/fpc_fixes_3_0/rtl/units/x86_64-freebsd  -gl./fpmake compile --localunitdir=.. --os=freebsd --cpu=x86_64 -o -Ur -o -Xs -o -O2 -o -n -o -Cg -o -gl -o -dx86_64 -o -dRELEASE --compiler=/usr/home/will/Downloads/fpc_fixes_3_0/compiler/ppcx64 -bu -o -XX -o -CXgmake[2]: *** [Makefile:1663: smart] Segmentation fault (core dumped)gmake[2]: Leaving directory '/usr/home/will/Downloads/fpc_fixes_3_0/packages'gmake[1]: *** [Makefile:2616: packages_smart] Error 2gmake[1]: Leaving directory '/usr/home/will/Downloads/fpc_fixes_3_0'gmake: *** [Makefile:2819: build-stamp.x86_64-freebsd] Error 2
The segfault is at the line with 'Makefile:1663: smart' in it.

Does anyone have any hints as to what I could do to resolve this?

marcov:
FreeBSD12 broke compatibility. Best is now to use the precompiled FreeBSD11 binaries under COMPAT

willbprog9933:

--- Quote from: marcov on November 26, 2019, 11:02:47 pm ---FreeBSD12 broke compatibility. Best is now to use the precompiled FreeBSD11 binaries under COMPAT

--- End quote ---

Thanks marcov.  I cannot do that, so I guess the 'last resort' is to use fixes branch on a Linux virtual machine.

:)

Navigation

[0] Message Index

Go to full version