Testsuite failure on BLFS gcc-libmudflap due to LANG setting
lnimbus at club-internet.fr
Sun Sep 16 04:56:31 PDT 2007
I have not been able to search the archives (how do I search the whole
archive, rather than one month at a time ?) so this subject might have
been addressed befor. Sorry if this is the case.
The gcc-4.1.2 test suite shows as much as 41 unexpected failures in the
when run with LANG=fr_FR.UTF-8 (which was set during the LFS build, and
seems to work otherwise). All these tests use the -static flag. The same
tests run OK with (export LANG=C; make -k check).
The reason is that the compiler issues warnings which are unavoidable,
explaining that the shared libraries will be used even if linked
statically. If the warnings are in English, they are filtered out by the
expect-dejagnu machinery. But if they are in French, they remain in the
output and trigger the failure.
Maybe the book should mention that LANG should be set to C (or any en_XX
English locale) for running the test suite.
More information about the blfs-support