[poky] gcc 4.9.1 and stdint.h

Holger Hans Peter Freyther holger at freyther.de
Mon Nov 3 07:12:18 PST 2014


On Mon, Nov 03, 2014 at 08:04:59AM +0000, Richard Purdie wrote:

Dear Richard,

> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=678e8798ebe0f4fd1bd347db136f1499b8fe00c9

thanks a lot for explaining. I see how using the default sysroot
with external toolchains is going to cause issues. What is the
reasoning to have it for the canadian cross (hence meta-toolchain)?

E.g. when compiling U-Boot linking will fail when just passing
make CROSS_COMPILE=/opt/poky/1.7/.../arm-..- (not going through
the sourcing of the environment file) the linking wil fail due a
missing -lgcc but maybe I am doing something wrong as well.

  /opt/poky/1.7/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld.bfd   -g -Ttext 0xc100000 -o examples/standalone/hello_world -e hello_world examples/standalone/hello_world.o examples/standalone/libstubs.o -L . -lgcc
/opt/poky/1.7/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc
gpl-uboot/examples/standalone/Makefile:67: recipe for target 'examples/standalone/hello_world' failed
make[2]: *** [examples/standalone/hello_world] Error 1


holger


More information about the poky mailing list