[fpc-devel] Xtensa compiler error when building RTL

Florian Klämpfl florian at freepascal.org
Sun Aug 30 11:37:11 CEST 2020

Am 30.08.20 um 10:40 schrieb Christo Crause via fpc-devel:
> Since the bug tracker is offline I want to highlight this problem, 
> before it slips my mind:
> Updating trunk revision this morning results in a failure for 
> freertos-xtensa RTL (the cross compiler itself successfully bootstrapped):
> make OS_TARGET=freertos CPU_TARGET=xtensa 
> FPC=~/fpc/3.3.1/compiler/ppcrossxtensa BINUTILSPREFIX=xtensa-esp32-elf- 
> SUBARCH=lx6 CROSSOPT="-Cfhard" rtl
> make -C ../rtl 'OPT=' all
> make[1]: Entering directory '/home/christo/fpc/3.3.1/rtl'
> make -C freertos all
> make[2]: Entering directory '/home/christo/fpc/3.3.1/rtl/freertos'
> make[2]: ../compiler/ppc: Command not found
> /home/christo/fpc/3.3.1/compiler/ppcrossxtensa -Cplx6 -Tfreertos 
> -Pxtensa -XPxtensa-esp32-elf- -Xr -Fi../inc -Fi../xtensa -FE. 
> -FU../../rtl/units/xtensa-freertos 
> -Fl/home/christo/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0 
> -dxtensa -Cfhard  -Us -Sg system.pp @system.cfg
> softfpu.pp(609,1) Fatal: Internal error 2020082801
> This error appeared after commit 46732. Note that subarch lx106 RTL 
> builds successfully.

Yes, I know it. I am currently reworking the windowed abi calling 
convention handling in the compiler.

More information about the fpc-devel mailing list