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

Khem Raj raj.khem at gmail.com
Sun Aug 3 02:47:12 UTC 2008


On Sat, Aug 2, 2008 at 8:45 AM, Koen Kooi <k.kooi at student.utwente.nl> wrote:
> 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 :)

I think using make install for staging should not be done. We should
generate complete package and then incrementally populate staging as
we populate rootfs. It will need cross ipk installation support.

My two cents.

Khem




More information about the Openembedded-devel mailing list