<?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 IMX8M - Yocto - Build Error - in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Yocto-Build-Error/m-p/1161780#M162803</link>
    <description>&lt;DIV&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I try to setup imx-5.4.47-2.2.0 repo for IMX8qxpcomek.&lt;/DIV&gt;&lt;DIV&gt;follow the below steps to build imx-image-full image&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;$ mkdir imx-yocto-bsp&lt;/DIV&gt;&lt;DIV&gt;$ cd imx-yocto-bsp&lt;/DIV&gt;&lt;DIV&gt;$ repo init -u &lt;A href="https://source.codeaurora.org/external/imx/imx-manifest" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/imx-manifest&lt;/A&gt; -b imx-linux-zeus -m imx-5.4.47-2.2.0.xml&lt;/DIV&gt;&lt;DIV&gt;$ repo sync&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;$ DISTRO=fsl-imx-xwayland MACHINE=imx8qxpc0mek source imx-setup-release.sh -b bld-imx8qxp-mek&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;$ bitbake imx-image-full&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;it through below error while do compile some packages i.e opencv, qtbase, qtwayland....&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;aarch64-poky-linux-g++: fatal error: Killed signal terminated program cc1plus&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;by setting BB_NUMBER_THREADS=1&lt;/DIV&gt;or separately bulid the package then not getting the error. But we want proper solution instead of reducing the thread.&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Oct 2020 11:40:02 GMT</pubDate>
    <dc:creator>darsh_dev</dc:creator>
    <dc:date>2020-10-01T11:40:02Z</dc:date>
    <item>
      <title>IMX8M - Yocto - Build Error -</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Yocto-Build-Error/m-p/1161780#M162803</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I try to setup imx-5.4.47-2.2.0 repo for IMX8qxpcomek.&lt;/DIV&gt;&lt;DIV&gt;follow the below steps to build imx-image-full image&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;$ mkdir imx-yocto-bsp&lt;/DIV&gt;&lt;DIV&gt;$ cd imx-yocto-bsp&lt;/DIV&gt;&lt;DIV&gt;$ repo init -u &lt;A href="https://source.codeaurora.org/external/imx/imx-manifest" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/imx-manifest&lt;/A&gt; -b imx-linux-zeus -m imx-5.4.47-2.2.0.xml&lt;/DIV&gt;&lt;DIV&gt;$ repo sync&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;$ DISTRO=fsl-imx-xwayland MACHINE=imx8qxpc0mek source imx-setup-release.sh -b bld-imx8qxp-mek&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;$ bitbake imx-image-full&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;it through below error while do compile some packages i.e opencv, qtbase, qtwayland....&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;aarch64-poky-linux-g++: fatal error: Killed signal terminated program cc1plus&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;by setting BB_NUMBER_THREADS=1&lt;/DIV&gt;or separately bulid the package then not getting the error. But we want proper solution instead of reducing the thread.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Oct 2020 11:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Yocto-Build-Error/m-p/1161780#M162803</guid>
      <dc:creator>darsh_dev</dc:creator>
      <dc:date>2020-10-01T11:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8M - Yocto - Build Error -</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Yocto-Build-Error/m-p/1161841#M162815</link>
      <description>&lt;P&gt;Hello darshak,&lt;/P&gt;
&lt;P&gt;Most likely that is your problem. Running make -j 8 runs lots of process which use more memory. The problem above occurs when your system runs out of memory. In this case rather than the whole system falling over, the operating systems runs a process to score each process on the system. The one that scores the highest gets killed by the operating system to free up memory. If the process that is killed is cc1plus, gcc (perhaps incorrectly) interprets this as the process crashing and hence assumes that it must be a compiler bug. But it isn't really, the problem is the OS killed cc1plus, rather than it crashed.&lt;/P&gt;
&lt;P&gt;If this is the case, you are running out of memory. So run perhaps make -j 4 instead. This will mean fewer parallel jobs and will mean the compilation will take longer but hopefully will not exhaust your system memory.&lt;/P&gt;
&lt;P&gt;You can run again with BBTHREADS=1 but you need erase all your compilation bitbake -c clean&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 13:18:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Yocto-Build-Error/m-p/1161841#M162815</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2020-10-01T13:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8M - Yocto - Build Error -</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Yocto-Build-Error/m-p/1166196#M163333</link>
      <description>&lt;P&gt;It was the issue, because of the SWAP partition size on Server, After increasing the SWAP size (&amp;gt; 2XRAM size), issue not seen with higher number of &lt;STRONG&gt;-j 8 or &amp;gt;8&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 15:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Yocto-Build-Error/m-p/1166196#M163333</guid>
      <dc:creator>darsh_dev</dc:creator>
      <dc:date>2020-10-12T15:52:57Z</dc:date>
    </item>
  </channel>
</rss>

