[fpc-devel] FPC trunk building lazarus trunk fails with compiler AV ?
Yuriy Sydorov
jura at cp-lab.com
Sun Dec 12 14:47:20 CET 2021
On 11.12.2021 22:31, Marco van de Voort via fpc-devel wrote:
>
> FPC trunk building lazarus trunk fails with compiler AV ?
>
> An old ghost seems to have resurfaced. I didn't build a development lazarus for a while (I used a stable one for work),
> but at least 1-2 weeks I have this problem:
>
>
> (3104) Compiling postscriptcanvas.pas
> (3104) Compiling printers.pas
> (3104) Compiling postscriptunicode.pas
> c:\repo\lazarusgit\lcl\postscriptcanvas.pas(707,3) Warning: (6060) Case statement does not handle all possible cases
> c:\repo\lazarusgit\lcl\postscriptcanvas.pas(722,30) Error: (1026) Compilation raised exception internally
> Fatal: (1018) Compilation aborted
> An unhandled exception occurred at $00499477:
> EAccessViolation: Access violation
> $00499477 GET_ALIAS, line 1214 of rgobj.pas
> $0049C655 INSTR_SPILL_REGISTER, line 2834 of rgobj.pas
> $0049BDE3 SPILL_REGISTERS, line 2572 of rgobj.pas
> $004987DF DO_REGISTER_ALLOCATION, line 659 of rgobj.pas
> $0048935A DO_REGISTER_ALLOCATION, line 903 of cgobj.pas
> $004E2659 GENERATE_CODE_TREE, line 1616 of psub.pas
> $004E450B READ_PROC, line 2840 of psub.pas
> $004E49F9 READ_DECLARATIONS, line 3072 of psub.pas
> $0043D00A COMPILE, line 402 of parser.pas
> $004D44AE LOADPPU, line 2276 of fppu.pas
> $005AF153 LOADUNITS, line 523 of pmodules.pas
> $005AFFA8 PROC_UNIT, line 983 of pmodules.pas
> $0043D00A COMPILE, line 402 of parser.pas
> $00418526 COMPILE, line 288 of compiler.pas
>
> Compiler AVs in postscript* units have happened before afaik.
>
> Any pointers?
I've tried to reproduce the AV while building Lazarus on i386-win32 with -O2 and -O3 options, but it works for me.
What compiler options have you used to build Lazarus?
Yuriy.
More information about the fpc-devel
mailing list