View Issue Details

IDProjectCategoryView StatusLast Update
0036970FPCCompilerpublic2020-04-26 13:45
ReporterKarl-Michael Schindler Assigned ToFlorian  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformdarwinOSMac OS X 
Product Version3.3.1 
Fixed in Version3.3.1 
Summary0036970: svn revision 45057 breaks building on macOS
Descriptionsvn revision 45057 breaks building on macOS with this error:

...
make[7]: Verzeichnis „/BlaBla/FreePascal/rtl/darwin“ wird betreten
/BlaBla/FreePascal/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/BlaBla/FreePascal/rtl/units/x86_64-darwin -ap -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -O1 -dx86_64 -dRELEASE -Us -Sg ../bsd/system.pp
<stdin>:3469:15: error: invalid operand for instruction
        movzbl %r12b,%rdx
                      ^~~~
<stdin>:8698:16: error: invalid operand for instruction
        movzbl (%r14),%r13
                       ^~~~
<stdin>:24549:15: error: invalid operand for instruction
        movzbl %r12b,%r15
                      ^~~~
<stdin>:24557:15: error: invalid operand for instruction
        movzbl %r12b,%r15
                      ^~~~
<stdin>:24801:15: error: invalid operand for instruction
        movzbl %r12b,%r15
                      ^~~~
<stdin>:24807:15: error: invalid operand for instruction
        movzbl %r12b,%r15
                      ^~~~
system.pp(398) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
...
Steps To Reproducesvn up -r 45057
make clean all OPT="-ap -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
Additional InformationI checked different optimisation levels. -O- builds, but -O1 and above break.

I do not think it matters, but who knows:
macOS: 10.15.4
Xcode: 11.4.1
bootstrap compiler: fpc 3.0.4, 64 bit installed using fink.
TagsNo tags attached.
Fixed in Revision45076
FPCOldBugId
FPCTarget-
Attached Files

Activities

Jonas Maebe

2020-04-25 21:57

manager   ~0122429

Probably fixed by Florian in r45076

Karl-Michael Schindler

2020-04-26 11:18

reporter   ~0122441

I can confirm the fix with r45076.

Jonas Maebe

2020-04-26 13:36

manager   ~0122444

Thanks for verifying.

Issue History

Date Modified Username Field Change
2020-04-25 13:16 Karl-Michael Schindler New Issue
2020-04-25 21:57 Jonas Maebe Note Added: 0122429
2020-04-26 11:18 Karl-Michael Schindler Note Added: 0122441
2020-04-26 13:36 Jonas Maebe Assigned To => Florian
2020-04-26 13:36 Jonas Maebe Status new => resolved
2020-04-26 13:36 Jonas Maebe Resolution open => fixed
2020-04-26 13:36 Jonas Maebe Fixed in Version => 3.3.1
2020-04-26 13:36 Jonas Maebe Fixed in Revision => 45076
2020-04-26 13:36 Jonas Maebe FPCTarget => -
2020-04-26 13:36 Jonas Maebe Note Added: 0122444