This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: 0.161 elfutils test are failing on Linux Arch
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 14 Jan 2015 20:41:57 +0100
- Subject: Re: 0.161 elfutils test are failing on Linux Arch
On Wed, 2015-01-14 at 11:19 -0800, Anatol Pomozov wrote:
> I am trying to build elfutils 0.161 on Linux Arch and 2 tests are failing.
> Building 0.160 on the same machine is fine.
> [...]
> FAIL: vdsosyms
> FAIL: run-deleted.sh
>
>
> [anatol(a)arch tests]$ cat vdsosyms.log
> module name: /usr/bin/bash
> module name: /usr/lib/libc-2.20.so
> module name: /usr/lib/libdl-2.20.so
> module name: /usr/lib/libncursesw.so.5.9
> module name: /usr/lib/libreadline.so.6.3
> module name: /usr/lib/ld-2.20.so
> module name: [vdso: 22118]
> vdso syms: -1
> ./vdsosyms: dwfl_module_getsymtab: Callback returned failure
>
>
> [anatol(a)arch tests]$ cat run-deleted.sh.log
> PID 22079 - process
> TID 22079:
> /home/anatol/sources/core-arch/elfutils/trunk/src/elfutils-0.161/src/stack:
> dwfl_thread_getframes tid 22079: Operation not permitted
> /home/anatol/sources/core-arch/elfutils/trunk/src/elfutils-0.161/src/stack:
> Couldn't show any frames.
>
>
> Is it a known issue with 0.161?
Not a know issue.
The first error message isn't very helpful. But the second might
indicate some ptrace operation or reading /proc/pid/mem is not
permitted. Both tests rely on being able to attach to and read from the
process memory to get the ELF image (the first for the vdso, the second
for the deleted.so).
There have been selinux setting that prevented any such operation. Maybe
Arch linux enables something like that?