[OE-core] OE gcc-cross with builtin sysroot, BUG?

Nicolas Dechesne nicolas.dechesne at linaro.org
Wed Sep 11 13:01:46 UTC 2013


On Wed, Sep 11, 2013 at 2:00 PM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> > So, of course we shouldn't ignore the CFLAGS from OE, and the CFLAGS
> > would set the right sysroot, and of course we fixed our software so
> > that we don't ignore CFLAGS anymore... but that still looks like a bug
> > to me.
> >
> Not really, its actually intentionally designed like this since its
> pointless rebuilding gcc-cross multiple time just because we want to use
> it with a different sysroot. We therefore just pass in the arguments to
> the compiler to ensure it uses the right one. If you remove them, you
> hit the problems you describe.
>
> We should probably compile in a bogus sysroot so it never works and
> makes this kind of issue more visible.
>

hmm. ok. i see. it would certainly help to have a better 'error' message...
i suppose that not having a builtin sysroot at all, would be an even bigger
problem as it would default to /usr/include...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130911/09e862d8/attachment-0002.html>


More information about the Openembedded-core mailing list