[Bug libdw/31874] New: Tests failure on aarch64 with pointer authentication on

2024-06-10 Thread ema at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31874

Bug ID: 31874
   Summary: Tests failure on aarch64 with pointer authentication
on
   Product: elfutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: libdw
  Assignee: unassigned at sourceware dot org
  Reporter: ema at debian dot org
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Created attachment 15576
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15576&action=edit
Testsuite output

On aarch64 systems with pointer authentication turned on, the following tests
fail:

- run-backtrace-native.sh
- run-backtrace-native-core.sh
- run-deleted.sh

All tests pass if the kernel is booted with arm64.nopauth to disable pointer
authentication.

See test-suite.log attached for the details.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug libdw/31874] Tests failure on aarch64 with pointer authentication on

2024-06-10 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31874

Mark Wielaard  changed:

   What|Removed |Added

 CC||mark at klomp dot org

--- Comment #1 from Mark Wielaard  ---
We have some pending patches for arm64 pointer authentication:
https://patchwork.sourceware.org/project/elfutils/list/?series=8762
Do those help?

They were reviewed and some small changes requested, but the original author
didn't follow up. If they help in this case then we should probably just clean
them up ourselves.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug libdw/31874] Tests failure on aarch64 with pointer authentication on

2024-06-10 Thread ema at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31874

--- Comment #2 from Emanuele Rocca  ---
Thanks Mark. With the patchset applied, the only test still failing is
run-backtrace-native-core.sh:

FAIL: run-backtrace-native-core.sh
==

case 4: expected symname 'stdarg' got 'thread_start'
./test-subr.sh: line 84: 49296 Aborted
LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
$VALGRIND_CMD "$@"
backtrace-child-core.49276: no main
rmdir: failed to remove 'test-49240': Directory not empty
FAIL run-backtrace-native-core.sh (exit status: 1)

-- 
You are receiving this mail because:
You are on the CC list for the bug.