[oe] [RFC]: Toolchain build sequence alteration.

Koen Kooi k.kooi at student.utwente.nl
Sat Aug 2 15:45:31 UTC 2008


Phil Blundell wrote:
> On Sat, 2008-08-02 at 14:03 +0200, Koen Kooi wrote:
>> -do_stage_prepend () {
>> +do_stage_append () {
>>    	# get rid of dummy libc.so
>>
>> This fixes builds from scratch for me (tried with armv5te and armv7a),
>> but I haven't tested if it breaks iconv again since I value working
>> builds over working iconv atm. I'm fairly sure it doesn't break iconv,
>> because the bogus libc.so is gone before glibc gets built, but as I
>> said, I haven't tested it.
>
> Iconv does still seem to be OK after this change.

Great! Thanks for testing this.

> However, the fact
> that this was needed indicates that something in gcc-c-i's do_stage()
> method is trying to link with the dummy libc.so, which might be causing
> some other subtle breakage along the lines of the original iconv
> problem.  Some scrutiny will be needed to figure out what exactly
> gcc-c-i is doing with libc.so at this point and whether or not it is
> safe to let it do so.

I suspect it's a side effect of using 'make install' for do_stage, but 
then again, I'm not a toolchain or gcc expert :)

regards,

Koen






More information about the Openembedded-devel mailing list