[fpc-devel] Cannot compile fpc with latest trunk on MacOSX

Michael Ring mail at michael-ring.org
Sat Apr 25 16:46:26 CEST 2020


make -j clean buildbase FPC=~/fpcupdeluxe/fpc/bin/x86_64-darwin/fpc.sh

works fine with fpc checkout from a few days ago, with todays trunk I 
get the following error:

/Library/Developer/CommandLineTools/usr/bin/make rtl
/Library/Developer/CommandLineTools/usr/bin/make -C 
/Users/ring/devel/fpc/rtl 'OPT=   ' all
/Library/Developer/CommandLineTools/usr/bin/make -C darwin all
/Users/ring/devel/fpc/compiler/ppc1 -Ur -dFPC_USE_LIBC -Ur -Xs -O2 -n 
-Fi../inc -Fi../x86_64 -Fi../unix -Fi../bsd -Fi../bsd/x86_64 
-Fi../darwin/x86_64 -FE. 
-FU/Users/ring/devel/fpc/rtl/units/x86_64-darwin -dx86_64 -dRELEASE  -Us 
-Sg ../bsd/system.pp
/Users/ring/devel/fpc/rtl/units/x86_64-darwin/system.s:3469:15: error: 
invalid operand for instruction
         movzbl  %r12b,%rdx
                       ^~~~
/Users/ring/devel/fpc/rtl/units/x86_64-darwin/system.s:8698:16: error: 
invalid operand for instruction
         movzbl  (%r14),%r13
                        ^~~~
/Users/ring/devel/fpc/rtl/units/x86_64-darwin/system.s:24549:15: error: 
invalid operand for instruction
         movzbl  %r12b,%r15
                       ^~~~
/Users/ring/devel/fpc/rtl/units/x86_64-darwin/system.s:24557:15: error: 
invalid operand for instruction
         movzbl  %r12b,%r15
                       ^~~~
/Users/ring/devel/fpc/rtl/units/x86_64-darwin/system.s:24801:15: error: 
invalid operand for instruction
         movzbl  %r12b,%r15
                       ^~~~
/Users/ring/devel/fpc/rtl/units/x86_64-darwin/system.s:24807:15: error: 
invalid operand for instruction
         movzbl  %r12b,%r15
                       ^~~~
system.pp(398) Error: Error while assembling exitcode 1
system.pp(398) Fatal: There were 2 errors compiling module, stopping



More information about the fpc-devel mailing list