freebsd is still broken
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
-
Reporter name: Karl-Michael Schindler
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
- Reporter name: Karl-Michael Schindler
Description:
building stops with:
/Users/michael/Developer/FreePascal/compiler/ppcrossx64 -Tfreebsd -XPx86_64-freebsd- -Xr -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/Users/michael/Developer/FreePascal/rtl/units/x86_64-freebsd -Fix86_64 -FE. -FUx86_64/units/x86_64-freebsd -Cg -dRELEASE -ap -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
systems.pas(478,33) Error: Incompatible type for arg no. 1: Got "PChar", expected "pcint"
Commit 35566 and 35573 forgot another change. For fixing, line 478 of compiler/system.pas needs to changed from
if (FPsysctl(pChar(@mib), ...
to
if (FPsysctl(@mib, ...
Steps to reproduce:
make all OPT="-ap" CPU_TARGET=i386 OS_TARGET=freebsd
or
make all OPT="-ap" CPU_TARGET=x86_64 OS_TARGET=freebsd