[yocto] native gcc compiler error

Khem Raj raj.khem at gmail.com
Mon Jul 18 07:45:44 PDT 2011


On Mon, Jul 18, 2011 at 5:58 AM, Kumar Gala <galak at kernel.crashing.org> wrote:
> I've been working on trying to get an e500v2 (linux-gnuspe) compiler working and seem to have build a native toolchain.  However when I try and compile a simple hello world style app I get:
>
> root at p2020-ds:~# gcc float.c
> gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
> compilation terminated.
>
> Wondering if anyone's seen this before and had any ideas.
>

You can try -fno-use-linker-plugin as a workaround. Does
liblto_plugin.so exist on target rfs ?
it might be then gcc driver bug if the library is not there then we
forgot to package it.

> - k



More information about the yocto mailing list