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

Khem Raj raj.khem at gmail.com
Wed Mar 11 03:41:02 UTC 2009


On Tuesday 10 March 2009 20:05:09 Denys Dmytriyenko wrote:
> On Tue, Mar 10, 2009 at 10:35:19AM -0700, Khem Raj wrote:
> > 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
>
> I'll save you some trouble - been building i686-generic on I32 x86 for
> months w/o a problem. Angstrom distro with a small overlay - configuration
> is pretty basic.
>
[snip]
> i686-linux holds my native packages
> i686-angstrom-linux holds my target/cross packages, including gcc-cross

Yeah this makes your target triplet different then your host triplet and hence 
it compiles a correct cross gcc for you.

> i686-generic-angstrom-linux holds machine-specific target packages

-- 
Khem Raj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090310/932c8617/attachment-0002.sig>


More information about the Openembedded-devel mailing list