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

Bug 619706

Summary: dev-libs/elfutils-0.186: Test failures
Product: Gentoo Linux Reporter: Michael Weber (RETIRED) <xmw>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: CONFIRMED ---    
Severity: normal CC: eike, matoro_bugzilla_gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceware.org/PR26236
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log on ppc64
tests/test-suite.log on ppc64
build.log on arm64
test/test-suite.log on arm64
build.log on ppc
tests/test-suite.log on ppc
Test logs from hppa
test-suite.log (dev-libs/elfutils-0.169-r1)
test-suite.log (dev-libs/elfutils-0.170-r1)
build.log for 0.176-r1 on sparc
build.log for hppa 0.177
test log for 0.179 on sparc
build.log for 0.180 on sparc

Description Michael Weber (RETIRED) gentoo-dev 2017-05-25 23:31:59 UTC
# emerge --info
Portage 2.3.5 (python 3.4.5-final-0, default/linux/arm64/13.0, gcc-5.4.0, glibc-2.23-r3, 3.10.104 aarch64)
=================================================================
System uname: Linux-3.10.104-aarch64-with-gentoo-2.2
KiB Mem:     2036444 total,    203788 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 25 May 2017 22:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 aarch64-unknown-linux-gnu [disabled]
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.26.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage/
    priority: -1000

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=cortex-a53 -pipe"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2"
DISTDIR="/var/cache/distfiles"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs ccache compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles keeptemp keepwork merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test test-fail-continue unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://lore.xmw.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/var/cache/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl arm64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules multilib ncurses nls nptl openmp pam pcre readline seccomp session ssl tcpd unicode xattr zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michael Weber (RETIRED) gentoo-dev 2017-05-25 23:33:30 UTC
(In reply to Michael Weber from comment #0)
> # emerge --info
> Portage 2.3.5 (python 3.4.5-final-0, default/linux/arm64/13.0, gcc-5.4.0,
> glibc-2.23-r3, 3.10.104 aarch64)

wrong machine, sorry.

# emerge --info
Portage 2.3.5 (python 3.4.5-final-0, default/linux/powerpc/ppc64/13.0/64bit-userland, gcc-5.4.0, glibc-2.23-r3, 4.9.16-gentoo ppc64)
=================================================================
System uname: Linux-4.9.16-gentoo-ppc64-PPC970,_altivec_supported-with-gentoo-2.3
KiB Mem:     6004312 total,   1089724 free
KiB Swap:    6291452 total,   6291432 free
Timestamp of repository gentoo: Wed, 24 May 2017 06:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage/
    priority: -1000

xmw
    location: /var/lib/layman/xmw
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G5 -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=G5 -pipe"
DISTDIR="/var/cache/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles keeptemp keepwork merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test test-fail-continue unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lore.xmw.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/var/cache/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm ibm iconv ipv6 modules ncurses nls nptl openmp pam pcre ppc64 qt3support readline seccomp session ssl tcpd unicode xattr zlib" ABI_PPC="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 mga nv r128 radeon dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Michael Weber (RETIRED) gentoo-dev 2017-05-25 23:34:45 UTC
Created attachment 474324 [details]
build.log on ppc64
Comment 3 Michael Weber (RETIRED) gentoo-dev 2017-05-25 23:36:15 UTC
Created attachment 474326 [details]
tests/test-suite.log on ppc64
Comment 4 Michael Weber (RETIRED) gentoo-dev 2017-05-25 23:40:04 UTC
Created attachment 474328 [details]
build.log on arm64

aforementioned arm64 machine ...
Comment 5 Michael Weber (RETIRED) gentoo-dev 2017-05-25 23:41:42 UTC
Created attachment 474330 [details]
test/test-suite.log on arm64
Comment 6 Michael Weber (RETIRED) gentoo-dev 2017-05-25 23:46:52 UTC
Created attachment 474332 [details]
build.log on ppc

Portage 2.3.5 (python 3.4.5-final-0, default/linux/powerpc/ppc32/13.0, gcc-5.4.0, glibc-2.23-r3, 4.4.52-gentoo-hathor.0 ppc)
=================================================================
System uname: Linux-4.4.52-gentoo-hathor.0-ppc-7450,_altivec_supported-with-gentoo-2.3
KiB Mem:      512316 total,    180956 free
KiB Swap:    2097148 total,   2049264 free
Timestamp of repository gentoo: Wed, 24 May 2017 06:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage/
    priority: -1000

ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe"
DISTDIR="/var/cache/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles keeptemp keepwork merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test test-fail-continue unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pam pcre ppc qt3support readline seccomp session ssl tcpd unicode xattr zlib" ABI_PPC="32" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 7 Michael Weber (RETIRED) gentoo-dev 2017-05-25 23:47:33 UTC
Created attachment 474334 [details]
tests/test-suite.log on ppc
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2017-06-21 20:31:33 UTC
Michael: Could you please check if these are regressions compared to current stable?
Comment 9 Rolf Eike Beer archtester 2017-09-15 18:24:59 UTC
Created attachment 494722 [details]
Test logs from hppa

There are also failure on hppa, but on different tests.
Comment 10 Rolf Eike Beer archtester 2017-10-28 09:08:55 UTC
Just a summary:

ppc64: run-backtrace-native.sh run-backtrace-dwarf.sh
ppc:   run-backtrace-native.sh run-backtrace-dwarf.sh
ppc:   run-backtrace-native.sh run-backtrace-native-core.sh
hppa:  run-strip-reloc.sh run-strip-strmerge.sh run-elflint-self.sh run-native-test.sh
sparc: run-backtrace-native.sh run-backtrace-dwarf.sh run-deleted.sh
amd64: - (all tests pass)
Comment 11 Rolf Eike Beer archtester 2017-12-12 21:44:30 UTC
Same for 0.170 for sparc:

==========================================
   elfutils 0.170: tests/test-suite.log
==========================================

# TOTAL: 172
# PASS:  165
# SKIP:  4
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: run-arsymtest.sh
======================

SKIP run-arsymtest.sh (exit status: 77)

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

0x70000000      0x70014000      /var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170-.sparc32/tests/backtrace-child
0xf79f8000      0xf7a0e000      /lib/libdl-2.25.so
0xf7a10000      0xf7bb6000      /lib/libc-2.25.so
0xf7bb8000      0xf7be6000      /lib/libpthread-2.25.so
0xf7be8000      0xf7c0a000      /usr/lib/libsandbox.so
0xf7c28000      0xf7c5c000      /lib/ld-2.25.so
TID 44100:
TID 44105:
/var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170-.sparc32/tests/backtrace: dwfl_thread_getframes: no error
backtrace: /var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170/libdwfl/linux-pid-attach.c:239: pid_set_initial_registers: Assertion `pid_arg->tid_attached == 0' failed.
/var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170/tests/test-subr.sh: line 84: 44090 Aborted                 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
===========================

/var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170-.sparc32/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
============================

/var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170-.sparc32/tests/backtrace-dwarf: dwfl_thread_getframes: no error
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-biarch.sh
=========================================

biarch testing disabled
SKIP run-backtrace-native-core-biarch.sh (exit status: 77)

FAIL: run-deleted.sh
====================

PID 44813 - process
TID 44813:
/var/tmp/portage/dev-libs/elfutils-0.170-r1/work/elfutils-0.170-.sparc32/src/stack: Couldn't show any frames.
FAIL run-deleted.sh (exit status: 1)
Comment 12 ernsteiswuerfel archtester 2018-01-01 21:51:58 UTC
on ppc:

==========================================
   elfutils 0.169: tests/test-suite.log
==========================================

# TOTAL: 169
# PASS:  160
# SKIP:  5
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0

FAIL: run-strip-strmerge.sh
FAIL: run-elflint-self.sh
FAIL: run-backtrace-native.sh
FAIL: run-backtrace-dwarf.sh

==========================================
   elfutils 0.170: tests/test-suite.log
==========================================

# TOTAL: 174
# PASS:  168
# SKIP:  4
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

FAIL: run-backtrace-native.sh
FAIL: run-backtrace-dwarf.sh


So all in all elfutils-0.170 is an improvement on ppc.
Comment 13 ernsteiswuerfel archtester 2018-01-01 21:53:00 UTC
Created attachment 512668 [details]
test-suite.log (dev-libs/elfutils-0.169-r1)
Comment 14 ernsteiswuerfel archtester 2018-01-01 21:53:50 UTC
Created attachment 512670 [details]
test-suite.log (dev-libs/elfutils-0.170-r1)
Comment 15 Rolf Eike Beer archtester 2019-06-30 07:30:58 UTC
Created attachment 581468 [details]
build.log for 0.176-r1 on sparc

sparc 0.176-r1:

SKIP: run-arsymtest.sh
FAIL: run-strip-strmerge.sh
FAIL: run-elflint-self.sh
FAIL: run-backtrace-native.sh
SKIP: run-backtrace-data.sh
FAIL: run-backtrace-dwarf.sh
SKIP: run-backtrace-native-biarch.sh
FAIL: run-backtrace-native-core.sh
SKIP: run-backtrace-native-core-biarch.sh
FAIL: run-deleted.sh
Comment 16 Rolf Eike Beer archtester 2019-12-29 15:41:04 UTC
Created attachment 601706 [details]
build.log for hppa 0.177

State for 0.177 on hppa:

FAIL: run-elflint-self.sh
FAIL: run-exprlocs-self.sh
FAIL: run-native-test.sh
FAIL: run-reverse-sections-self.sh
FAIL: run-strip-reloc.sh
FAIL: run-strip-strmerge.sh
FAIL: run-varlocs-self.sh
SKIP: run-arsymtest.sh
SKIP: run-backtrace-data.sh
SKIP: run-backtrace-dwarf.sh
SKIP: run-backtrace-native-biarch.sh
SKIP: run-backtrace-native-core-biarch.sh
SKIP: run-backtrace-native-core.sh
SKIP: run-backtrace-native.sh
SKIP: run-deleted.sh
SKIP: run-large-elf-file.sh
Comment 17 Rolf Eike Beer archtester 2020-07-07 05:02:34 UTC
sparc 0.179 has a few more:

FAIL: run-strip-strmerge.sh
FAIL: run-elflint-self.sh
FAIL: run-backtrace-native.sh
FAIL: run-backtrace-dwarf.sh
FAIL: run-backtrace-native-core.sh
FAIL: run-deleted.sh
FAIL: run-reverse-sections-self.sh
FAIL: run-strip-strmerge.sh
FAIL: run-elflint-self.sh
FAIL: run-backtrace-native.sh
FAIL: run-backtrace-dwarf.sh
FAIL: run-backtrace-native-core.sh
FAIL: run-deleted.sh
FAIL: run-reverse-sections-self.sh
Comment 18 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-07 17:45:57 UTC
Can you attach tests/test-suite.log as well?
Comment 19 Rolf Eike Beer archtester 2020-07-07 18:26:19 UTC
Created attachment 648280 [details]
test log for 0.179 on sparc
Comment 20 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-07 20:42:17 UTC
Aha, not all but many tests fail with unexpected '.rela.dyn' entries:

"""
FAIL: run-strip-strmerge.sh
===========================

elflint /var/tmp/portage/dev-libs/elfutils-0.179/work/elfutils-0.179-.sparc32/tests/elfstrmerge
section [ 9] '.rela.dyn': relocation 5: relocation type invalid for the file type
section [ 9] '.rela.dyn': relocation 6: relocation type invalid for the file type
section [ 9] '.rela.dyn': relocation 7: relocation type invalid for the file type
section [ 9] '.rela.dyn': relocation 8: relocation type invalid for the file type
section [ 9] '.rela.dyn': relocation 9: relocation type invalid for the file type
FAIL run-strip-strmerge.sh (exit status: 1)
"""

catbus also generates such binaries:

"""
Relocation section '.rela.dyn' at offset 0xcd0 contains 15 entries:
  Offset          Info           Type           Sym. Value    Sym. Name + Addend
000000103dd0  000000000016 R_SPARC_RELATIVE                     2860
000000103dd8  000000000016 R_SPARC_RELATIVE                     2800
000000104030  000000000016 R_SPARC_RELATIVE                     103dd8
000000104050  000000000016 R_SPARC_RELATIVE                     103dd0
000000104868  000000000016 R_SPARC_RELATIVE                     104868
000000000000  000000000000 R_SPARC_NONE                         0
000000000000  000000000000 R_SPARC_NONE                         0
000000000000  000000000000 R_SPARC_NONE                         0
000000000000  000000000000 R_SPARC_NONE                         0
000000000000  000000000000 R_SPARC_NONE                         0
000000104010  000600000014 R_SPARC_GLOB_DAT  0000000000000000 __cxa_finalize@GLIBC_2.2 + 0
000000104018  000b00000014 R_SPARC_GLOB_DAT  0000000000000000 _ITM_deregisterTMClone + 0
000000104020  000d00000014 R_SPARC_GLOB_DAT  0000000000000000 stderr@GLIBC_2.2 + 0
000000104028  001f00000014 R_SPARC_GLOB_DAT  0000000000000000 __gmon_start__ + 0
000000104060  003a00000014 R_SPARC_GLOB_DAT  0000000000000000 _ITM_registerTMCloneTa + 0
"""

These all are 'R_SPARC_NONE' relocations. Ideally they should never happen in final executables. It's likely an ld bug on sparc. I'll try to extract the small example.
Comment 21 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-13 22:40:59 UTC
Filed https://sourceware.org/PR26236. We should add a workaround to allow R_SPARC_NONE relocations until upstream bug is fixed.
Comment 22 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-13 22:55:29 UTC
Also, another bug is in gcc driver for --default-pie targets: gcc uses crtbeginS.o, but crtend.o (instead of crtendS.o).
Comment 23 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-13 23:12:32 UTC
(In reply to Sergei Trofimovich from comment #22)
> Also, another bug is in gcc driver for --default-pie targets: gcc uses
> crtbeginS.o, but crtend.o (instead of crtendS.o).

Filed as https://gcc.gnu.org/PR96190
Comment 24 Larry the Git Cow gentoo-dev 2020-07-14 07:17:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=6c5ced06c025ddc8b34d02c7597d0f0f0932393f

commit 6c5ced06c025ddc8b34d02c7597d0f0f0932393f
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-07-14 07:12:22 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-07-14 07:12:22 +0000

    10.1.0: use crtendS.o on sparc-linux-pie
    
    This should fix TEXTREL warning when linking most binaries on sparc.
    
    Bug: https://gcc.gnu.org/PR96190
    Bug: https://bugs.gentoo.org/619706
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 10.1.0/gentoo/37_all_sparc_pie_TEXTREL.patch | 49 ++++++++++++++++++++++++++++
 10.1.0/gentoo/README.history                 |  3 ++
 2 files changed, 52 insertions(+)
Comment 25 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-14 08:15:45 UTC
(In reply to Larry the Git Cow from comment #24)
> The bug has been referenced in the following commit(s):
> 
> https://gitweb.gentoo.org/proj/gcc-patches.git/commit/
> ?id=6c5ced06c025ddc8b34d02c7597d0f0f0932393f
> 
> commit 6c5ced06c025ddc8b34d02c7597d0f0f0932393f
> Author:     Sergei Trofimovich <slyfox@gentoo.org>
> AuthorDate: 2020-07-14 07:12:22 +0000
> Commit:     Sergei Trofimovich <slyfox@gentoo.org>
> CommitDate: 2020-07-14 07:12:22 +0000
> 
>     10.1.0: use crtendS.o on sparc-linux-pie
>     
>     This should fix TEXTREL warning when linking most binaries on sparc.

Rebuilt gcc locally. It will only fix TEXTRELs. And TESTREL is an issue with .init_array/.fini_array detection when cross-compiling gcc. It's not a problem for native compiler.

Thus the change will not fix R_SPARC_NONE relocations problem.
Comment 26 Rolf Eike Beer archtester 2020-07-16 15:29:31 UTC
Created attachment 649570 [details]
build.log for 0.180 on sparc
Comment 27 Larry the Git Cow gentoo-dev 2020-07-23 08:42:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=064908a8c0b537e980721c7996d276e1901924db

commit 064908a8c0b537e980721c7996d276e1901924db
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-07-23 08:15:06 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-07-23 08:15:06 +0000

    10.2.0: cut 1 patchset
    
    Based on gcc-10.1.0 patchset. The only change is upstreamed backportes:
    - 29_all_fix-float-hang-PR95118.patch
    - 31_all_ctor-range-PR95241.patch
    - 33_all_avx512-scalar-PR95528.patch
    - 34_all_cet-cross-x86.patch
    - 35_all_ICE-array-subscript-PR95508.patch
    - 38_all_ICE-ipa-fnsummary-PR96130.patch
    
    Bug: https://gcc.gnu.org/PR96190
    Bug: https://bugs.gentoo.org/619706
    Bug: https://gcc.gnu.org/PR96130
    Bug: https://bugs.gentoo.org/733246
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 10.2.0/gentoo/01_all_default-fortify-source.patch  |  22 ++++
 .../02_all_default-warn-format-security.patch      |  22 ++++
 .../gentoo/03_all_default-warn-trampolines.patch   |  13 ++
 10.2.0/gentoo/04_all_nossp-on-nostdlib.patch       |  27 ++++
 10.2.0/gentoo/05_all_alpha-mieee-default.patch     |  39 ++++++
 10.2.0/gentoo/06_all_ia64_note.GNU-stack.patch     |  92 +++++++++++++
 .../gentoo/07_all_i386_libgcc_note.GNU-stack.patch |  54 ++++++++
 10.2.0/gentoo/08_all_libiberty-asprintf.patch      |  18 +++
 10.2.0/gentoo/09_all_libiberty-pic.patch           |  10 ++
 10.2.0/gentoo/10_all_nopie-all-flags.patch         |  18 +++
 10.2.0/gentoo/11_all_sh-drop-sysroot-suffix.patch  |  32 +++++
 10.2.0/gentoo/12_all_ia64-TEXTREL.patch            |  22 ++++
 .../gentoo/13_all_disable-systemtap-switch.patch   | 122 ++++++++++++++++++
 10.2.0/gentoo/14_all_m68k-textrel-on-libgcc.patch  |  93 ++++++++++++++
 10.2.0/gentoo/15_all_respect-build-cxxflags.patch  |  39 ++++++
 10.2.0/gentoo/16_all_libgfortran-Werror.patch      |  20 +++
 10.2.0/gentoo/17_all_libgomp-Werror.patch          |  20 +++
 10.2.0/gentoo/18_all_libitm-Werror.patch           |  19 +++
 10.2.0/gentoo/19_all_libatomic-Werror.patch        |  19 +++
 10.2.0/gentoo/20_all_libbacktrace-Werror.patch     |  17 +++
 10.2.0/gentoo/21_all_libsanitizer-Werror.patch     |  17 +++
 10.2.0/gentoo/22_all_libstdcxx-no-vtv.patch        |  61 +++++++++
 10.2.0/gentoo/23_all_disable-riscv32-ABIs.patch    |  53 ++++++++
 10.2.0/gentoo/24_all_default_ssp-buffer-size.patch |  14 ++
 10.2.0/gentoo/25_all_hppa-faster-synth_mult.patch  |  44 +++++++
 10.2.0/gentoo/26_all_libcpp-ar.patch               | 143 +++++++++++++++++++++
 10.2.0/gentoo/27_all_EXTRA_OPTIONS-z-now.patch     |  26 ++++
 ...all_EXTRA_OPTIONS-fstack-clash-protection.patch |  65 ++++++++++
 .../29_all_lto-intl-workaround-PR95194.patch       |  20 +++
 10.2.0/gentoo/30_all_plugin-objdump.patch          |  34 +++++
 10.2.0/gentoo/31_all_fno-delayed-branch.patch      |  40 ++++++
 10.2.0/gentoo/32_all_sparc_pie_TEXTREL.patch       |  49 +++++++
 10.2.0/gentoo/README.history                       |  33 +++++
 33 files changed, 1317 insertions(+)
Comment 28 Larry the Git Cow gentoo-dev 2020-07-23 08:49:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00fa65c3015f007af0d9b39c2987edd7011da470

commit 00fa65c3015f007af0d9b39c2987edd7011da470
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-07-23 08:44:27 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-07-23 08:49:15 +0000

    sys-devel/gcc: 10.2.0: cut 1 patchset
    
    Based on gcc-10.1.0 patchset. The only change is upstreamed backports:
    - 29_all_fix-float-hang-PR95118.patch
    - 31_all_ctor-range-PR95241.patch
    - 33_all_avx512-scalar-PR95528.patch
    - 34_all_cet-cross-x86.patch
    - 35_all_ICE-array-subscript-PR95508.patch
    - 38_all_ICE-ipa-fnsummary-PR96130.patch
    
    Bug: https://gcc.gnu.org/PR96190
    Bug: https://bugs.gentoo.org/619706
    Bug: https://gcc.gnu.org/PR96130
    Bug: https://bugs.gentoo.org/733246
    Package-Manager: Portage-3.0.0, Repoman-2.3.23
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc/Manifest          |  2 ++
 sys-devel/gcc/gcc-10.2.0.ebuild | 13 +++++++++++++
 2 files changed, 15 insertions(+)
Comment 29 Rolf Eike Beer archtester 2021-03-14 13:30:44 UTC
Test errors on sparc are unchanged in 0.183 compared to 0.179.
Comment 30 Rolf Eike Beer archtester 2021-06-13 09:15:28 UTC
And 0.184 is still the same.
Comment 31 Rolf Eike Beer archtester 2021-07-10 11:09:04 UTC
sparc on 0.185 has some less, this is what remains:

FAIL: run-backtrace-dwarf.sh
FAIL: run-backtrace-native-core.sh
FAIL: run-backtrace-native.sh
FAIL: run-deleted.sh
FAIL: run-elflint-self.sh
FAIL: run-reverse-sections-self.sh
FAIL: run-strip-strmerge.sh
Comment 32 Rolf Eike Beer archtester 2022-01-01 12:39:30 UTC
0.186 on sparc has the same as 0.185.
Comment 33 Larry the Git Cow gentoo-dev 2022-04-27 01:18:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee0ca911bb2c502c93d3c93931db560ababcd392

commit ee0ca911bb2c502c93d3c93931db560ababcd392
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-27 01:16:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-27 01:18:41 +0000

    dev-libs/elfutils: add 0.187
    
    Bug: https://bugs.gentoo.org/834337
    Bug: https://bugs.gentoo.org/823704
    Bug: https://bugs.gentoo.org/619706
    Bug: https://bugs.gentoo.org/671650
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/elfutils/Manifest              |  1 +
 dev-libs/elfutils/elfutils-0.187.ebuild | 98 +++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)
Comment 34 Rolf Eike Beer archtester 2022-04-27 16:11:49 UTC
0.187 on sparc:

FAIL: run-strip-strmerge.sh
FAIL: run-elflint-self.sh
FAIL: run-backtrace-native.sh
FAIL: run-backtrace-dwarf.sh
FAIL: run-backtrace-native-core.sh
FAIL: run-deleted.sh
FAIL: run-reverse-sections-self.sh
FAIL: run-strip-strmerge.sh
FAIL: run-elflint-self.sh
FAIL: run-backtrace-native.sh
FAIL: run-backtrace-dwarf.sh
FAIL: run-backtrace-native-core.sh
FAIL: run-deleted.sh
FAIL: run-reverse-sections-self.sh
Comment 35 matoro archtester 2024-01-16 20:22:51 UTC
0.190 on hppa:

FAIL: run-strip-strmerge.sh
FAIL: run-strip-reloc-self.sh
FAIL: run-elflint-self.sh
FAIL: run-varlocs-self.sh
FAIL: run-exprlocs-self.sh
FAIL: run-native-test.sh
FAIL: run-reverse-sections-self.sh
FAIL: run-funcretval++11.sh
FAIL: run-strip-strmerge.sh
FAIL: run-strip-reloc-self.sh
FAIL: run-elflint-self.sh
FAIL: run-varlocs-self.sh
FAIL: run-exprlocs-self.sh
FAIL: run-native-test.sh
FAIL: run-reverse-sections-self.sh
FAIL: run-funcretval++11.sh