AArch64 "Compilation raised exception internally" on SECONDPASS
Compiling on RPI4 Ubuntu 20.04. Latest Laz+FPC trunk using fpcupdeluxe.
Unsure what code is causing this - is there a way for FPC to output what line is currently being compiled?
The project is https://github.com/nielsAD/lape
Error: Compilation raised exception internally
Error: An unhandled exception occurred at $000000000059FF04:
Error: EAccessViolation: Access violation
Debug: $000000000059FF04 SECONDPASS, line 211 of pass_2.pas
Verbose: Compilation aborted
Debug: $000000000059FF0C SECONDPASS, line 211 of pass_2.pas
Debug: $00000000006340DC PASS_GENERATE_CODE, line 1352 of ncgcal.pas
Debug: $000000000059FF0C SECONDPASS, line 211 of pass_2.pas
Debug: $000000000063859C PASS_GENERATE_CODE, line 729 of ncgld.pas
Debug: $000000000059FF0C SECONDPASS, line 211 of pass_2.pas
Debug: $00000000005C4F50 PASS_GENERATE_CODE, line 280 of ncgflw.pas
Debug: $000000000059FF0C SECONDPASS, line 211 of pass_2.pas
Debug: $0000000000630294 PASS_GENERATE_CODE, line 475 of ncgbas.pas
Debug: $000000000059FF0C SECONDPASS, line 211 of pass_2.pas
Debug: $0000000000630294 PASS_GENERATE_CODE, line 475 of ncgbas.pas
Debug: $000000000059FF0C SECONDPASS, line 211 of pass_2.pas
Debug: $00000000005C4F50 PASS_GENERATE_CODE, line 280 of ncgflw.pas
Debug: $000000000059FF0C SECONDPASS, line 211 of pass_2.pas
Debug: $0000000000630294 PASS_GENERATE_CODE, line 475 of ncgbas.pas
Debug: $000000000059FF0C SECONDPASS, line 211 of pass_2.pas
Debug: $0000000000630294 PASS_GENERATE_CODE, line 475 of ncgbas.pas
Edited by Olly