Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 955571

Summary: dev-libs/elfutils-0.192-r1 test fail: run-backtrace-native-core-biarch.sh
Product: Gentoo Linux Reporter: Arniiiii <lg3dx6fd>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: UNCONFIRMED ---    
Severity: normal CC: lg3dx6fd
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: `xz -9` tarball with bunch of files

Description Arniiiii 2025-05-07 16:17:38 UTC
Created attachment 927981 [details]
`xz -9` tarball with bunch of files

inside tarball:
  emerge_--info.txt 
  /var/tmp/portage/dev-libs/elfutils-0.192-r1/{build-info/,files/,temp/,work/**.log} 
  /var/lib/portage/ 
  /var/log/portage/elog/dev-libs/elfutils-0.192-r1:20250507-155037.log
  /etc/portage/* (without gnupg)

from build.log:
```
FAIL: run-backtrace-native-core-biarch.sh
=========================================

0xf7ca6000      0xf7f08750      libc.so.6
0xf7f09000      0xf7f2b304      libsandbox.so
0x565ec000      0x565f0014      backtrace-child-biarch
TID 4289:
# 0 0xf7f77579          <null>
TID 4278:
# 0 0xf7f77579          <null>
/var/tmp/portage/dev-libs/elfutils-0.192-r1/work/elfutils-0.192-abi_x86_64.amd64/tests/backtrace: dwfl_thread_getframes: No DWARF information found
/var/tmp/portage/dev-libs/elfutils-0.192-r1/work/elfutils-0.192-abi_x86_64.amd64/tests/backtrace: dwfl_thread_getframes: address out of range
backtrace: /var/tmp/portage/dev-libs/elfutils-0.192-r1/work/elfutils-0.192/tests/backtrace.c:81: callback_verify: Assertion `seen_main' failed.
/var/tmp/portage/dev-libs/elfutils-0.192-r1/work/elfutils-0.192/tests/test-subr.sh: line 85:  4321 Aborted                 LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@"
backtrace-child-biarch-core.4278: no main
rmdir: failed to remove '/var/tmp/portage/dev-libs/elfutils-0.192-r1/temp/elfutils-test-4089': Directory not empty
FAIL run-backtrace-native-core-biarch.sh (exit status: 1)
```
Comment 1 Arniiiii 2025-05-07 16:18:57 UTC
it seems for me that this test was skipped in all test log in https://bugs.gentoo.org/show_bug.cgi?id=619706 , therefore I created another bug report.
Comment 2 Arniiiii 2025-05-07 16:21:35 UTC
also I tried to recompile with:

1. my usual flags ( O3, march=native, ggdb3, flto, graphite)
2. without lto
3. just -O0 -ggdb3 -pipe
4. just -O0 -pipe

same failure.