[fpc-devel] AVR target on trunk does not compile for me

Christo Crause christo.crause at gmail.com
Mon Jun 3 07:57:47 CEST 2019


On Mon, Jun 3, 2019 at 4:43 AM Michael Ring <mail at michael-ring.org> wrote:

> Is this issue also known to you? I am trying to build avr6 support:
>
>   BINUTILSPREFIX=avr- ; CROSSOPT="-O- -g -dDEBUG"
>   SUBARCH=avr6
>   make clean buildbase  CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=avr
> SUBARCH=$SUBARCH CROSSOPT="$CROSSOPT" BINUTILSPREFIX=$BINUTILSPREFIX
> OPT="-XR/Library/Developer/CommandLineTools//SDKs/MacOSX.sdk/" || exit 1
>   sudo make installbase CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=avr
> SUBARCH=$SUBARCH CROSSOPT="$CROSSOPT" BINUTILSPREFIX=$BINUTILSPREFIX
> INSTALL_UNITDIR=/usr/local/lib/fpc/3.3.1/units/avr-embedded/$SUBARCH/rtl ||
> exit 1
>
> results in:
>
> /bin/mkdir -p /Users/ring/devel/fpc-avr/rtl/units/avr-embedded
> /Users/ring/devel/fpc-avr/compiler/ppcrossavr -Cpavr6 -Ur -Tembedded -Pavr
> -XPavr- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../avr -FE.
> -FU/Users/ring/devel/fpc-avr/rtl/units/avr-embedded
> -XR/Library/Developer/CommandLineTools//SDKs/MacOSX.sdk/ -davr -dRELEASE
> -O- -g -dDEBUG  -Us -Sg system.pp @system.cfg
> system.pp(293,1) Fatal: Internal error -1413909275
>
> Michael
>

Hi Michael,

I haven't noticed this issue before, because I don't often build the RTL
with debug info for avr6.  I can confirm that this happens for me too:
~/fpc/3.3.1/compiler/ppcrossavr -Cpavr6 -Ur -Tembedded -Pavr -XPavr- -Xr
-Ur -Xs -O2 -n -Fi../inc -Fi../avr -FE.
-FU~/fpc/3.3.1/rtl/units/avr-embedded -davr -dDEBUG  -Us -Sg system.pp
@system.cfg -g
system.pp(293,1) Fatal: Internal error -1413909275
Fatal: Compilation aborted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190603/e80a5f63/attachment.html>


More information about the fpc-devel mailing list