<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Layerscape中的主题 Re: QorIQ SDK2.0 compile float</title>
    <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702918#M2818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no problems if this toolchain is used for float operations.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2017 10:40:37 GMT</pubDate>
    <dc:creator>Pavel</dc:creator>
    <dc:date>2017-10-18T10:40:37Z</dc:date>
    <item>
      <title>QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702915#M2815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now, I use the SDK2.0 to compile my program which had float variable, but gcc display:&lt;/P&gt;&lt;P&gt;MPFR: Can't allocate memory (size=4294967288)&lt;BR /&gt;hello.c: In function 'main':&lt;BR /&gt;hello.c:5:5: internal compiler error: Aborted&lt;BR /&gt; float a=1.0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program:&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;float a=1.0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;a += 2;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;printf("a:%f \n",a);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;compile the program with the flowing command:&lt;/P&gt;&lt;P&gt;arm-fsl-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7 --sysroot=/opt/fsl-qoriq/2.0/sysroots/cortexa7hf-vfp-neon-fsl-linux-gnueabi hello.c -o hello&lt;BR /&gt;MPFR: Can't allocate memory (size=4294967288)&lt;BR /&gt;hello.c: In function 'main':&lt;BR /&gt;hello.c:5:5: internal compiler error: Aborted&lt;BR /&gt; float a=1.0;&lt;BR /&gt; ^&lt;BR /&gt;Please submit a full bug report,&lt;BR /&gt;with preprocessed source if appropriate.&lt;BR /&gt;&lt;SPAN&gt;See &amp;lt;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/gcc.gnu.org/bugs.html" rel="nofollow" target="_blank"&gt;http://gcc.gnu.org/bugs.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt; for instructions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that gcc MPFR's bug, then I how to fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 09:29:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702915#M2815</guid>
      <dc:creator>shunpinglin</dc:creator>
      <dc:date>2017-10-11T09:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702916#M2816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;It looks like that toolchain on your Linux host PC is not correctly installed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Use the following command sequence for toolchain installing and GCC using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;We use ls012atwr as example.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; bitbake fsl-toolchain&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; Run ./fsl-qoriq-glibc-x86_64-cortexa7hf-vfp-neon-toolchain-2.0.sh&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;from the following folder:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;/QorIQ-SDK-V2.0-20160527-yocto/build_ls1021atwr/tmp/deploy/sdk$&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="3"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; source ./environment-setup-cortexa7hf-vfp-neon-fsl-linux-gnueabi&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="4"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; $CC test_float.c -o test_float.elf&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 04:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702916#M2816</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-10-13T04:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702917#M2817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found this issue.Have you solved the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 01:37:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702917#M2817</guid>
      <dc:creator>haohouhao</dc:creator>
      <dc:date>2017-10-18T01:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702918#M2818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no problems if this toolchain is used for float operations.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702918#M2818</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-10-18T10:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702919#M2819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;my sh is:&amp;nbsp; fsl-qoriq-glibc&lt;STRONG&gt;-i686-c&lt;/STRONG&gt;ortexa7hf-vfp-neon-toolchain-2.0.sh (32bit ubuntu)&lt;/P&gt;&lt;P&gt;I exec the up commands,but it still fail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 06:47:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702919#M2819</guid>
      <dc:creator>shunpinglin</dc:creator>
      <dc:date>2017-10-24T06:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702920#M2820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What error messages do you see?&lt;/P&gt;&lt;P&gt;Perhaps there is a problem for permission for toolshain installing.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 09:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702920#M2820</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-10-24T09:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702921#M2821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;Those error messages:&lt;/P&gt;&lt;P&gt;arm-fsl-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7 --sysroot=/opt/fsl-qoriq/2.0/sysroots/cortexa7hf-vfp-neon-fsl-linux-gnueabi hello.c -o hello&lt;BR /&gt;MPFR: Can't allocate memory (size=4294967288)&lt;BR /&gt;hello.c: In function 'main':&lt;BR /&gt;hello.c:5:5: internal compiler error: Aborted&lt;BR /&gt; float a=1.0;&lt;BR /&gt; ^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 01:58:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702921#M2821</guid>
      <dc:creator>shunpinglin</dc:creator>
      <dc:date>2017-10-25T01:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702922#M2822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;My pc is Virtualbox ubuntu14.&lt;/P&gt;&lt;P&gt;Those error messages:&lt;/P&gt;&lt;P&gt;arm-fsl-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7 --sysroot=/opt/fsl-qoriq/2.0/sysroots/cortexa7hf-vfp-neon-fsl-linux-gnueabi hello.c -o hello&lt;BR /&gt;MPFR: Can't allocate memory (size=4294967288)&lt;BR /&gt;hello.c: In function 'main':&lt;BR /&gt;hello.c:5:5: internal compiler error: Aborted&lt;BR /&gt; float a=1.0;&lt;BR /&gt; ^&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 02:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702922#M2822</guid>
      <dc:creator>shunpinglin</dc:creator>
      <dc:date>2017-10-25T02:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702923#M2823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pavel,I have this issue,too.&lt;/P&gt;&lt;P&gt;I compile simple code with arm-fsl-linux-gnueabi-gcc ,it works.&lt;/P&gt;&lt;P&gt;But I compile libmodbus and iproute2 with&amp;nbsp; arm-fsl-linux-gnueabi-gcc,It will print MPFR: Can't allocate memory (size=4294967288).&lt;/P&gt;&lt;P&gt;Is something wrong here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 06:39:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702923#M2823</guid>
      <dc:creator>2838219522</dc:creator>
      <dc:date>2017-10-25T06:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: QorIQ SDK2.0 compile float</title>
      <link>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702924#M2824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Have you solved the issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2018 09:33:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QorIQ-SDK2-0-compile-float/m-p/702924#M2824</guid>
      <dc:creator>涛尹1</dc:creator>
      <dc:date>2018-07-15T09:33:38Z</dc:date>
    </item>
  </channel>
</rss>

