<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"> I've added the meta-xilinx layer, and modified my <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">$ 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"> File "/tool/yocto/poky/bitbake/lib/bb/utils.py", line 397, in better_eval(source=<code object <module> at 0x344b6b0, file "MACHINE_ARCH", line 1>, locals={'d': <bb.data_smart.DataSmart object at 0x1450050>}):</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> def better_eval(source, locals):</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> > return eval(source, _context, locals)</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> </font></div><div><font class="Apple-style-span" face="Monaco" size="2"> File "MACHINE_ARCH", line 1, in <module></font></div><div><font class="Apple-style-span" face="Monaco" size="2"> 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"> if expand and value:</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> > return self.expand(value, var)</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> return value</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> 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"> def expand(self, s, varname = None):</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> > return self.expandWithRefs(s, varname).value</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> </font></div><div><font class="Apple-style-span" face="Monaco" size="2"> 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"> except Exception as exc:</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> > raise ExpansionError(varname, s, exc)</font></div><div><font class="Apple-style-span" face="Monaco" size="2"> </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>