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

Robert P. J. Day rpjday at crashcourse.ca
Thu Aug 2 11:11:47 UTC 2012


  here's a summary of the eglibc config error i'm having trying to
bake a core-image-minimal for qemuarm on a fully-updated 64-bit ubuntu
12.04 system using code sourcery's arm toolchain..

  here's what i've added to the top of my local.conf:

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

when i run "bitbake core-image-minimal", the configure of eglibc
fails, and i've attached the config.log file, of which this would
appear to be the salient bit:

... snip ...
In file included from
/home/rpjday/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include-fixed/syslimits.h:7,
                 from
/home/rpjday/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include-fixed/limits.h:11,
                 from conftest.c:10:
/home/rpjday/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include-fixed/limits.h:122:61:
error: limits.h: No such file or directory
configure:3102: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "glibc"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"
| #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error

  that same error, unsurprisingly, occurs more than once.  i'm using a
fully up-to-date (git pulled) oe-core and bitbake.  i'm going to
wander off and find some coffee before digging into this, so i'm open
to advice.

rday

-- 

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

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 18051 bytes
Desc: 
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120802/487d0e1e/attachment-0002.obj>


More information about the Openembedded-core mailing list