[oe] RFC: SDK/external-toolchain fixes

Denys Dmytriyenko denis at denix.org
Fri Sep 12 07:40:25 UTC 2008


On Thu, Sep 11, 2008 at 07:11:36PM -0700, Khem Raj wrote:
> > > > #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.
> > 
> > I agree that this is not a proper fix, but rather a hack. glibc has its own 
> > limits.h, which wants to include gcc's limits.h like this:
> > 
> > This issue was brought up before, but as far as I can tell, it wasn't fixed 
> > properly.
> > This is initial Koen's post about the issue:
> > http://projects.linuxtogo.org/pipermail/openembedded-devel/2008-April/005108.html
> > And here is your own reply with one of the possible solutions:
> > http://projects.linuxtogo.org/pipermail/openembedded-devel/2008-April/005111.html
> 
> right. So can you try this patch and see if this fixes the problem ?

Let me try it. The thing is it's for glibc only, I guess.

> > > > #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. 
> > 
> > Thanks! Whom should I ping to get it commited?
> 
> I can do it.

That would be great. Thanks.

-- 
Denys




More information about the Openembedded-devel mailing list