Re: [fpc-devel] Cannot compile fpc with latest trunk on MacOSX
Am 25.04.20 um 16:46 schrieb Michael Ring via fpc-devel: 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: Should be fixed. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Cannot compile fpc with latest trunk on MacOSX
This has probably already been identified, but %r15 etc should be %r15d. You can't zero- extend directly to a 64-bit register because zero-extending to 32-bit is guaranteed to zero the upper 32 bits. Gareth aka. Kit On Sat 25/04/20 18:00 , "Jonas Maebe" jo...@freepascal.org sent: > On 25/04/2020 16:46, Michael Ring via fpc- devel wrote: > > > > > > /Users/ring/devel/fpc/rtl/units/x86_64- darwin/system.s:3469:15: error: > > invalid operand for instruction > > > > movzbl %r12b,%rdx > > > > sp; ^~~~ > > > Probably caused by r45057. It would be nice if the internal assembler > > were more rigorous in its checks, so it would catch these errors too. > > > > > > Jonas > > _ __ > > fpc-devel maillist - fpc- de...@lists.freepascal.org > https://lists.freepascal.org/cgi- bin/mailman/listinfo/fpc-devel > > > > > ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Cannot compile fpc with latest trunk on MacOSX
On 25/04/2020 16:46, Michael Ring via fpc-devel wrote: > /Users/ring/devel/fpc/rtl/units/x86_64-darwin/system.s:3469:15: error: > invalid operand for instruction > movzbl %r12b,%rdx > ^~~~ Probably caused by r45057. It would be nice if the internal assembler were more rigorous in its checks, so it would catch these errors too. Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[fpc-devel] Cannot compile fpc with latest trunk on MacOSX
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 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel