All of lore.kernel.org
 help / color / mirror / Atom feed
* Can not compile u-boot with meta toolchain
@ 2015-06-16 18:16 mar.krzeminski
  2015-06-16 18:36 ` mar.krzeminski
  0 siblings, 1 reply; 2+ messages in thread
From: mar.krzeminski @ 2015-06-16 18:16 UTC (permalink / raw)
  To: yocto

Hi,

I've got problem with compiling u-boot usind SDK.
I am building image for my platform, then I am running commnad bitbake 
meta-toolchain.
In result I've got:
   CC      examples/standalone/hello_world.o
   LD      examples/standalone/hello_world
arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc
make[2]: *** [examples/standalone/hello_world] Error 1
scripts/Makefile.build:421: recipe for target 'examples/standalone' failed
make[1]: *** [examples/standalone] Error 2
Makefile:1145: recipe for target 'examples' failed
make: *** [examples] Error 2

In yocto environment u-boot builds fine.
I've also tried
unset LDFLAGS
unset CFLAGS
unset CPPFLAHS
before compilation.

What might be wrong here?

Regards,
Marcin


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-16 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16 18:16 Can not compile u-boot with meta toolchain mar.krzeminski
2015-06-16 18:36 ` mar.krzeminski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.