[llvm-dev] LibC++ failure on ARM

Renato Golin via llvm-dev
2016-07-11T14:15:21Z

Hi Marshal,

ARM has recently moved the buildslave from single test to with/without
exception:

http://lab.llvm.org:8011/builders/libcxx-libcxxabi-libunwind-arm-linux

http://lab.llvm.org:8011/builders/libcxx-libcxxabi-libunwind-arm-linux-noexceptions

but both slaves have the same error that wasn't there before:

******************** TEST 'libc++ ::
std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp'
FAILED
Exit Code: -6
Standard Error:
--
terminating with uncaught exception of type std::runtime_error:
collate_byname<char>::collate_byname failed to construct for
--

Compiled test failed unexpectedly!
********************

This is the patch that changed the configuration:
http://llvm.org/viewvc/llvm-project?view=revision&revision=274747

and the only thing I can think could have caused it is the change in
librry order:

-            lit_extra_opts={'link_flags': '"-lc++abi -lc -lm
-lpthread -lunwind -ldl -L/opt/llvm/lib/clang/3.6.0/lib/linux
-lclang_rt.builtins-arm"'},
+            lit_extra_opts={'link_flags': '"-lc++abi -lpthread
-lunwind -ldl -lc -lm -L/opt/llvm/lib/clang/3.6.0/lib/linux
-lclang_rt.builtins-arm"'},

Any ideas?

cheers,
-renato