[PATCH] D133846: [libunwind] Fix usage of `_dl_find_object` on 32-bit x86

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 14 05:43:06 PDT 2022


mgorny added a comment.

Well, this fixes the build failure but now half of the tests fail:

  lit: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/libcxx/test/newconfig.py:19: note: (llvm-libunwind-shared.cfg.in) Using %{cxx} substitution: '/usr/lib/ccache/bin/i686-pc-linux-gnu-clang++'
  lit: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/libcxx/test/newconfig.py:19: note: (llvm-libunwind-shared.cfg.in) Using %{flags} substitution: ' --target=i686-pc-linux-gnu'
  lit: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/libcxx/test/newconfig.py:19: note: (llvm-libunwind-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{include} -funwind-tables -std=c++2b -Werror -Wall -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_DISABLE_AVAILABILITY -fcoroutines-ts -Werror=thread-safety -Wuser-defined-warnings'
  lit: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/libcxx/test/newconfig.py:19: note: (llvm-libunwind-shared.cfg.in) Using %{link_flags} substitution: '-L %{lib} -Wl,-rpath,%{lib} -lunwind -ldl -Wl,--export-dynamic'
  lit: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/libcxx/test/newconfig.py:19: note: (llvm-libunwind-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %T -- '
  lit: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/libcxx/test/newconfig.py:19: note: (llvm-libunwind-shared.cfg.in) All available features: thread-safety, c++2b, linux, fcoroutines-ts, clang, clang-16.0.0, has-unix-headers, stdlib=llvm-libc++, clang-16.0, buildhost=linux, clang-16, glibc-old-ru_RU-decimal-point, locale.en_US.UTF-8, diagnose-if-support, objective-c++, host-has-gdb-with-python, stdlib=libc++, target=i686-pc-linux-gnu, libcpp-has-no-incomplete-format, verify-support, -fsized-deallocation, fdelayed-template-parsing, long_tests, has-fblocks, -faligned-allocation, has-clang-query, has-fconstexpr-steps, has-clang-tidy
  -- Testing: 12 tests, 12 workers --
  UNSUPPORTED: llvm-libunwind-shared.cfg.in :: floatregister.pass.cpp (1 of 12)
  UNSUPPORTED: llvm-libunwind-shared.cfg.in :: bad_unwind_info.pass.cpp (2 of 12)
  UNSUPPORTED: llvm-libunwind-shared.cfg.in :: remember_state_leak.pass.sh.s (3 of 12)
  UNSUPPORTED: llvm-libunwind-shared.cfg.in :: unwind_leaffunction.pass.cpp (4 of 12)
  UNSUPPORTED: llvm-libunwind-shared.cfg.in :: signal_unwind.pass.cpp (5 of 12)
  PASS: llvm-libunwind-shared.cfg.in :: alignment.compile.pass.cpp (6 of 12)
  PASS: llvm-libunwind-shared.cfg.in :: unw_getcontext.pass.cpp (7 of 12)
  PASS: llvm-libunwind-shared.cfg.in :: frameheadercache_test.pass.cpp (8 of 12)
  FAIL: llvm-libunwind-shared.cfg.in :: libunwind_01.pass.cpp (9 of 12)
  ******************** TEST 'llvm-libunwind-shared.cfg.in :: libunwind_01.pass.cpp' FAILED ********************
  Script:
  --
  : 'COMPILED WITH';  /usr/lib/ccache/bin/i686-pc-linux-gnu-clang++ /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/test/libunwind_01.pass.cpp  --target=i686-pc-linux-gnu -nostdinc++ -I /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/include -funwind-tables -std=c++2b -Werror -Wall -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_DISABLE_AVAILABILITY -fcoroutines-ts -Werror=thread-safety -Wuser-defined-warnings  -L /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib -Wl,-rpath,/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib -lunwind -ldl -Wl,--export-dynamic -o /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_01.pass.cpp.dir/t.tmp.exe
  : 'EXECUTED AS';  /usr/bin/python3.11 /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/run.py --execdir /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_01.pass.cpp.dir --  /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_01.pass.cpp.dir/t.tmp.exe
  --
  Exit Code: 250
  
  Command Output (stdout):
  --
  $ ":" "COMPILED WITH"
  $ "/usr/lib/ccache/bin/i686-pc-linux-gnu-clang++" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/test/libunwind_01.pass.cpp" "--target=i686-pc-linux-gnu" "-nostdinc++" "-I" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/include" "-funwind-tables" "-std=c++2b" "-Werror" "-Wall" "-Wextra" "-Wshadow" "-Wundef" "-Wno-unused-command-line-argument" "-Wno-attributes" "-Wno-pessimizing-move" "-Wno-c++11-extensions" "-Wno-noexcept-type" "-Wno-atomic-alignment" "-Wno-user-defined-literals" "-Wno-tautological-compare" "-Wsign-compare" "-Wunused-variable" "-Wunused-parameter" "-Wunreachable-code" "-Wno-unused-local-typedef" "-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER" "-D_LIBCPP_DISABLE_AVAILABILITY" "-fcoroutines-ts" "-Werror=thread-safety" "-Wuser-defined-warnings" "-L" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib" "-Wl,-rpath,/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib" "-lunwind" "-ldl" "-Wl,--export-dynamic" "-o" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_01.pass.cpp.dir/t.tmp.exe"
  $ ":" "EXECUTED AS"
  $ "/usr/bin/python3.11" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/run.py" "--execdir" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_01.pass.cpp.dir" "--" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_01.pass.cpp.dir/t.tmp.exe"
  # command stderr:
  starting test1
  t.tmp.exe: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/src/AddressSpace.hpp:612: bool libunwind::LocalAddressSpace::findUnwindSections(pint_t, UnwindInfoSections &): Assertion `findResult.dlfo_eh_dbase == findResult.dlfo_map_start && "libunwind expects the base address for DW_EH_PE_datarel to be identical" "with the start address of the PT_GNU_EH_FRAME segment"' failed.
  
  error: command failed with exit status: 250
  
  --
  
  ********************
  FAIL: llvm-libunwind-shared.cfg.in :: forceunwind.pass.cpp (10 of 12)
  ******************** TEST 'llvm-libunwind-shared.cfg.in :: forceunwind.pass.cpp' FAILED ********************
  Script:
  --
  : 'COMPILED WITH';  /usr/lib/ccache/bin/i686-pc-linux-gnu-clang++ /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/test/forceunwind.pass.cpp  --target=i686-pc-linux-gnu -nostdinc++ -I /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/include -funwind-tables -std=c++2b -Werror -Wall -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_DISABLE_AVAILABILITY -fcoroutines-ts -Werror=thread-safety -Wuser-defined-warnings  -L /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib -Wl,-rpath,/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib -lunwind -ldl -Wl,--export-dynamic -o /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/forceunwind.pass.cpp.dir/t.tmp.exe
  : 'EXECUTED AS';  /usr/bin/python3.11 /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/run.py --execdir /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/forceunwind.pass.cpp.dir --  /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/forceunwind.pass.cpp.dir/t.tmp.exe
  --
  Exit Code: 250
  
  Command Output (stdout):
  --
  $ ":" "COMPILED WITH"
  $ "/usr/lib/ccache/bin/i686-pc-linux-gnu-clang++" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/test/forceunwind.pass.cpp" "--target=i686-pc-linux-gnu" "-nostdinc++" "-I" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/include" "-funwind-tables" "-std=c++2b" "-Werror" "-Wall" "-Wextra" "-Wshadow" "-Wundef" "-Wno-unused-command-line-argument" "-Wno-attributes" "-Wno-pessimizing-move" "-Wno-c++11-extensions" "-Wno-noexcept-type" "-Wno-atomic-alignment" "-Wno-user-defined-literals" "-Wno-tautological-compare" "-Wsign-compare" "-Wunused-variable" "-Wunused-parameter" "-Wunreachable-code" "-Wno-unused-local-typedef" "-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER" "-D_LIBCPP_DISABLE_AVAILABILITY" "-fcoroutines-ts" "-Werror=thread-safety" "-Wuser-defined-warnings" "-L" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib" "-Wl,-rpath,/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib" "-lunwind" "-ldl" "-Wl,--export-dynamic" "-o" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/forceunwind.pass.cpp.dir/t.tmp.exe"
  $ ":" "EXECUTED AS"
  $ "/usr/bin/python3.11" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/run.py" "--execdir" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/forceunwind.pass.cpp.dir" "--" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/forceunwind.pass.cpp.dir/t.tmp.exe"
  # command stderr:
  t.tmp.exe: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/src/AddressSpace.hpp:612: bool libunwind::LocalAddressSpace::findUnwindSections(pint_t, UnwindInfoSections &): Assertion `findResult.dlfo_eh_dbase == findResult.dlfo_map_start && "libunwind expects the base address for DW_EH_PE_datarel to be identical" "with the start address of the PT_GNU_EH_FRAME segment"' failed.
  
  error: command failed with exit status: 250
  
  --
  
  ********************
  FAIL: llvm-libunwind-shared.cfg.in :: signal_frame.pass.cpp (11 of 12)
  ******************** TEST 'llvm-libunwind-shared.cfg.in :: signal_frame.pass.cpp' FAILED ********************
  Script:
  --
  : 'COMPILED WITH';  /usr/lib/ccache/bin/i686-pc-linux-gnu-clang++ /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/test/signal_frame.pass.cpp  --target=i686-pc-linux-gnu -nostdinc++ -I /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/include -funwind-tables -std=c++2b -Werror -Wall -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_DISABLE_AVAILABILITY -fcoroutines-ts -Werror=thread-safety -Wuser-defined-warnings  -L /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib -Wl,-rpath,/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib -lunwind -ldl -Wl,--export-dynamic -o /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/signal_frame.pass.cpp.dir/t.tmp.exe
  : 'EXECUTED AS';  /usr/bin/python3.11 /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/run.py --execdir /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/signal_frame.pass.cpp.dir --  /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/signal_frame.pass.cpp.dir/t.tmp.exe
  --
  Exit Code: 250
  
  Command Output (stdout):
  --
  $ ":" "COMPILED WITH"
  $ "/usr/lib/ccache/bin/i686-pc-linux-gnu-clang++" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/test/signal_frame.pass.cpp" "--target=i686-pc-linux-gnu" "-nostdinc++" "-I" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/include" "-funwind-tables" "-std=c++2b" "-Werror" "-Wall" "-Wextra" "-Wshadow" "-Wundef" "-Wno-unused-command-line-argument" "-Wno-attributes" "-Wno-pessimizing-move" "-Wno-c++11-extensions" "-Wno-noexcept-type" "-Wno-atomic-alignment" "-Wno-user-defined-literals" "-Wno-tautological-compare" "-Wsign-compare" "-Wunused-variable" "-Wunused-parameter" "-Wunreachable-code" "-Wno-unused-local-typedef" "-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER" "-D_LIBCPP_DISABLE_AVAILABILITY" "-fcoroutines-ts" "-Werror=thread-safety" "-Wuser-defined-warnings" "-L" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib" "-Wl,-rpath,/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib" "-lunwind" "-ldl" "-Wl,--export-dynamic" "-o" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/signal_frame.pass.cpp.dir/t.tmp.exe"
  $ ":" "EXECUTED AS"
  $ "/usr/bin/python3.11" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/run.py" "--execdir" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/signal_frame.pass.cpp.dir" "--" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/signal_frame.pass.cpp.dir/t.tmp.exe"
  # command stderr:
  t.tmp.exe: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/src/AddressSpace.hpp:612: bool libunwind::LocalAddressSpace::findUnwindSections(pint_t, UnwindInfoSections &): Assertion `findResult.dlfo_eh_dbase == findResult.dlfo_map_start && "libunwind expects the base address for DW_EH_PE_datarel to be identical" "with the start address of the PT_GNU_EH_FRAME segment"' failed.
  
  error: command failed with exit status: 250
  
  --
  
  ********************
  FAIL: llvm-libunwind-shared.cfg.in :: libunwind_02.pass.cpp (12 of 12)
  ******************** TEST 'llvm-libunwind-shared.cfg.in :: libunwind_02.pass.cpp' FAILED ********************
  Script:
  --
  : 'COMPILED WITH';  /usr/lib/ccache/bin/i686-pc-linux-gnu-clang++ /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/test/libunwind_02.pass.cpp  --target=i686-pc-linux-gnu -nostdinc++ -I /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/include -funwind-tables -std=c++2b -Werror -Wall -Wextra -Wshadow -Wundef -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-noexcept-type -Wno-atomic-alignment -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_DISABLE_AVAILABILITY -fcoroutines-ts -Werror=thread-safety -Wuser-defined-warnings  -L /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib -Wl,-rpath,/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib -lunwind -ldl -Wl,--export-dynamic -o /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_02.pass.cpp.dir/t.tmp.exe
  : 'EXECUTED AS';  /usr/bin/python3.11 /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/run.py --execdir /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_02.pass.cpp.dir --  /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_02.pass.cpp.dir/t.tmp.exe
  --
  Exit Code: 250
  
  Command Output (stdout):
  --
  $ ":" "COMPILED WITH"
  $ "/usr/lib/ccache/bin/i686-pc-linux-gnu-clang++" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/test/libunwind_02.pass.cpp" "--target=i686-pc-linux-gnu" "-nostdinc++" "-I" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/include" "-funwind-tables" "-std=c++2b" "-Werror" "-Wall" "-Wextra" "-Wshadow" "-Wundef" "-Wno-unused-command-line-argument" "-Wno-attributes" "-Wno-pessimizing-move" "-Wno-c++11-extensions" "-Wno-noexcept-type" "-Wno-atomic-alignment" "-Wno-user-defined-literals" "-Wno-tautological-compare" "-Wsign-compare" "-Wunused-variable" "-Wunused-parameter" "-Wunreachable-code" "-Wno-unused-local-typedef" "-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER" "-D_LIBCPP_DISABLE_AVAILABILITY" "-fcoroutines-ts" "-Werror=thread-safety" "-Wuser-defined-warnings" "-L" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib" "-Wl,-rpath,/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/lib" "-lunwind" "-ldl" "-Wl,--export-dynamic" "-o" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_02.pass.cpp.dir/t.tmp.exe"
  $ ":" "EXECUTED AS"
  $ "/usr/bin/python3.11" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libcxx/utils/run.py" "--execdir" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_02.pass.cpp.dir" "--" "/tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/runtimes_build-abi_x86_32.x86/Output/libunwind_02.pass.cpp.dir/t.tmp.exe"
  # command stderr:
  t.tmp.exe: /tmp/portage/sys-libs/llvm-libunwind-16.0.0.9999/work/libunwind/src/AddressSpace.hpp:612: bool libunwind::LocalAddressSpace::findUnwindSections(pint_t, UnwindInfoSections &): Assertion `findResult.dlfo_eh_dbase == findResult.dlfo_map_start && "libunwind expects the base address for DW_EH_PE_datarel to be identical" "with the start address of the PT_GNU_EH_FRAME segment"' failed.
  
  error: command failed with exit status: 250
  
  --
  
  ********************
  ********************
  Failed Tests (4):
    llvm-libunwind-shared.cfg.in :: forceunwind.pass.cpp
    llvm-libunwind-shared.cfg.in :: libunwind_01.pass.cpp
    llvm-libunwind-shared.cfg.in :: libunwind_02.pass.cpp
    llvm-libunwind-shared.cfg.in :: signal_frame.pass.cpp
  
  
  Testing Time: 0.82s
    Unsupported: 5
    Passed     : 3
    Failed     : 4


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133846/new/

https://reviews.llvm.org/D133846



More information about the llvm-commits mailing list