[OE-core] using an external (arm) toolchain - just checking i did this properly

Robert P. J. Day rpjday at crashcourse.ca
Wed Aug 1 23:57:26 UTC 2012


On Wed, 1 Aug 2012, McClintock Matthew-B29882 wrote:

> On Wed, Aug 1, 2012 at 6:36 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> >
> >   having never used an external toolchain to build an OE image, i
> > figured i'd give it a shot to build for qemuarm so, based on *minutes*
> > of research to see what it would take to use one from code sourcery,
> > what i came up with was:
> >
> > 1) download arm-2009q1-203-arm-none-linux-gnueabi.bin and run it to
> > install arm toolchain into a personal directory
> >
> > 2) add the following to my local.conf:
> >
> >   TCMODE = "external-sourcery"
> >   EXTERNAL_TOOLCHAIN = "/home/rpjday/CodeSourcery/Sourcery_G++_Lite"
> >
> > and that would appear to be it.  i'm going to poke around the recipe
> > files to see *how* using an external toolchain is supported but is the
> > above fundamentally correct for just using this one?  thanks.
>
> That worked for me.

  hmmmm ... trying to build a core-image-minimal gave me:

... snip ...
| + cp -a ERROR: ld.so: object ''\''libpseudo.so'\''' from LD_PRELOAD
cannot be preloaded: ignored.
/home/rpjday/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/lib/.
/home/rpjday/y/builds/oe/qemuarm_csl/tmp-eglibc/work/armv5te-oe-linux-gnueabi/external-sourcery-toolchain-2009q1-203-r7/image/lib
| cp: target
`/home/rpjday/y/builds/oe/qemuarm_csl/tmp-eglibc/work/armv5te-oe-linux-gnueabi/external-sourcery-toolchain-2009q1-203-r7/image/lib'
is not a directory
| ERROR: Function failed: do_install (see
/home/rpjday/y/builds/oe/qemuarm_csl/tmp-eglibc/work/armv5te-oe-linux-gnueabi/external-sourcery-toolchain-2009q1-203-r7/temp/log.do_install.26331
for further information)
NOTE: package external-sourcery-toolchain-2009q1-203-r7: task
do_install: Failed
ERROR: Task 270
(/home/rpjday/y/src/oe-core/meta/recipes-core/meta/external-sourcery-toolchain.bb,
do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 83 tasks of which 78 didn't need to be
rerun and 1 failed.
ERROR: An uncaught exception occured in runqueue, please see the
failure below:

  but i'm *guessing* it's because i don't have the 32-bit libs
installed on my 64-bit ubuntu system.  i'll worry about that after
food.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list