Testing Env: Host: Ubuntu 10.10 x86_64 Kernel: 2.6.35-30-generic Image location: http://autobuilder.yoctoproject.org/nightly/20110708-1/ Tree/Branch: Poky/1.1_M2 Poky Commit: 9f4eaeef33da5595748253d59d95c7ca548e28fa With 20110708 build, gcc can not work on all platforms. For example, when using gcc to compile a test file: ############# root@qemuarm:~/# gcc -o test test.c -lm gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. #############
I found a commit to fix this issue 2 months ago, but it does not work now. commit 021e79298848a89beb34f5a387d830ae8454bf82 Author: Nitin A Kamble <nitin.a.kamble@intel.com> Date: Wed May 11 16:55:04 2011 -0700 gcc: fix target gcc runtime issue The liblto_plugin.so file is not packages for the target recipe causing this gcc failure on the target. gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found (From OE-Core rev: a121494f9bdebb940e3f2f121040988be6dca592) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewing the packaging that Richard did recently.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2429773613cb95b6a0541b5cce6ce1338d5cfc2b
Verified it with 20110715 build Image location: http://autobuilder.pokylinux.org/nightly/20110715-1/ Tree/Branch: Poky/1.1_M2 Poky Commit: 93a2ca70482f09e93469481936302e7b6847156e