[oe] glibc_2.9 compile failed for armv5te

Phil Blundell philb at gnu.org
Fri Oct 16 14:45:18 UTC 2009


On Fri, 2009-10-16 at 16:02 +0200, Steffen Sledz wrote:
> > My tries to identifiy the commit responsible to this problem drive me
> > crazy. Everytime i thought i'de catched the causer a recheck brought a
> > different result. :(
> > 
> > So i updated to the HEAD (commit
> > 9a6a9e12a1ef50296621c2eea9fe385464b64f02) and tried again. And really
> > it seems that the behaviour is not deterministic:
> > ...
> 
> Disabling parallel make for glibc seems to fix this problem (but i'm
> not really sure).
> 
> Any protests against putting a
> 
>   PARALLEL_MAKE = " "
> 
> into recipes/glibc/glibc_2.9.bb? Or better into recipes/glibc/glibc.inc?

Putting it in glibc.inc definitely seems like a bad idea unless there is
evidence to suggest that all versions of glibc have this problem.
Nobody else has reported it previously, so I am guessing that either it
is specific to 2.9 or it is in some way unique to your system.

Assuming that it is a general problem with 2.9 then a better solution
would obviously be to find and fix the dependency problem.  Here's a
rough guide as to how to attack that:

1. Find the compile command that corresponds to the failing file
(setjmp.os or whatever it was).  Modify the command to replace -c with
-E and remove the "-o ..." option, then run it by hand.  This will
output the preprocessed source to standard output.

2. Inspect the preprocessed source to find out which symbol is not being
correctly defined.

3. Run a build without -j (so that it works) and then use grep to
establish which header file is meant to define the symbol in question.

p.






More information about the Openembedded-devel mailing list