[LLVMbugs] [Bug 22176] New: get_monthname check fails on Fedora 21

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 9 12:04:41 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22176

            Bug ID: 22176
           Summary: get_monthname check fails on Fedora 21
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: majerech.o at gmail.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

Running make check-libcxx on trunk version of libc++ on Fedora 21 produces the
following two failures. The installed version of glibc is 2.20-5.fc21.

$ make check-libcxx
[  0%] Built target cxxabi
[100%] Built target cxx
[100%] Running libcxx tests
Using configuration variant: libcxx
lit.py: config.py:437: note: inferred target_triple as:
'x86_64-unknown-linux-gnu'
lit.py: config.py:160: note: inferred use_system_lib as: False
lit.py: config.py:169: note: inferred use_clang_verify as: False
lit.py: config.py:257: note: inferred long_tests as: True
lit.py: config.py:69: note: Using compile flags: ['-std=c++11', '-nostdinc++',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/test/support',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/include',
'-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS',
'-v']
lit.py: config.py:70: note: Using link flags: ['-nodefaultlibs',
'-L/home/oxyd/development/llvm/llvm/build/lib',
'-Wl,-rpath,/home/oxyd/development/llvm/llvm/build/lib', '-lc++', '-lc++abi',
'-lgcc_eh', '-lc', '-lm', '-lpthread', '-lrt', '-lgcc_s']
lit.py: config.py:73: note: Using available_features: ['fedora-21',
'locale.fr_CA.ISO8859-1', 'fedora', 'locale.cs_CZ.ISO8859-2', 'clang',
'locale.fr_FR.UTF-8', 'locale.en_US.UTF-8', 'long_tests', 'clang-3.6', 'c++11',
'exceptions', 'rtti', 'locale.zh_CN.UTF-8', 'locale.ru_RU.UTF-8']
FAIL: libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp
(2336 of 4791)
******************** TEST 'libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp'
FAILED ********************
Compiled With:
['/home/oxyd/development/llvm/build/Release+Asserts/bin/clang++', '-o',
'/tmp/tmpPDzMAFexe', '/tmp/tmph7SLA9.o', '-std=c++11', '-nostdinc++',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/test/support',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/include',
'-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS',
'-v', '-nodefaultlibs', '-L/home/oxyd/development/llvm/llvm/build/lib',
'-Wl,-rpath,/home/oxyd/development/llvm/llvm/build/lib', '-lc++', '-lc++abi',
'-lgcc_eh', '-lc', '-lm', '-lpthread', '-lrt', '-lgcc_s']
Command: ['/tmp/tmpPDzMAFexe']
Exit Code: -6
Standard Error:
--
tmpPDzMAFexe:
/home/oxyd/development/llvm/llvm/projects/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp:78:
int main(): Assertion `i.base() == in+sizeof(in)/sizeof(in[0])-1' failed.
--

Compiled test failed unexpectedly!
********************
FAIL: libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp
(2337 of 4791)
******************** TEST 'libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp'
FAILED ********************
Compiled With:
['/home/oxyd/development/llvm/build/Release+Asserts/bin/clang++', '-o',
'/tmp/tmpdag4uUexe', '/tmp/tmpUCFK9r.o', '-std=c++11', '-nostdinc++',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/test/support',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/include',
'-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS',
'-v', '-nodefaultlibs', '-L/home/oxyd/development/llvm/llvm/build/lib',
'-Wl,-rpath,/home/oxyd/development/llvm/llvm/build/lib', '-lc++', '-lc++abi',
'-lgcc_eh', '-lc', '-lm', '-lpthread', '-lrt', '-lgcc_s']
Command: ['/tmp/tmpdag4uUexe']
Exit Code: -6
Standard Error:
--
tmpdag4uUexe:
/home/oxyd/development/llvm/llvm/projects/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp:87:
int main(): Assertion `i.base() == in+sizeof(in)/sizeof(in[0])-1' failed.
--

Compiled test failed unexpectedly!
********************
Testing Time: 446.33s
********************
Failing Tests (2):
    libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp
    libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp

  Expected Passes    : 4751
  Expected Failures  : 38
  Unexpected Failures: 2
projects/libcxx/test/CMakeFiles/check-libcxx.dir/build.make:49: recipe for
target 'projects/libcxx/test/CMakeFiles/check-libcxx' failed
make[3]: *** [projects/libcxx/test/CMakeFiles/check-libcxx] Error 1
CMakeFiles/Makefile2:6770: recipe for target
'projects/libcxx/test/CMakeFiles/check-libcxx.dir/all' failed
make[2]: *** [projects/libcxx/test/CMakeFiles/check-libcxx.dir/all] Error 2
CMakeFiles/Makefile2:6778: recipe for target
'projects/libcxx/test/CMakeFiles/check-libcxx.dir/rule' failed
make[1]: *** [projects/libcxx/test/CMakeFiles/check-libcxx.dir/rule] Error 2
Makefile:1835: recipe for target 'check-libcxx' failed
make: *** [check-libcxx] Error 2

The following check suggests that Fedora 21's locale files use an unexpected
value for May in the ru_RU.UTF-8 locale:

$ LANG=ru_RU.UTF-8 date +'%b %B' -d 2015-05-01
май Май

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150109/0a5f0f9b/attachment.html>


More information about the llvm-bugs mailing list