<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Arial">Hi,</font><div><font class="Apple-style-span" face="Arial">&nbsp; &nbsp; &nbsp; I've added the meta-xilinx layer, and modified my&nbsp;<span style="font-size: 9pt; ">build/conf/local.conf </span>file as follows:</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><div><font class="Apple-style-span" face="Monaco" size="2"># Set the target machine details</font></div><div><font class="Apple-style-span" face="Monaco" size="2">MACHINE ?= "virtex5"</font></div><div><font class="Apple-style-span" face="Monaco" size="2"># Set Xilinx Platform Studio hardware project path</font></div><div><font class="Apple-style-span" face="Monaco" size="2">XILINX_BSP_PATH ?= "/project/xilinx-ml507"</font></div><div><font class="Apple-style-span" face="Monaco" size="2"># Set target board</font></div><div><font class="Apple-style-span" face="Monaco" size="2">XILINX_BOARD ?= "ml507"</font></div></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">and when I try to build the meta-toolchain</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Monaco" size="2">$&nbsp;cd /tool/yocto/poky</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><font class="Apple-style-span" face="Monaco" size="2">$ source oe-init-build-env build</font></div><div><font class="Apple-style-span" face="Monaco" size="2">$ bitbake meta-toolchain</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">I get the following errors:</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><div><font class="Apple-style-span" face="Monaco" size="2">ERROR: Execution of event handler 'check_sanity_eventhandler' failed</font></div><div><font class="Apple-style-span" face="Monaco" size="2">Traceback (most recent call last):</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; File "/tool/yocto/poky/bitbake/lib/bb/utils.py", line 397, in better_eval(source=&lt;code object &lt;module&gt; at 0x344b6b0, file "MACHINE_ARCH", line 1&gt;, locals={'d': &lt;bb.data_smart.DataSmart object at 0x1450050&gt;}):</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &nbsp;def better_eval(source, locals):</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &gt; &nbsp; &nbsp;return eval(source, _context, locals)</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &nbsp;</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; File "MACHINE_ARCH", line 1, in &lt;module&gt;</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; File "/tool/yocto/poky/bitbake/lib/bb/data_smart.py", line 282, in DataSmart.getVar(var='TUNE_PKGARCH', expand=True, noweakdefault=False):</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if expand and value:</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return self.expand(value, var)</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return value</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; File "/tool/yocto/poky/bitbake/lib/bb/data_smart.py", line 151, in DataSmart.expand(s='${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)}', varname='TUNE_PKGARCH'):</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;def expand(self, s, varname = None):</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp;return self.expandWithRefs(s, varname).value</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &nbsp;</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; File "/tool/yocto/poky/bitbake/lib/bb/data_smart.py", line 141, in DataSmart.expandWithRefs(s='${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)}', varname='TUNE_PKGARCH'):</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;except Exception as exc:</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;raise ExpansionError(varname, s, exc)</font></div><div><font class="Apple-style-span" face="Monaco" size="2">&nbsp; &nbsp; &nbsp;</font></div><div><font class="Apple-style-span" face="Monaco" size="2">ExpansionError: Failure expanding variable TUNE_PKGARCH, expression was ${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)} which triggered exception SyntaxError: EOL while scanning string literal (TUNE_PKGARCH, line 1)</font></div><div><font class="Apple-style-span" face="Monaco" size="2"><br></font></div><div><font class="Apple-style-span" face="Monaco" size="2">ERROR: Failure expanding variable TUNE_PKGARCH, expression was ${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)} which triggered exception SyntaxError: EOL while scanning string literal (TUNE_PKGARCH, line 1)</font></div><div><font class="Apple-style-span" face="Monaco" size="2">ERROR: Command execution failed: Exited with 1</font></div><div><font class="Apple-style-span" face="Monaco" size="2"><br></font></div><div><font class="Apple-style-span" face="Monaco" size="2">Summary: There were 3 ERROR messages shown, returning a non-zero exit code.</font></div></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Has support for the PowerPC440 processor (present in the Virtex-5 FPGA) been removed from the newer gcc-versions?</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Best regards,</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Elvis Dowson</font></div></body></html>