[llvm-dev] LibC++ failure on ARM

Craig, Ben via llvm-dev
2016-07-11T14:30:36Z

What C library is being used?  Maybe newlocale with the empty string
returns NULL with that C library.

My suspicion is that the test is failing in the test block starting at
line 48, where a std::locale is constructed with the empty string.

On 7/11/2016 9:15 AM, Renato Golin via llvm-dev wrote:
> 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
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux
Foundation Collaborative Project