Issue 175094
Summary [PPC64][JITLINK] orc tests failing for powerpc64le when using LLVM C++ library.
Labels libc++, backend:PowerPC, jitlink
Assignees mandlebug
Reporter mandlebug
    A number of the orc tests fail when building LLVM/Clang to use the LLVM C++library.

```
Failed Tests (8):
  ORC-powerpc64le-linux :: TestCases/Linux/ppc64/ehframe-default.cpp
  ORC-powerpc64le-linux :: TestCases/Linux/ppc64/lljit-ehframe.cpp
  ORC-powerpc64le-linux :: TestCases/Linux/ppc64/lljit-initialize-deinitialize.ll
 ORC-powerpc64le-linux :: TestCases/Linux/ppc64/priority-static-initializer.S
  ORC-powerpc64le-linux :: TestCases/Linux/ppc64/trivial-cxa-atexit.S
  ORC-powerpc64le-linux :: TestCases/Linux/ppc64/trivial-static-initializer.S
  ORC-powerpc64le-linux :: TestCases/Linux/ppc64/trivial-tls-pwr10.test
  ORC-powerpc64le-linux :: TestCases/Linux/ppc64/trivial-tls.S
```

A typical failure happens when jitlink is invoked and it has 2 error messages - 
```
llvm-jitlink error: Symbols not found: [ std::__throw_bad_array_new_length(), std::__glibcxx_assert_fail(char const*, int, char const*, char const*) ]
```
and
```
/scratch/sfertile/BuildBots/build/./bin/llvm-jitlink: Failed to materialize symbols: { (Platform, {__orc_rt_elfnix_platform_bootstrap, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long), __orc_rt_elfnix_run_program, orc_rt::Error orc_rt::make_error<orc_rt::StringError, char const (&) [51]>(char const (&) [51]), std::__detail::_Map_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, void*>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, void*> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, ...
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to