View Issue Details

IDProjectCategoryView StatusLast Update
0037397FPCLCLpublic2020-07-22 12:52
ReporterChris Rorden Assigned ToJonas Maebe  
Status closedResolutionfixed 
PlatformMacBook 2012 Retina 13"OSDarwin 
Product Version3.3.1 
Fixed in Version3.3.1 
Summary0037397: AArch64 error 200108231 at higher optimization levels
DescriptionLazarus now builds for AArch64, however, setting the Build Options for "Optimized IDE" invokes the optimized -O3 option. This generates the an error 200108231. Presumably, this is related to issue 0034786 reported for the Raspberry Pi (also an ARM architecture). So maybe solutions for that issue can be applied here. The unit that fails to compile is grapmhath.pp that does use extended floating point a lot, and as an aside changing this to the double format that is natively supported by modern CPUs seems a nice idea. However, changing "extended" to "double" does not resolve the error.

I have included a simple freepascal command line project that replicates the error without having to include Lazarus...
Steps To Reproducefpc -O3 ax.pas
graphmath.pp(518,7) Fatal: Internal error 200108231
TagsNo tags attached.
Fixed in Revision45823
Attached Files


Chris Rorden

2020-07-21 12:24

reporter (7,928 bytes)

Chris Rorden

2020-07-22 12:52

reporter   ~0124226

Thanks. Lazarus and my projects now compile on this architecture with -O3.

Issue History

Date Modified Username Field Change
2020-07-21 12:24 Chris Rorden New Issue
2020-07-21 12:24 Chris Rorden File Added:
2020-07-21 15:19 Jonas Maebe Assigned To => Jonas Maebe
2020-07-21 15:19 Jonas Maebe Status new => assigned
2020-07-21 19:58 Jonas Maebe Status assigned => resolved
2020-07-21 19:58 Jonas Maebe Resolution open => fixed
2020-07-21 19:58 Jonas Maebe Fixed in Version => 3.3.1
2020-07-21 19:58 Jonas Maebe Fixed in Revision => 45823
2020-07-21 19:58 Jonas Maebe FPCTarget => -
2020-07-22 12:52 Chris Rorden Status resolved => closed
2020-07-22 12:52 Chris Rorden Note Added: 0124226