[lfs-support] make check for glibc
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:
>> When testing glibc in chapter 6, i obtain an error which looks like one of
>> those signaled in the book but :
>> make: *** [/sources/glibc-build/rt/tst-cputimer1.out] Error 1
>> make: *** [rt/tests] Error 2
>> Another error is marked as (ignored) but does not appear in the book :
>> make: [/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)
>> I guess I can go ahead but if someone can confirm :-)
> Are you on i686 or x86_64?
> I always had errors on i686 until I compiled glibc with the following
> CFLAGS and CXXFLAGS
> -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
More information about the lfs-support