<?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>i.MX Processors中的主题 Re: How to have OpenMP available on Yocto for iMX6?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-have-OpenMP-available-on-Yocto-for-iMX6/m-p/321321#M42881</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;One solution to have OpenMP is to edit the configure file "local.conf" by adding :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;CORE_IMAGE_EXTRA_INSTALL += &lt;/SPAN&gt;”&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;libgomp libgomp-dev libgomp-staticdev&lt;/SPAN&gt;”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Maurice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2014 06:08:18 GMT</pubDate>
    <dc:creator>maurice</dc:creator>
    <dc:date>2014-10-10T06:08:18Z</dc:date>
    <item>
      <title>How to have OpenMP available on Yocto for iMX6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-have-OpenMP-available-on-Yocto-for-iMX6/m-p/321319#M42879</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;I have the the official release from Freescale to use Yocto. I created a sdk cross-toolchain by the command 'bitbake linux-imx -c populate-sdk' then I launched the script in tmp/deploy/sdk. Version of poky used is 1.5.3.&lt;/P&gt;&lt;P&gt;However, I want to use OpenMP in this cross-toolchain.&lt;/P&gt;&lt;P&gt;By default, the option of openMP is disable hence I modified&amp;nbsp; these recipes to comment the "--disable libgomp" :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;sources/poky/meta/recipes-core/gettext/gettext_0.18.3.1.bb&lt;/LI&gt;&lt;LI&gt;sources/poky/meta/recipes-devtools/gcc/gcc-4.8.inc&lt;/LI&gt;&lt;LI&gt;sources/poky/meta/recipes-devtools/gcc/gcc-cross-canadian.inc&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Then, after creating&amp;nbsp; the sdk cross-toolchain, I have his error&lt;/P&gt;&lt;P&gt;"...i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.1&lt;STRONG&gt;/ld: error&lt;/STRONG&gt;:&amp;nbsp; hello &lt;STRONG&gt;uses VFP register arguments&lt;/STRONG&gt;, ./libgomp.a(parallel.o) does not&lt;/P&gt;&lt;P&gt;... i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.1/ld: &lt;STRONG&gt;failed to merge target specific data of file&lt;/STRONG&gt; ./libgomp.a(parallel.o)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, I need to use the option "-mfloat-abi=hard".&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Maurice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 07:57:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-have-OpenMP-available-on-Yocto-for-iMX6/m-p/321319#M42879</guid>
      <dc:creator>maurice</dc:creator>
      <dc:date>2014-07-17T07:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to have OpenMP available on Yocto for iMX6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-have-OpenMP-available-on-Yocto-for-iMX6/m-p/321320#M42880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi maurice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My opinion that this may be caused by specifics of hard float point&lt;/P&gt;&lt;P&gt;implementation on i.MX6. According to links below &lt;/P&gt;&lt;P&gt;"support for this lib [OpenMP] is only for ARMv7 arch ..only HardFloat can be used"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also from sect.12.3.2 "Core configuration" &lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation"&gt;IMX6DQRM&lt;/A&gt;&amp;nbsp; :&lt;/P&gt;&lt;P&gt;"FPU" is not present, only NEON. This may incur some&lt;/P&gt;&lt;P&gt;implications mentioned in links below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://openmp.org/forum/viewtopic.php?f=3&amp;amp;t=1255"&gt;http://openmp.org/forum/viewtopic.php?f=3&amp;amp;t=1255&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://wiki.debian.org/ArmHardFloatPort"&gt;https://wiki.debian.org/ArmHardFloatPort&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For speeding resolution I would suggest to post this &lt;/P&gt;&lt;P&gt;to meta-fsl-arm mailing list, so that our yocto developers&lt;/P&gt;&lt;P&gt;or someone familiar with Yocto/OpenMP integration could try&lt;/P&gt;&lt;P&gt;to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://lists.yoctoproject.org/listinfo/meta-freescale"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 06:25:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-have-OpenMP-available-on-Yocto-for-iMX6/m-p/321320#M42880</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-07-18T06:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to have OpenMP available on Yocto for iMX6?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-have-OpenMP-available-on-Yocto-for-iMX6/m-p/321321#M42881</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;One solution to have OpenMP is to edit the configure file "local.conf" by adding :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;CORE_IMAGE_EXTRA_INSTALL += &lt;/SPAN&gt;”&lt;SPAN style="font-size: 9.0pt; font-family: 'MS Shell Dlg 2','sans-serif'; color: black;"&gt;libgomp libgomp-dev libgomp-staticdev&lt;/SPAN&gt;”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Maurice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 06:08:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-have-OpenMP-available-on-Yocto-for-iMX6/m-p/321321#M42881</guid>
      <dc:creator>maurice</dc:creator>
      <dc:date>2014-10-10T06:08:18Z</dc:date>
    </item>
  </channel>
</rss>

