[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:15:00 UTC 2012


On Thu, 2 Aug 2012, Robert P. J. Day wrote:

>
>   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.

  oh, wait, this looks like it might be informative:

http://www.mail-archive.com/meta-ti@yoctoproject.org/msg00391.html

i will investigate further.

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