NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/52617: rtld tests failing on arm since August



>Number:         52617
>Category:       lib
>Synopsis:       rtld tests failing on arm since August
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 13 20:30:00 +0000 2017
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date >= 2017.08.10.19.42.53
>Organization:

>Environment:
System: NetBSD
Architecture: earmv7hf
Machine: evbarm
>Description:

The rtld_ifunc test case of the libexec/ld.elf_so/t_ifunc test program
has been failing on evbarm-earmv7hf since August.  For a fairly recent
log showing a failure, see

  http://releng.netbsd.org/b5reports/evbarm-earmv7hf/build/2017.10.05.23.47.11/test.log

which contains the line:

  rtld_ifunc: [5.731747s] Failed: Test program received signal 11 (core dumped)

No raw ATF output or HTML reports are available from
b5, but martin's tests have the HTML reports, for example:

  http://www.netbsd.org/~martin/evbarm-atf/180_atf.html#libexec_ld.elf_so_t_ifunc_rtld_ifunc

A bisection shows the problem appeared during a period when the tree
did not even build,  so it can't easily be pinned down to a single
commit.  The last successful run was with source date 2017.08.10.13.13.03,
and the first unsuccessful run was with source date 2017.08.10.19.42.53
Here is the full list of changes committed during this time period:

  commit 2017.08.10.13.34.29 nat src/usr.sbin/btattach/Makefile 1.3
  commit 2017.08.10.13.34.29 nat src/usr.sbin/btattach/btattach.c 1.14
  commit 2017.08.10.13.34.29 nat src/usr.sbin/btattach/btattach.h 1.4
  commit 2017.08.10.13.34.29 nat src/usr.sbin/btattach/init_bcm43xx.c 1.1
  commit 2017.08.10.13.39.08 maxv src/distrib/sets/lists/comp/md.amd64 1.250
  commit 2017.08.10.13.40.04 nat src/distrib/sets/lists/comp/mi 1.2143
  commit 2017.08.10.13.48.19 nat src/sys/arch/evbarm/conf/RPI 1.75
  commit 2017.08.10.14.13.45 maxv src/sys/arch/i386/i386/locore.S 1.150
  commit 2017.08.10.15.15.48 nat src/external/broadcom/Makefile 1.1
  commit 2017.08.10.15.15.48 nat src/external/broadcom/Makefile.inc 1.1
  commit 2017.08.10.15.15.48 nat src/external/broadcom/bcm43xx/BCM43430A1.hcd 1.1
  commit 2017.08.10.15.15.48 nat src/external/broadcom/bcm43xx/LICENCE.broadcom_bcm43xx 1.1
  commit 2017.08.10.15.15.48 nat src/external/broadcom/bcm43xx/Makefile 1.1
  commit 2017.08.10.15.31.49 nat src/distrib/sets/lists/base/mi 1.1160
  commit 2017.08.10.15.31.49 nat src/external/Makefile 1.19
  commit 2017.08.10.17.33.32 maxv src/sys/arch/amd64/conf/XEN3_DOM0 1.138
  commit 2017.08.10.17.33.32 maxv src/sys/arch/amd64/conf/XEN3_DOMU 1.77
  commit 2017.08.10.17.33.32 maxv src/sys/arch/i386/conf/GENERIC_TINY 1.154
  commit 2017.08.10.17.33.32 maxv src/sys/arch/i386/conf/NET4501 1.97
  commit 2017.08.10.17.33.32 maxv src/sys/arch/i386/conf/XEN3_DOM0 1.120
  commit 2017.08.10.17.33.32 maxv src/sys/arch/i386/conf/XEN3_DOMU 1.84
  commit 2017.08.10.18.11.47 jakllsch src/sys/arch/evbarm/conf/GENERIC.common 1.20
  commit 2017.08.10.18.45.20 jakllsch src/usr.sbin/btattach/init_bcm43xx.c 1.2
  commit 2017.08.10.19.03.25 joerg src/libexec/ld.elf_so/arch/aarch64/mdreloc.c 1.4
  commit 2017.08.10.19.03.25 joerg src/libexec/ld.elf_so/reloc.c 1.111
  commit 2017.08.10.19.03.25 joerg src/libexec/ld.elf_so/rtld.c 1.186
  commit 2017.08.10.19.03.25 joerg src/libexec/ld.elf_so/rtld.h 1.130
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/alpha/alpha_reloc.c 1.43
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/arm/mdreloc.c 1.42
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c 1.45
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/i386/mdreloc.c 1.39
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/m68k/mdreloc.c 1.33
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/mips/mips_reloc.c 1.69
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/or1k/mdreloc.c 1.3
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c 1.55
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/riscv/mdreloc.c 1.4
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/sh3/mdreloc.c 1.35
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/sparc/mdreloc.c 1.51
  commit 2017.08.10.19.03.26 joerg src/libexec/ld.elf_so/arch/sparc64/mdreloc.c 1.64
  commit 2017.08.10.19.03.27 joerg src/libexec/ld.elf_so/arch/vax/mdreloc.c 1.34
  commit 2017.08.10.19.03.27 joerg src/libexec/ld.elf_so/arch/x86_64/mdreloc.c 1.45
  commit 2017.08.10.19.03.27 joerg src/sys/arch/arm/include/elf_machdep.h 1.18
  commit 2017.08.10.19.03.27 joerg src/sys/arch/powerpc/include/elf_machdep.h 1.13
  commit 2017.08.10.19.03.27 joerg src/sys/sys/cdefs_elf.h 1.53
  commit 2017.08.10.19.03.27 joerg src/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c 1.5
  commit 2017.08.10.19.03.27 joerg src/tests/libexec/ld.elf_so/t_ifunc.c 1.3
  commit 2017.08.10.19.08.43 perseant src/tests/lib/libc/locale/t_btowc.c 1.3
  commit 2017.08.10.19.42.53 jakllsch src/etc/mtree/NetBSD.dist.base 1.162
  commit 2017.08.10.19.42.53 jakllsch src/external/broadcom/bcm43xx/Makefile 1.2

The rtld_hidden_ifunc test case is also failing, but since it was
enabled for arm in one of the above commits, I'm not sure if that one
counts as a new failure.

>How-To-Repeat:

Run the ATF tests on ARM.

>Fix:



Home | Main Index | Thread Index | Old Index