[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#9537: errors running test suite
From: |
Jim Meyering |
Subject: |
Re: bug#9537: errors running test suite |
Date: |
Sun, 18 Sep 2011 11:13:14 +0200 |
Montosh Bisht wrote:
> Few errors were reported in the test. Hope this helps.
>
> uname -a
> Linux devhost 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC
> 2011 x86_64 x86_64 x86_64 GNU/Linux
> Fedora 15
> gcc --version
> gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
>
> export CFLAGS='-pipe -Ofast -march=core2 -fopenmp -mfpmath=sse -flto'
> && export CXXFLAGS='-pipe -Ofast -march=core2 -fopenmp -mfpmath=sse '
>
> ./configure --prefix=/usr --exec-prefix=/ --disable-rpath
>
> make -j4
> make -j4 check
>
>
> =====================================================
> GNU coreutils 8.13: gnulib-tests/test-suite.log
> =====================================================
>
> 9 of 259 tests failed. (10 tests were not run).
...
> FAIL: test-frexp-nolibm (exit: 134)
> FAIL: test-frexpl-nolibm (exit: 134)
> FAIL: test-isnand-nolibm (exit: 134)
> FAIL: test-math (exit: 1)
> FAIL: test-strtod (exit: 134)
> FAIL: test-vasprintf-posix (exit: 134)
> FAIL: test-vfprintf-posix.sh (exit: 1)
> FAIL: test-vprintf-posix.sh (exit: 1)
> FAIL: test-xprintf-posix.sh (exit: 1)
Thank you for reporting those.
However, the fact that some compliance-checking tests fail when you
use gcc's -Ofast (a compliance-disregarding option) is expected:
-Ofast
Disregard strict standards compliance. -Ofast enables all -O3
optimizations. It also enables optimizations that are not valid
for all standard compliant programs. It turns on -ffast-math.
We could add code in those tests to skip the failing parts
when -Ofast is used (by testing some combination of __FAST_MATH__
and __FINITE_MATH_ONLY__).
I've marked this coreutils issue as "done", and Cc'd the bug-gnulib
mailing list, since those tests all come from the Gnulib project.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: bug#9537: errors running test suite,
Jim Meyering <=