[lfs-support] make check for glibc

Bruce Dubbs bruce.dubbs at gmail.com
Wed Jan 23 11:10:55 PST 2013

Baho Utot wrote:
> On 01/23/2013 12:43 PM, Philippe Delavalade wrote:
>> Hi.
>> When testing glibc in chapter 6, i obtain an error which looks like one of
>> those signaled in the book but :
>> make[2]: *** [/sources/glibc-build/rt/tst-cputimer1.out] Error 1
>> make[1]: *** [rt/tests] Error 2
>> Another error is marked as (ignored) but does not appear in the book :
>> make[2]: [/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)
>> I guess I can go ahead but if someone can confirm :-)
>> Thanks.
> Are you on i686 or x86_64?
> I always had errors on i686 until I compiled glibc with  the following
> -O2 -g -march=i486 -mtune=i686 -pipe
> Using those flags gives me a clean check with no errors at all.

-march overrides -mtune.  The later is only used if there is no 
appropriate -march setting (rarely).

-pipe is build optimization and doesn't do anything for the generated 

-g adds debugging info.  Probably not needed and removed later with the 
strip command.

   -- Bruce

More information about the lfs-support mailing list