<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Yeah, I already filed a bugreport: </span><a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=4899" target="_blank" style="font-family:arial,sans-serif;font-size:13px">https://bugzilla.yoctoproject.org/show_bug.cgi?id=4899</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 7:16 PM, Saul Wold <span dir="ltr"><<a href="mailto:saul.wold@intel.com" target="_blank">saul.wold@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 07/24/2013 11:11 AM, Laszlo Papp wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It seems I can reproduce the issue with even beagleboard + poky using<br>
poky dylan vanilla.<br>
<br>
Anyone mind fixing this very nasty bug?<br>
<br>
</blockquote></div>
Please file a bug and include your local.conf and any other configuration files and setup information you have. I will look at it and assign it to the correct person.<br>
<br>
Sau!<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
On Wed, Jul 24, 2013 at 5:46 PM, Laszlo Papp <<a href="mailto:lpapp@kde.org" target="_blank">lpapp@kde.org</a><br></div><div class="im">
<mailto:<a href="mailto:lpapp@kde.org" target="_blank">lpapp@kde.org</a>>> wrote:<br>
<br>
Here you can find the two outputs for "bitbake -e busybox". The<br>
broken sourcery, and not so broken csl:<br>
<br>
<a href="http://ix.io/6QZ" target="_blank">http://ix.io/6QZ</a><br>
<a href="http://ix.io/6R1" target="_blank">http://ix.io/6R1</a><br>
<br>
Yeah, I know it is a bad practice to paste files to a mailing list,<br>
so forgive that for me now, please.<br>
<br>
<br>
On Wed, Jul 24, 2013 at 4:20 PM, Laszlo Papp <<a href="mailto:lpapp@kde.org" target="_blank">lpapp@kde.org</a><br></div><div class="im">
<mailto:<a href="mailto:lpapp@kde.org" target="_blank">lpapp@kde.org</a>>> wrote:<br>
<br>
If I change external-csl to external-sourcery, busybox keeps<br>
failing with the following error:<br>
<br>
ERROR: ExpansionError during parsing<br>
/home/lpapp/Projects/foo/<u></u>Yocto/poky-dylan-9.0.0/meta/<u></u>recipes-core/busybox/<a href="http://busybox_1.20.2.bb" target="_blank">busybox_<u></u>1.20.2.bb</a><br></div>
<<a href="http://busybox_1.20.2.bb" target="_blank">http://busybox_1.20.2.bb</a>>: Failure expanding variable<div class="im"><br>
do_configure: ExpansionError: Failure expanding variable<br>
do_configure, expression was do_prepare_config<br>
merge_config.sh -m .config ${@" ".join(find_cfgs(d))}<br>
cml1_do_configure<br>
which triggered exception NameError: name 'find_cfgs' is not<br>
defined<br>
ERROR: Command execution failed: Exited with 1<br>
<br>
Got a clue?<br>
<br>
<br>
On Wed, Jul 24, 2013 at 4:12 PM, Bill Traynor<br></div><div class="im">
<<a href="mailto:btraynor@gmail.com" target="_blank">btraynor@gmail.com</a> <mailto:<a href="mailto:btraynor@gmail.com" target="_blank">btraynor@gmail.com</a>>> wrote:<br>
<br>
On Wed, Jul 24, 2013 at 11:08 AM, Laszlo Papp <<a href="mailto:lpapp@kde.org" target="_blank">lpapp@kde.org</a><br></div><div class="im">
<mailto:<a href="mailto:lpapp@kde.org" target="_blank">lpapp@kde.org</a>>> wrote:<br>
> I was using that based on the non-official documentation<br>
(i.e. presentation<br>
> at the Linux event).<br>
<br>
external-sourcery is the new TCMODE and should work,<br>
however, I just<br>
thought trying the old one may work.<br>
<br>
><br>
><br>
> On Wed, Jul 24, 2013 at 4:06 PM, Bill Traynor<br></div><div class="im">
<<a href="mailto:btraynor@gmail.com" target="_blank">btraynor@gmail.com</a> <mailto:<a href="mailto:btraynor@gmail.com" target="_blank">btraynor@gmail.com</a>>> wrote:<br>
>><br>
>> Try with:<br>
>><br>
>> TCMODE = "external-csl"<br>
>> EXTERNAL_TOOLCHAIN = "/path/to/sourcery/toolchain"<br>
>><br>
>> On Wed, Jul 24, 2013 at 3:47 AM, Rifenbark, Scott M<br>
>> <<a href="mailto:scott.m.rifenbark@intel.com" target="_blank">scott.m.rifenbark@intel.com</a><br></div><div class="im">
<mailto:<a href="mailto:scott.m.rifenbark@intel.com" target="_blank">scott.m.rifenbark@<u></u>intel.com</a>>> wrote:<br>
>> > Hi,<br>
>> ><br>
>> ><br>
>> ><br>
>> > Can anyone address the toolchain questions here for<br>
Laszlo?<br>
>> ><br>
>> ><br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > Scott<br>
>> ><br>
>> ><br>
>> ><br>
>> > From: <a href="mailto:djszapi@archlinux.us" target="_blank">djszapi@archlinux.us</a><br></div>
<mailto:<a href="mailto:djszapi@archlinux.us" target="_blank">djszapi@archlinux.us</a>> [mailto:<a href="mailto:djszapi@archlinux.us" target="_blank">djszapi@archlinux.us</a><div><div class="h5"><br>
<mailto:<a href="mailto:djszapi@archlinux.us" target="_blank">djszapi@archlinux.us</a>>] On Behalf Of<br>
>> > Laszlo<br>
>> > Papp<br>
>> > Sent: Tuesday, July 23, 2013 11:52 PM<br>
>> > To: Rifenbark, Scott M<br>
>> > Cc: Wold, Saul<br>
>> > Subject: Re: FW: [OE-core] Doc: external toolchain<br>
>> ><br>
>> ><br>
>> ><br>
>> > OK, thanks.<br>
>> ><br>
>> ><br>
>> ><br>
>> > I am facing this issue, any clue?<br>
>> ><br>
>> ><br>
>> ><br>
>> > ERROR: Failed to obtain CodeSourcery toolchain<br>
version: Execution of<br>
>> > '/usr/bin/i686-pc-linux-gnu-<u></u>gcc -v' failed: command<br>
not found<br>
>> ><br>
>> > ERROR: Failed to obtain CodeSourcery toolchain<br>
version: Execution of<br>
>> > '/usr/bin/i686-pc-linux-gnu-<u></u>gcc -v' failed: command<br>
not found<br>
>> ><br>
>> ><br>
>> ><br>
>> > This is what I have in my build/conf/local.conf:<br>
>> ><br>
>> ><br>
>> ><br>
>> > ...<br>
>> ><br>
>> > TCMODE = "external-sourcery"<br>
>> ><br>
>> > EXTERNAL_TOOLCHAIN = "/usr"<br>
>> ><br>
>> > TARGET_PREFIX = "arm-none-linux-gnueabi-"<br>
>> ><br>
>> > ...<br>
>> ><br>
>> ><br>
>> ><br>
>> > The external toolchain does exist:<br>
>> ><br>
>> ><br>
>> ><br>
>> > /usr/bin/arm-none-linux-<u></u>gnueabi-gcc -v<br>
>> ><br>
>> > Using built-in specs.<br>
>> ><br>
>> > COLLECT_GCC=/usr/bin/arm-none-<u></u>linux-gnueabi-gcc<br>
>> ><br>
>> ><br>
>> ><br>
COLLECT_LTO_WRAPPER=/usr/bin/.<u></u>./libexec/gcc/arm-none-linux-<u></u>gnueabi/4.7.3/lto-wrapper<br>
>> ><br>
>> > Target: arm-none-linux-gnueabi<br>
>> ><br>
>> > Configured with:<br>
>> ><br>
/scratch/jbrown/2013.05-arm-<u></u>linux-release/src/gcc-4.7-<u></u>2013.05/configure<br>
>> > --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu<br>
>> > --target=arm-none-linux-<u></u>gnueabi --enable-threads<br>
--disable-libmudflap<br>
>> > --disable-libssp --disable-libstdcxx-pch<br>
>> > --enable-extra-sgxxlite-<u></u>multilibs<br>
>> > --with-arch=armv5te --with-gnu-as --with-gnu-ld<br>
>> > --with-specs='%{save-temps:<br>
>> > -fverbose-asm}<br>
>> ><br>
>> ><br>
%{funwind-tables|fno-unwind-<u></u>tables|mabi=*|ffreestanding|<u></u>nostdlib:;:-funwind-tables}<br>
>> > -D__CS_SOURCERYGXX_MAJ__=2013 -D__CS_SOURCERYGXX_MIN__=5<br>
>> > -D__CS_SOURCERYGXX_REV__=24<br>
%{O2:%{!fno-remove-local-<u></u>statics:<br>
>> > -fremove-local-statics}}<br>
>> > %{O*:%{O|O0|O1|O2|Os:;:%{!fno-<u></u>remove-local-statics:<br>
>> > -fremove-local-statics}}}' --enable-languages=c,c++<br>
--enable-shared<br>
>> > --enable-lto --enable-symvers=gnu --enable-__cxa_atexit<br>
>> > --with-pkgversion='Sourcery CodeBench Lite 2013.05-24'<br>
>> ><br>
--with-bugurl=<a href="https://sourcery.mentor.com/GNUToolchain/" target="_blank">https://<u></u>sourcery.mentor.com/<u></u>GNUToolchain/</a><br>
--disable-nls<br>
>> > --prefix=/opt/codesourcery<br>
>> ><br>
--with-sysroot=/opt/<u></u>codesourcery/arm-none-linux-<u></u>gnueabi/libc<br>
>> ><br>
>> ><br>
--with-build-sysroot=/scratch/<u></u>jbrown/2013.05-arm-linux-<u></u>release/install/arm-none-<u></u>linux-gnueabi/libc<br>
>> ><br>
>> ><br>
--with-gmp=/scratch/jbrown/<u></u>2013.05-arm-linux-release/obj/<u></u>pkg-2013.05-24-arm-none-linux-<u></u>gnueabi/arm-2013.05-24-arm-<u></u>none-linux-gnueabi.extras/<u></u>host-libs-i686-pc-linux-gnu/<u></u>usr<br>
>> ><br>
>> ><br>
--with-mpfr=/scratch/jbrown/<u></u>2013.05-arm-linux-release/obj/<u></u>pkg-2013.05-24-arm-none-linux-<u></u>gnueabi/arm-2013.05-24-arm-<u></u>none-linux-gnueabi.extras/<u></u>host-libs-i686-pc-linux-gnu/<u></u>usr<br>
>> ><br>
>> ><br>
--with-mpc=/scratch/jbrown/<u></u>2013.05-arm-linux-release/obj/<u></u>pkg-2013.05-24-arm-none-linux-<u></u>gnueabi/arm-2013.05-24-arm-<u></u>none-linux-gnueabi.extras/<u></u>host-libs-i686-pc-linux-gnu/<u></u>usr<br>
>> ><br>
>> ><br>
--with-ppl=/scratch/jbrown/<u></u>2013.05-arm-linux-release/obj/<u></u>pkg-2013.05-24-arm-none-linux-<u></u>gnueabi/arm-2013.05-24-arm-<u></u>none-linux-gnueabi.extras/<u></u>host-libs-i686-pc-linux-gnu/<u></u>usr<br>
>> > --with-host-libstdcxx='-<u></u>static-libgcc<br>
-Wl,-Bstatic,-lstdc++,-<u></u>Bdynamic<br>
>> > -lm'<br>
>> ><br>
>> ><br>
--with-cloog=/scratch/jbrown/<u></u>2013.05-arm-linux-release/obj/<u></u>pkg-2013.05-24-arm-none-linux-<u></u>gnueabi/arm-2013.05-24-arm-<u></u>none-linux-gnueabi.extras/<u></u>host-libs-i686-pc-linux-gnu/<u></u>usr<br>
>> ><br>
>> ><br>
--with-libelf=/scratch/jbrown/<u></u>2013.05-arm-linux-release/obj/<u></u>pkg-2013.05-24-arm-none-linux-<u></u>gnueabi/arm-2013.05-24-arm-<u></u>none-linux-gnueabi.extras/<u></u>host-libs-i686-pc-linux-gnu/<u></u>usr<br>
>> > --disable-libgomp --disable-libitm<br>
--enable-poison-system-<u></u>directories<br>
>> ><br>
>> ><br>
--with-build-time-tools=/<u></u>scratch/jbrown/2013.05-arm-<u></u>linux-release/install/arm-<u></u>none-linux-gnueabi/bin<br>
>> ><br>
>> ><br>
--with-build-time-tools=/<u></u>scratch/jbrown/2013.05-arm-<u></u>linux-release/install/arm-<u></u>none-linux-gnueabi/bin<br>
>> ><br>
>> > Thread model: posix<br>
>> ><br>
>> > gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24)<br>
>> ><br>
>> ><br>
>> ><br>
>> > On Wed, Jul 24, 2013 at 7:19 AM, Rifenbark, Scott M<br>
>> > <<a href="mailto:scott.m.rifenbark@intel.com" target="_blank">scott.m.rifenbark@intel.com</a><br></div></div><div><div class="h5">
<mailto:<a href="mailto:scott.m.rifenbark@intel.com" target="_blank">scott.m.rifenbark@<u></u>intel.com</a>>> wrote:<br>
>> ><br>
>> > Laszlo,<br>
>> ><br>
>> > Saul forwarded me this email regarding external<br>
toolchains. The "In<br>
>> > Progress" version of the YP Reference Manual has a new<br>
section on<br>
>> > toolchains<br>
>> > in general. This section, combined with the TCMODE<br>
glossary entry and a<br>
>> > FAQ<br>
>> > entry, both in the reference manual, comprise our<br>
information on the<br>
>> > external toolchain topic. Let me know what<br>
specifically would need<br>
>> > additionally addressed and I can get that on my plate<br>
to improve the doc<br>
>> > set.<br>
>> ><br>
>> > Thanks,<br>
>> > Scott<br>
>> ><br>
>> ><br>
>> ><br>
<a href="http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#cross-development-toolchain-generation" target="_blank">http://www.yoctoproject.org/<u></u>docs/latest/ref-manual/ref-<u></u>manual.html#cross-development-<u></u>toolchain-generation</a><br>
>> ><br>
>> ><br>
<a href="http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-TCMODE" target="_blank">http://www.yoctoproject.org/<u></u>docs/latest/ref-manual/ref-<u></u>manual.html#var-TCMODE</a><br>
>> ><br>
>> ><br>
<a href="http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#idm622640" target="_blank">http://www.yoctoproject.org/<u></u>docs/latest/ref-manual/ref-<u></u>manual.html#idm622640</a><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> >>-----Original Message-----<br>
>> >>From: Saul Wold [mailto:<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a><br>
<mailto:<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>>]<br>
>> >>Sent: Tuesday, July 23, 2013 3:52 PM<br>
>> >>To: Rifenbark, Scott M<br>
>> >>Subject: Fwd: [OE-core] Doc: external toolchain<br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >>-------- Original Message --------<br>
>> >>Subject: [OE-core] Doc: external toolchain<br>
>> >>Date: Tue, 23 Jul 2013 23:45:28 +0100<br></div></div><div><div class="h5">
>> >>From: Laszlo Papp <<a href="mailto:lpapp@kde.org" target="_blank">lpapp@kde.org</a> <mailto:<a href="mailto:lpapp@kde.org" target="_blank">lpapp@kde.org</a>>><br>
>> >>To: <a href="mailto:openembedded-core@lists.openembedded.org" target="_blank">openembedded-core@lists.<u></u>openembedded.org</a><br>
<mailto:<a href="mailto:openembedded-core@lists.openembedded.org" target="_blank">openembedded-core@<u></u>lists.openembedded.org</a>><br>
>> >><br>
>> >><br>
>> >><br>
>> >>Dear gents and ladies,<br>
>> >><br>
>> >>it would be nice to get some documentation about this<br>
subject. There is<br>
>> >>only one presentation with only a few short slides<br>
about the topic:<br>
>><br>
>><a href="http://events.linuxfoundation.org/images/stories/slides/elc2013_denys.pd" target="_blank">http://events.<u></u>linuxfoundation.org/images/<u></u>stories/slides/elc2013_denys.<u></u>pd</a><br>
>> >>f<br>
>> >><br>
>> >>I am now having some issues currently, and hard time<br>
to figure out what<br>
>> >>is going on. Note, this thread is not about getting<br>
help with that<br>
>> >>particular issue, but encouraging you to document<br>
this, for me,<br>
>> >>fundamental feature more thoroughly.<br>
>> >><br>
>> >>Thank you for your understanding.<br>
>> >><br>
>> >>Many thanks,<br>
>> >>Laszlo<br>
>> >><br>
>> >><br>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > ______________________________<u></u>_________________<br>
>> > yocto mailing list<br></div></div>
>> > <a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a> <mailto:<a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><u></u>><br>
>> > <a href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank">https://lists.yoctoproject.<u></u>org/listinfo/yocto</a><br>
>> ><br>
><br>
><br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>