From: "kelledin at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: elfutils-devel@sourceware.org
Subject: [Bug general/23732] New: Test failures on sparc64-linux-gnu
Date: Tue, 02 Oct 2018 16:50:00 -0000 [thread overview]
Message-ID: <bug-23732-10460@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=23732
Bug ID: 23732
Summary: Test failures on sparc64-linux-gnu
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: general
Assignee: unassigned at sourceware dot org
Reporter: kelledin at gmail dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
elfutils-0.174 (and at least as far back as 0.170) is failing three tests for
me:
==========================================
elfutils 0.174: tests/test-suite.log
==========================================
# TOTAL: 202
# PASS: 194
# SKIP: 5
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: run-strip-nothing.sh
==========================
/usr/src/elfutils-0.174/src/elfcmp: a.out strip.out differ: section [5]
'.dynsym' header
*** failed strip.out different from a.out
FAIL run-strip-nothing.sh (exit status: 255)
FAIL: run-backtrace-native.sh
=============================
0x10000000000 0x10000104000 /usr/src/elfutils-0.174/tests/backtrace-child
0xffff800100000000 0xffff800100126000
/lib/sparc64-linux-gnu/ld-2.27.so
0xffff800100128000 0xffff800100244000
/lib/sparc64-linux-gnu/libpthread-2.27.so
0xffff80010047a000 0xffff80010047c000 [vdso: 91062]
0xffff80010047c000 0xffff8001006e8000
/lib/sparc64-linux-gnu/libc-2.27.so
TID 91062:
# 0 0xffff80010013beb0 raise
TID 91067:
# 0 0xffff80010013beb0 raise
/usr/src/elfutils-0.174/tests/backtrace: dwfl_thread_getframes: No DWARF
information found
/usr/src/elfutils-0.174/tests/backtrace: dwfl_thread_getframes: No DWARF
information found
backtrace: backtrace.c:81: callback_verify: Assertion `seen_main' failed.
./test-subr.sh: line 84: 91057 Aborted (core dumped)
LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
$VALGRIND_CMD "$@"
backtrace-child: no main
FAIL run-backtrace-native.sh (exit status: 1)
SKIP: run-backtrace-data.sh
===========================
/usr/src/elfutils-0.174/tests/backtrace-data: Unwinding not supported for this
architecture
data: arch not supported
SKIP run-backtrace-data.sh (exit status: 77)
FAIL: run-backtrace-dwarf.sh
============================
0xffff8001004d88d4 raise
/usr/src/elfutils-0.174/tests/backtrace-dwarf: dwfl_thread_getframes: No DWARF
information found
dwarf: no main
FAIL run-backtrace-dwarf.sh (exit status: 1)
SKIP: run-backtrace-native-biarch.sh
====================================
biarch testing disabled
SKIP run-backtrace-native-biarch.sh (exit status: 77)
SKIP: run-backtrace-native-core.sh
==================================
/usr/bin/coredumpctl
No match found.
-- Notice: 2 systemd-coredump@.service units are running, output may be
incomplete.
No match found.
-- Notice: 1 systemd-coredump@.service unit is running, output may be
incomplete.
No match found.
-- Notice: 1 systemd-coredump@.service unit is running, output may be
incomplete.
No core.91173 file generated
SKIP run-backtrace-native-core.sh (exit status: 77)
SKIP: run-backtrace-native-core-biarch.sh
=========================================
biarch testing disabled
SKIP run-backtrace-native-core-biarch.sh (exit status: 77)
SKIP: run-lfs-symbols.sh
========================
LFS testing is irrelevent on this system
SKIP run-lfs-symbols.sh (exit status: 77)
============================================================================
Testsuite summary for elfutils 0.174
============================================================================
# TOTAL: 202
# PASS: 194
# SKIP: 5
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0
============================================================================
(run-backtrace-native-core-biarch.sh was also failing, but I've put that on a
back burner for now while I dig into the other failures. I can turn it back on
if someone wants the failure output).
run-strip-nothing.sh appears to rearrange the ELF section contents without
actually deleting anything obvious, but whatever it changes is enough to upset
elfcmp. I actually examined the .dynsym section as best I knew how (with
binutils "readelf --dyn-syms"), and the resulting dump looked identical for
both a.out and strip.out.
run-backtrace-native.sh is pretty obvious: it doesn't see main() in the
backtrace, probably because it can't actually *get* the full backtrace without
DWARF info. run-backtrace-dwarf.sh failure can probably be traced back to the
same root cause, and I would assume the related biarch test as well was failing
for the same reason.
For background, this is on a mostly-vanilla 4.16.18 kernel, gcc-8.2.0,
binutils-2.31.1, glibc-2.27, with SPARC T2000 CPUs. Typical build flags are
"-O2 -m64 -mcpu=v9 -mtune=v9", although I've tried different optimization
levels and different (or absent) -mcpu/-mtune flags, with no apparent
difference. gdb is not installed yet, because I'm still in the process of
bootstrapping a distro build from scratch. I can supply the raw test-suite.log
on request.
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2018-10-02 16:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-02 16:50 kelledin at gmail dot com [this message]
2018-10-03 12:33 ` [Bug general/23732] " jose.marchesi at oracle dot com
2018-10-04 10:19 ` jose.marchesi at oracle dot com
2023-01-14 17:13 ` sam at gentoo dot org
2023-01-18 14:41 ` sam at gentoo dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-23732-10460@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).