[oe] RFC: SDK/external-toolchain fixes

Khem Raj raj.khem at gmail.com
Fri Sep 12 00:02:08 UTC 2008


On (11/09/08 15:52), Denys Dmytriyenko wrote:
> Hi,
> 
> I've been playing with OE's SDK and external-toolchain features lately and
> stumbled upon couple of issues. Thanks to Philip Balister for commiting
> trivial fixes in, now I have 2 more, which require wider review. Please let
> me know of any problems or comments. Thanks.
> 
> 
> #1 gcc-cross-sdk 4.3.1 missing include-fixed
> http://bugs.openembedded.net/show_bug.cgi?id=4536
> 
> gcc 4.3.x has some GCC-provided headers in include-fixed (namely limits.h),
> which are missing in the gcc-cross-sdk version, rendering external toolchain
> unusable.

I do not like this fix. IMO Instead of copying them into include directory they should be let alone in include-fixed directory and packaged. You should add knowledge of this new directory to the failing package instead. What packages are broken because of this. 

> 
> Provided patch copies them in the include directory as a temporary solution.
> A similar temporary solution is present in gcc-cross_4.3.1, see
> do_stage_append()
> 
> 
> #2 external-toolchain misses providing runtime libgcc
> http://bugs.openembedded.net/show_bug.cgi?id=4542
> 
> Since external-toolchain misses specifying libgcc as provided runtime library,
> dependency tree picks up either gcc-cross or even gcc-noemu...

This one seems ok to me. 

> 
> Attached patch fixes the problem.
> 
> 
> -- 
> Denys
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list