Bug#928224: AW: Bug#928224: Valgrind is broken on armhf

2019-05-02 Thread Benjamin Wozniak
Hi Bernhard,

thanks for your support. I installed the packages valgrind-dbg, libc6-l10n and 
locales
so that we can compare our systems. But the problem is still present.
I attached a file with my debugging output.

Kind regards,
Benjamin
root@localhost:~# valgrind /bin/true
==11507== Memcheck, a memory error detector
==11507== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==11507== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==11507== Command: /bin/true
==11507== 

valgrind:  Fatal error at startup: a function redirection
valgrind:  which is mandatory for this platform-tool combination
valgrind:  cannot be set up.  Details of the redirection are:
valgrind:  
valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:  index
valgrind:  in an object with soname matching:   ld-linux-armhf.so.3
valgrind:  was not found whilst processing
valgrind:  symbols from the object with soname: ld-linux-armhf.so.3
valgrind:  
valgrind:  Possible fixes: (1, short term): install glibc's debuginfo
valgrind:  package on this machine.  (2, longer term): ask the packagers
valgrind:  for your Linux distribution to please in future ship a non-
valgrind:  stripped ld.so (or whatever the dynamic linker .so is called)
valgrind:  that exports the above-named function using the standard
valgrind:  calling conventions for this platform.  The package you need
valgrind:  to install for fix (1) is called
valgrind:  
valgrind:On Debian, Ubuntu: libc6-dbg
valgrind:On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
valgrind:  
valgrind:  Note that if you are debugging a 32 bit process on a
valgrind:  64 bit system, you will need a corresponding 32 bit debuginfo
valgrind:  package (e.g. libc6-dbg:i386).
valgrind:  
valgrind:  Cannot continue -- exiting now.  Sorry.


root@localhost:~# dpkg -l | grep -E "2.28-8|1:3.14.0-3"
ii  libc-bin2.28-8  armhf
GNU C Library: Binaries
ii  libc-l10n   2.28-8  all  
GNU C Library: localization files
ii  libc6:armhf 2.28-8  armhf
GNU C Library: Shared libraries
ii  libc6-dbg:armhf 2.28-8  armhf
GNU C Library: detached debugging symbols
ii  locales 2.28-8  all  
GNU C Library: National Language (locale) data [support]
ii  valgrind1:3.14.0-3  armhf
instrumentation framework for building dynamic analysis tools
ii  valgrind-dbg1:3.14.0-3  armhf
instrumentation framework for building dynamic analysis tools (debug)


root@localhost:~# dpkg -S ld-linux-armhf.so.3
libc6:armhf: /lib/ld-linux-armhf.so.3
libc6:armhf: /lib/arm-linux-gnueabihf/ld-linux-armhf.so.3


root@localhost:~# uname -a
Linux localhost 4.14.105-g7cb66ba74707 #1 SMP 2019-03-12 armv7l GNU/Linux


root@localhost:~# lscpu
Architecture:armv7l
Byte Order:  Little Endian
CPU(s):  2
On-line CPU(s) list: 0,1
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):   2
Vendor ID:   ARM
Model:   0
Model name:  Cortex-A9
Stepping:r3p0
BogoMIPS:666.66
Flags:   half thumb fastmult vfp edsp neon vfpv3 tls vfpd32

Bug#928224: Valgrind is broken on armhf

2019-04-30 Thread Benjamin Wozniak
Package: valgrind 
Version: 1:3.14.0-3
Severity: important

Hi,
i encountered a bug in valgrind. I tried to analyze an application on an armhf 
platform but valgrind didn't worked. It does not even work on /bin/true (output 
below). 
Installed libc6 version: libc6-dgb:armhf 2.28-8

valgrind /bin/true

==12463== Memcheck, a memory error detector
==12463== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==12463== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==12463== Command: /bin/true
==12463== 

valgrind:  Fatal error at startup: a function redirection
valgrind:  which is mandatory for this platform-tool combination
valgrind:  cannot be set up.  Details of the redirection are:
valgrind:  
valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:  index
valgrind:  in an object with soname matching:   ld-linux-armhf.so.3
valgrind:  was not found whilst processing
valgrind:  symbols from the object with soname: ld-linux-armhf.so.3
valgrind:  
valgrind:  Possible fixes: (1, short term): install glibc's debuginfo
valgrind:  package on this machine.  (2, longer term): ask the packagers
valgrind:  for your Linux distribution to please in future ship a non-
valgrind:  stripped ld.so (or whatever the dynamic linker .so is called)
valgrind:  that exports the above-named function using the standard
valgrind:  calling conventions for this platform.  The package you need
valgrind:  to install for fix (1) is called
valgrind:  
valgrind:On Debian, Ubuntu: libc6-dbg
valgrind:On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
valgrind:  
valgrind:  Note that if you are debugging a 32 bit process on a
valgrind:  64 bit system, you will need a corresponding 32 bit debuginfo
valgrind:  package (e.g. libc6-dbg:i386).
valgrind:  
valgrind:  Cannot continue -- exiting now.  Sorry.

Best regards,
Benjamin