[fpc-devel] FPC trunk embedded avr build broken

Yuriy Sydorov jura at cp-lab.com
Sat Aug 1 20:01:53 CEST 2020


On 01.08.2020 14:59, Schindler Karl-Michael wrote:
> 
>> Am 01.08.2020 um 12:00 schrieb fpc-devel-request at lists.freepascal.org:
>>
>> Message: 1
>> Date: Sat, 1 Aug 2020 02:20:49 +0300
>> From: "Dimitrios Chr. Ioannidis" <d.ioannidis at nephelae.eu>
>> To: FPC developers' list <fpc-devel at lists.freepascal.org>
>> Subject: [fpc-devel] FPC trunk embedded avr build broken
>> Message-ID: <f217c610-e618-3ed6-940e-e3ca0b90681d at nephelae.eu>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>> Hi,
>>
>>    I tried unsuccessfully to build today's trunk reg. 45975 for target
>> embedded avr and I got this internal error :
>>
>> "G:/Programming/dimitris/tools/fpc-trunk/bin/x86_64-win64/gmkdir.exe -p
>> G:/Programming/dimitris/tools/svn/fpc/trunk/rtl/units/avr-embedded
>> G:/Programming/dimitris/tools/svn/fpc/trunk/compiler/ppcrossavr.exe
>> -Cpavr5 -Ur -Tembedded -Pavr -XPavr- -Xr -Ur -Xs -O2 -n -Fi../inc
>> -Fi../avr -FDG:\Programming\dimitris\tools\avr8-gnu-toolchain\bin -FE.
>> -FUG:/Programming/dimitris/tools/svn/fpc/trunk/rtl/units/avr-embedded
>> -davr -dRELEASE -g -gw2 -O1 -dDEBUG
>>    -Us -Sg system.pp @system.cfg
>> sstrings.inc(1089,1) Fatal: Internal error 200309041
>> Fatal: Compilation aborted"
>>
>> Using fpc trunk on windows 10 64bit with command line :
>>
>> G:\Programming\dimitris\tools\svn\fpc\trunk>G:\Programming\dimitris\tools\fpc-trunk\bin\x86_64-win64\make.exe
>> clean crossall crossinstall CPU_TARGET=avr OS_TARGET=embedded
>> SUBARCH=avr5 INSTALL_PREFIX=G:\Programming\dimitris\tools\fpc-trunk
>> CROSSBINDIR=G:\Programming\dimitris\tools\avr8-gnu-toolchain\bin
>> CROSSOPT="-g -gw2 -O1 -dDEBUG" BINUTILSPREFIX=avr-
>>
>> regards,
>>
>> -- 
>>
>> Dimitrios Chr. Ioannidis
> 
> Already reported. See: https://bugs.freepascal.org/view.php?id=37421

This is a register allocation issue.
I've took a look at it and found out that the issue was present for some code even prior r45857 and r45843.
I'll try to fix this. Until then use the trunk prior r45857.

Yuriy.


More information about the fpc-devel mailing list