AVR Internal error when compiling system for avr6 with dwarf3
Original Reporter info from Mantis: ccrause @ccrause
-
Reporter name: Christo Crause
Original Reporter info from Mantis: ccrause @ccrause
- Reporter name: Christo Crause
Description:
An internal error is raised in procedure TDebugInfoDwarf3.appenddef_variant when no symbol entry is found for VSINGLE.
Work-around is to either disable -SfVARIANTS in system.cfg or don't compile for dwarf3.
Also note that it is difficult to locate this internal error because the base error number 20060927200 overflows, hence the negative number reported.
Steps to reproduce:
~/fpc/3.3.1/compiler/ppcrossavr -Cpavr6 -Ur -Tembedded -Pavr -XPavr- -Ur -Xs -O2 -n -Fi../inc -Fi../avr -FE. -FU/home/christo/fpc/cc/rtl/units/avr-embedded -Fl/usr/lib/gcc/avr/5.4.0 -gw3 -davr -dRELEASE -Us -Sg system.pp @system.cfg
system.pp(268,1) Fatal: Internal error -1413909275
Fatal: Compilation aborted
Mantis conversion info:
- Mantis ID: 38651
- Version: 3.3.1
- Fixed in revision: 49032 (#bae6ca68)