[oe] failure on gcc-cross-initial-4.2.4-r5 for i686

Khem Raj raj.khem at gmail.com
Tue Mar 10 17:35:19 UTC 2009


On Tue, Mar 10, 2009 at 8:40 AM, Travis Stratman <tstratman at emacinc.com> wrote:
> Thanks Khem.
>
> On Mon, 2009-03-09 at 15:35 -0700, Khem Raj wrote:
>> On Mon, Mar 9, 2009 at 3:18 PM, Travis Stratman <tstratman at emacinc.com> wrote:
>
>> snip
>>
>> > PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
>> > PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
>> > PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
>>
>> Can you try by removing above three
>>
>> Rest of the changes seems like should not have effect.
>
> This doesn't seem to change anything. I made the changes, cleaned all
> glibc and gcc packages, then tried to build and I still get the same
> issue.
>
> Any other ideas?

Hmm looking closely it seems that your cross compiler is from
i686-linux -> i686-linux which is native configuration and intl
configury  is then trying to use
your freshly built CC instead of the BUILD_CC. In short its not really
thinking if it is cross compiling. I have a x86_64 box thats why it
worked for me because I am cross'ing from x86_64-linux to i686-linux

I will give it a shot on x86 box too. Meanwhile can you also define
TARGET_VENDOR = "something" for your distr and rebuild


Thx

-Khem




More information about the Openembedded-devel mailing list