<?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>topic Re: imx8mq+4.14.78+yocto:aarch64-poky-linux-gcc: error: unrecognized command line option ‘-mfpu=neon’ in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-4-14-78-yocto-aarch64-poky-linux-gcc-error-unrecognized/m-p/893772#M135112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, we are unable to assist you with information related to the ARM processor, mostly because we do not have access to that information. I have found the below, hope it can help you. I apologize for the inconveniences this could give you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.arm.com/docs/100748/latest/using-common-compiler-options/selecting-floating-point-options"&gt;https://developer.arm.com/docs/100748/latest/using-common-compiler-options/selecting-floating-point-options&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2019 18:11:03 GMT</pubDate>
    <dc:creator>diegoadrian</dc:creator>
    <dc:date>2019-06-07T18:11:03Z</dc:date>
    <item>
      <title>imx8mq+4.14.78+yocto:aarch64-poky-linux-gcc: error: unrecognized command line option ‘-mfpu=neon’</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-4-14-78-yocto-aarch64-poky-linux-gcc-error-unrecognized/m-p/893769#M135109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community:&lt;/P&gt;&lt;P&gt;&amp;nbsp;I use imx8mq+4.14.78+yocto bsp，and I "&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal;"&gt;bitbake fsl-image-qt5-validation-imx -c populate_sdk&lt;/SPAN&gt;"， get the sdk。now I want to compile a ".c" file with options "&lt;SPAN style="color: #0000ff;"&gt;-mfpu=neon -mfloat-abi=hard&lt;/SPAN&gt;"。&lt;/P&gt;&lt;P&gt;but I get follow error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;aarch64-poky-linux-gcc --sysroot=/opt/fsl-imx-wayland/4.14-sumo/sysroots/aarch64-poky-linux -mfpu=neon -mfloat-abi=soft -O3 test_vfp_hard.c -o TEST_VFP_SOFT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;aarch64-poky-linux-gcc: error: unrecognized command line option ‘-mfpu=neon’&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;aarch64-poky-linux-gcc: error: unrecognized command line option ‘-mfloat-abi=soft’&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;make: *** [soft] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 13:13:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mq-4-14-78-yocto-aarch64-poky-linux-gcc-error-unrecognized/m-p/893769#M135109</guid>
      <dc:creator>传策薛</dc:creator>
      <dc:date>2019-05-14T13:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mq+4.14.78+yocto:aarch64-poky-linux-gcc: error: unrecognized command line option ‘-mfpu=neon’</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-4-14-78-yocto-aarch64-poky-linux-gcc-error-unrecognized/m-p/893770#M135110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently, you need to export some flags on your makefile:&lt;/P&gt;&lt;PRE style="color: #24292e; background-color: #f6f8fa; margin-bottom: 16px; padding: 16px;"&gt;&lt;CODE style="background: transparent; border: 0px;"&gt;export CFLAGS="-mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can find more information on the below web page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/fm4dd/c663217935dc17f0fc73c9c81b0aa845" rel="nofollow noopener noreferrer" target="_blank"&gt;https://gist.github.com/fm4dd/c663217935dc17f0fc73c9c81b0aa845&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 23:49:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mq-4-14-78-yocto-aarch64-poky-linux-gcc-error-unrecognized/m-p/893770#M135110</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-05-17T23:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mq+4.14.78+yocto:aarch64-poky-linux-gcc: error: unrecognized command line option ‘-mfpu=neon’</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-4-14-78-yocto-aarch64-poky-linux-gcc-error-unrecognized/m-p/893771#M135111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81636iCB13DA4AA7359C42/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems aarch64 does not support "-mfloat-abi=hard"，"-mfpu=neon-fp-armv8"， "-mneon-for-64bits".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options" title="https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options"&gt;Using the GNU Compiler Collection (GCC): AArch64 Options&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found some ARM64 information. The aarch64-poky-linux-xx compiler supports hardware floating point arithmetic by default. Is it correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2019 03:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mq-4-14-78-yocto-aarch64-poky-linux-gcc-error-unrecognized/m-p/893771#M135111</guid>
      <dc:creator>传策薛</dc:creator>
      <dc:date>2019-05-18T03:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mq+4.14.78+yocto:aarch64-poky-linux-gcc: error: unrecognized command line option ‘-mfpu=neon’</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-4-14-78-yocto-aarch64-poky-linux-gcc-error-unrecognized/m-p/893772#M135112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, we are unable to assist you with information related to the ARM processor, mostly because we do not have access to that information. I have found the below, hope it can help you. I apologize for the inconveniences this could give you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.arm.com/docs/100748/latest/using-common-compiler-options/selecting-floating-point-options"&gt;https://developer.arm.com/docs/100748/latest/using-common-compiler-options/selecting-floating-point-options&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 18:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mq-4-14-78-yocto-aarch64-poky-linux-gcc-error-unrecognized/m-p/893772#M135112</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-06-07T18:11:03Z</dc:date>
    </item>
  </channel>
</rss>

