Bug 14499

Summary: glibc 2.34 breaks elfutils ptest
Product: [QA/Testing] Package Testing (ptest) Reporter: Richard Purdie <richard.purdie>
Component: ptestAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: randy.macleod
Version: unspecified   
Target Milestone: 3.4 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2021-08-04 17:16:00 UTC
With the glibc 2.34 upgrade, ptests fail for elfutils:

https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2342/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2056/steps/12/logs/stdio

'elfutils': ['run-backtrace-native.sh', 'run-backtrace-native-core.sh'],

There is an upstream bug report:

https://sourceware.org/bugzilla/show_bug.cgi?id=28190

https://autobuilder.yocto.io/pub/non-release/20210803-7/testresults/qemux86-64-ptest/elfutils.log

backtrace: ../../elfutils-0.185/tests/backtrace.c:111: callback_verify: Assertion `symname && strcmp (symname, "raise") == 0' failed.
/usr/lib/elfutils/ptest/tests/test-subr.sh: line 90: 13194 Aborted                 $VALGRIND_CMD $program ${1+"$@"}
backtrace-child: no main
FAIL: run-backtrace-native.sh
# 0 0x7f07e7820163    	pthread_kill@GLIBC_2.2.5
# 1 0x7f07e77d5306 - 1	raise
# 2 0x55b348290450 - 1	main
# 3 0x7f07e77c152b - 1	__libc_start_call_main
# 4 0x7f07e77c15dc - 1	__libc_start_main@@GLIBC_2.34
# 5 0x55b3482905f5 - 1	_start
# 2 0x55b348290450 - 1	main
PASS: run-backtrace-data.sh
0x7fc6e1660163	pthread_kill@GLIBC_2.2.5
0x7fc6e1615306	raise
0x7fc6e16007a3	abort
0x556659249216	callme
0x55665924921e	doit
0x55665924974c	main
0x55665924974c	main
PASS: run-backtrace-dwarf.sh
biarch testing disabled
SKIP: run-backtrace-native-biarch.sh
backtrace: ../../elfutils-0.185/tests/backtrace.c:111: callback_verify: Assertion `symname && strcmp (symname, "raise") == 0' failed.
/usr/lib/elfutils/ptest/tests/test-subr.sh: line 90: 13252 Aborted                 $VALGRIND_CMD $program ${1+"$@"}
backtrace-child-core.13248: no main
rmdir: failed to remove 'test-13240': Directory not empty
FAIL: run-backtrace-native-core.sh