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

Robert P. J. Day rpjday at crashcourse.ca
Thu Aug 2 10:17:04 UTC 2012


On Wed, 1 Aug 2012, Chris Larson wrote:

> On Wed, Aug 1, 2012 at 6:06 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> > On Wed, 1 Aug 2012, Chris Larson wrote:
> >
> >> On Wed, Aug 1, 2012 at 4:57 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> >> > | + 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.
> >>
> >> Could be, also make sure you have NO32LIBS set to 0. The toolchain
> >> binaries are 32 bit, so need a 32 bit libpsuedo.
> >
> >   that would appear to be the issue.  however, since i already built
> > all the native tools, do i have to start from scratch and rebuild it
> > after changing the value of NO32LIBS?  since it would seem that the
> > current build of pseudo won't do me any good.  does that make any
> > sense?
>
> Yeah, I'd just run 'bitbake pseudo-native'.

  just to play it safe, i started the build fresh, this is what's at
the top of my local.conf:

TCMODE = "external-sourcery"
EXTERNAL_TOOLCHAIN = "/home/rpjday/CodeSourcery/Sourcery_G++_Lite"
NO32LIBS = "0"

and here's how the build of core-image-minimal ended:

=====

... snip ...

| checking for gcc... gcc
| checking how to run the C preprocessor... arm-none-linux-gnueabi-gcc -E --sysroot=/home/rpjday/y/builds/oe/qemuarm_csl/tmp-eglibc/sysroots/qemuarm-tcbootstrap  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s
| configure: error: in `/home/rpjday/y/builds/oe/qemuarm_csl/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-2.16-r4+svnr19383/build-arm-oe-linux-gnueabi':
| configure: error: C preprocessor "arm-none-linux-gnueabi-gcc -E --sysroot=/home/rpjday/y/builds/oe/qemuarm_csl/tmp-eglibc/sysroots/qemuarm-tcbootstrap  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s" fails sanity check
| See `config.log' for more details
| + '[' 1 '!=' 0 ']'
| + echo 'Configure failed. The contents of all config.log files follows to aid debugging'
| Configure failed. The contents of all config.log files follows to aid debugging
| + find /home/rpjday/y/builds/oe/qemuarm_csl/tmp-eglibc/work/armv5te-oe-linux-gnueabi/egl+ bbfatal 'oe_runconf failed'
| + echo 'ERROR: oe_runconf failed'
| ERROR: oe_runconf failed
| + exit 1
|
| ibc-2.16-r4+svnr19383/eglibc-2_16/libc -name config.log -print -exec cat '{}' ';'
| + bbfatal 'oe_runconf failed'
| + echo 'ERROR: oe_runconf failed'
| ERROR: oe_runconf failed
| + exit 1
| ERROR: Function failed: do_configure (see /home/rpjday/y/builds/oe/qemuarm_csl/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-2.16-r4+svnr19383/temp/log.do_configure.22222 for further information)
NOTE: package eglibc-2.16-r4+svnr19383: task do_configure: Failed
ERROR: Task 31 (/home/rpjday/y/src/oe-core/meta/recipes-core/eglibc/eglibc_2.16.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 852 tasks of which 351 didn't need to be rerun and 1 failed.
ERROR: An uncaught exception occured in runqueue, please see the failure below:

Summary: 1 task failed:
  /home/rpjday/y/src/oe-core/meta/recipes-core/eglibc/eglibc_2.16.bb, do_configure
Summary: There were 59 WARNING messages shown.
Summary: There were 5 ERROR messages shown, returning a non-zero exit code.

===== end =====

  that's the tail end of the log file.  i'm just about to start
investigating.

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