This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
After compiling glibc-2.10.1, make tests return errors.
- From: Richard Lemieux <rlemieu at cooptel dot qc dot ca>
- To: libc-help at sourceware dot org
- Date: Sat, 25 Jul 2009 01:12:50 -0400
- Subject: After compiling glibc-2.10.1, make tests return errors.
Hi,
I just compiled glibc-2.10.1 natively for an i686 Q6600 running linux-2.6.29.5
and gcc-4.2.2. I am at the point of making the tests.
I configure as follows. The straightforward configure leads to an error later
at compile time:
undefined reference to `__sync_fetch_and_add_4
The following configure command allows me to compile without errors.
CFLAGS="-march=i686 -mtune=generic -O3" ../glibc-2.10.1/configure
--prefix=/usr --with-headers=/sa107/wa_rlx/linux-2.6.29.5/usr/include
--disable-profile --enable-add-ons --enable-kernel=2.6.0
--libexecdir=/usr/lib/glibc
However the tests return errors. Are those to be expected? This is not the
first time I compile glibc but I feel a bit anxious every time I need to install
a new one.
First error occurs in the math library: math/test-double.out
testing double (without inline functions)
Failure: Real part of: cacosh (0 - 0 i) == 0.0 - pi/2 i: Exception "Invalid
operation" set
Failure: Real part of: cacosh (inf - inf i) == inf - pi/4 i: Exception "Invalid
operation" set
Failure: Real part of: cacosh (0 + inf i) == inf + pi/2 i: Exception "Invalid
operation" set
Test suite completed:
3041 test cases plus 2641 tests for exception flags executed.
3 errors occurred.
Then doing 'make check' again, I get,
GCONV_PATH=/sa107/wa_rlx/build_glibc/iconvdata LC_ALL=C
/sa107/wa_rlx/build_glibc/elf/ld-linux.so.2 --library-path
/sa107/wa_rlx/build_glibc:/sa107/wa_rlx/build_glibc/math:/sa107/wa_rlx/build_glibc/elf:/sa107/wa_rlx/build_glibc/dlfcn:/sa107/wa_rlx/build_glibc/nss:/sa107/wa_rlx/build_glibc/nis:/sa107/wa_rlx/build_glibc/rt:/sa107/wa_rlx/build_glibc/resolv:/sa107/wa_rlx/build_glibc/crypt:/sa107/wa_rlx/build_glibc/nptl
/sa107/wa_rlx/build_glibc/nptl/tst-mutex5 >
/sa107/wa_rlx/build_glibc/nptl/tst-mutex5.out
Timed out: killed the child process
make[2]: *** [/sa107/wa_rlx/build_glibc/nptl/tst-mutex5.out] Error 1
running the above command manually returns
Timed out: killed the child process
I can't make the other checks. Is glibc-2.10.1 supposed to be stable
and if not which one is?
Thanks
Richard