Bug 14960 - valgrind ptest fails 12 tests for arm64 targets
Summary: valgrind ptest fails 12 tests for arm64 targets
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 4.2
Hardware: x86 arm64
: Medium+ normal
Target Milestone: 6.1 M2
Assignee: Mingli Yu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-11-04 18:33 UTC by Zheng Qiu
Modified: 2026-05-07 15:05 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zheng Qiu 2022-11-04 18:33:21 UTC
Bug 13298 tracked 100s of ptest failures for arm64 in valgrind. That is no longer occuring, and we have them updated to run most of the tests. there are 12 remaining ptest failures that should be tracked by this bug.

List of failing ptests:
gdbserver_tests/hgtls
memcheck/tests/dw4
memcheck/tests/leak_cpp_interior
memcheck/tests/varinfo1
memcheck/tests/varinfo2
memcheck/tests/varinfo3
memcheck/tests/varinfo4
memcheck/tests/varinfo5
memcheck/tests/varinfo6
memcheck/tests/varinforestrict
helgrind/tests/hg05_race2
helgrind/tests/tc20_verifywrap
Comment 1 Zheng Qiu 2022-11-04 18:50:27 UTC
Correction: the bug mentioned above should be Bug 13520.
Comment 2 Zheng Qiu 2022-11-07 14:19:12 UTC
After some investigation, it seems like all the tests are failing because there is this error exists on arm64, but never on x86-64:
--16431-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xa3
--16431-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xa3
--16431-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xa3
--16431-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xa3
--16431-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xa3
--16431-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xa3
--16431-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xa3
Comment 3 Ross Burton 2022-11-10 15:41:57 UTC
FWIW:

elfutils-native/usr/include/dwarf.h:    DW_OP_entry_value = 0xa3,
Comment 4 Ross Burton 2022-11-10 15:58:36 UTC
A missing case in https://sourceware.org/git/?p=valgrind.git;a=blob;f=coregrind/m_debuginfo/d3basics.c;h=d48589a30ca2555761ad221fe400b44297d1ca00;hb=HEAD#l701. Of course I have no idea what the entry_value opcode is for...
Comment 5 Randy MacLeod 2024-03-25 23:47:55 UTC
Bulk move to 5.0-M4
Comment 6 Randy MacLeod 2024-04-25 01:26:30 UTC
Park in 5.99 until I'm sure I have time to work on an issue.