[fpc-pascal] FPC 3.2.2 Build Error on Mac

lazarus at sentry.org lazarus at sentry.org
Mon Oct 18 01:51:50 CEST 2021


Anthony Walter via fpc-pascal wrote on 18/10/21 12:08 am:
> I am trying to build FPC from 3.3.2 sources on a Mac and am getting 
> errors complaining about two binary files having different sizes. Could 
> someone help me figure out what's going on?
> 
> Here is a list of what is output is in the terminal after waiting a 
> while for `make all` to complete. Also, fpcupdeluxe has basically the 
> same problem on my Mac.
> 
> Thank you.
> 
> /Users/macuser/Development/source/compiler/ppc2 and 
> /Users/macuser/Development/source/compiler/ppc3 are equal
> /bin/cp -fp /Users/macuser/Development/source/compiler/ppc3 ppcx64
> /bin/cp -fp ppc3 ppc3.tmp
> /bin/cp -fp ppcx64 ppcx64.tmp
> strip -no_uuid ppc3.tmp
> strip -no_uuid ppcx64.tmp
> /usr/bin/codesign --remove-signature ppc3.tmp
> /usr/bin/codesign --remove-signature ppcx64.tmp
> /usr/bin/diff ppc3.tmp ppcx64.tmp
> Binary files ppc3.tmp and ppcx64.tmp differ
> make[2]: *** [cycle] Error 2
> make[1]: *** [compiler_cycle] Error 2
> make: *** [build-stamp.x86_64-darwin] Error 2

/Applications/Xcode.app/Contents/Developer/usr/bin/make 
'FPC=/Users/trev/fpc-3.2.2/compiler/ppc3' 
'OLDFPC=/Users/trev/fpc-3.2.2/compiler/ppc2' next CYCLELEVEL=4
/Users/trev/fpc-3.2.2/compiler/ppc2 and 
/Users/trev/fpc-3.2.2/compiler/ppc3 are equal
/bin/cp -fp /Users/trev/fpc-3.2.2/compiler/ppc3 ppcx64
/bin/cp -fp ppc3 ppc3.tmp
/bin/cp -fp ppcx64 ppcx64.tmp
strip -no_uuid ppc3.tmp
strip -no_uuid ppcx64.tmp
/usr/bin/codesign --remove-signature ppc3.tmp
/usr/bin/codesign --remove-signature ppcx64.tmp
/usr/bin/diff ppc3.tmp ppcx64.tmp
rm ppc3.tmp ppcx64.tmp
/Applications/Xcode.app/Contents/Developer/usr/bin/make utils_all 
'FPC=/Users/trev/fpc-3.2.2/compiler/ppcx64'

Works for me compiling FPC 3.2.2 source with FPC 3.0.4 on Mojave 10.14.

[You might want to post Mac issues in the MacPascal list in future]



More information about the fpc-pascal mailing list