<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Probably because of the missing softfpu support. It's failing
      while writing debug info for floating point stuff in variants.<br>
      <br>
      It will be fixed some day :)<br>
    </p>
    <div class="moz-cite-prefix">On 6/2/19 10:54 PM, Michael Ring wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:4f7de35f-7cb7-4b15-7962-6fcaf4e3d083@michael-ring.org">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Thank you, not using -gw2 did the trick for avr5.</p>
      <p>Is this issue also known to you? I am trying to build avr6
        support:</p>
      <p><tt>  BINUTILSPREFIX=avr- ; CROSSOPT="-O- -g -dDEBUG"</tt><tt><br>
        </tt><tt>  SUBARCH=avr6</tt><tt><br>
        </tt><tt>  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</tt><tt><br>
        </tt><tt>  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</tt><br>
      </p>
      <p>results in:<br>
      </p>
      <p>/bin/mkdir -p /Users/ring/devel/fpc-avr/rtl/units/avr-embedded<br>
        /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<br>
        system.pp(293,1) Fatal: Internal error -1413909275<br>
      </p>
      <p>Michael<br>
      </p>
      <div class="moz-cite-prefix">Am 02.06.19 um 17:56 schrieb Christo
        Crause:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAGOmfbF=h0SPea10zL-AwmZi3ezcLr2gZmooby5f+yqS5jUD3Q@mail.gmail.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <div dir="ltr"><br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Sun, Jun 2, 2019 at
              4:51 PM Michael Ring <<a
                href="mailto:mail@michael-ring.org"
                moz-do-not-send="true">mail@michael-ring.org</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div>I tried answering a question on the list today and to
                do so I did my <br>
                'first time ever' compile of the avr target.<br>
                <br>
                This is how I tried to build the avr-embedded target on
                my Mac:<br>
                <br>
                   SUBARCH=avr5; BINUTILSPREFIX=avr- ; CROSSOPT="-O-
                -gw2 -dDEBUG"<br>
                   make clean buildbase  CROSSINSTALL=1
                OS_TARGET=embedded <br>
                CPU_TARGET=avr SUBARCH=$SUBARCH CROSSOPT="$CROSSOPT" <br>
                BINUTILSPREFIX=$BINUTILSPREFIX <br>
OPT="-XR/Library/Developer/CommandLineTools//SDKs/MacOSX.sdk/" || exit 1<br>
                <br>
              </div>
              [snip]<br>
              <div>
                /Users/ring/devel/fpc-avr/rtl/units/avr-embedded/system.s:
                Assembler <br>
                messages:<br>
/Users/ring/devel/fpc-avr/rtl/units/avr-embedded/system.s:90477: Error:
                <br>
                value of 68582 too large for field of 2 bytes at 4713<br>
/Users/ring/devel/fpc-avr/rtl/units/avr-embedded/system.s:90485: Error:
                <br>
                value of 68582 too large for field of 2 bytes at 4731<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            The compiler picks dwarf3 by default to avoid this type of
            problem, see also <a
href="https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg35438.html"
              moz-do-not-send="true">https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg35438.html</a></div>
          <div class="gmail_quote"><br>
            <div>Try building without specifying -gw2 in CROSSOPT.<br>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org" moz-do-not-send="true">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" moz-do-not-send="true">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
    </blockquote>
  </body>
</html>