Re: assert on aarch64: m_redir.c vgPlain_redir_add_ifunc_target Assertion 'old' failed (revival #327427?)

John Reiser <[email protected]> Sun, 15 Dec 2024 16:42:35 -0800
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
See more progress in https://bugs.kde.org/show_bug.cgi?id=483711#c7 .

On arm64 Linux I have 32-bit arm recognized as a Secondary architecture,
and all the pieces build for both 64-bit and 32-bit.
64-bit memcheck works. 32-bit memcheck fails with
=====
$ $HOME/local/bin/valgrind ./hello32
valgrind: m_ume.c: can't open interpreter
=====
interpreter is /lib/ld-linux.so.3.
I have /lib/ld-linux-armhf.so.3 ; perhaps I can symlink them.

Yes, it works!  Well, sort of:
ERROR: ld.so: object 
'$HOME/local/libexec/valgrind/vgpreload_core-arm-linux.so' from 
LD_PRELOAD cannot be preloaded (internal error): ignored.
ERROR: ld.so: object 
'$HOME/local/libexec/valgrind/vgpreload_memcheck-arm-linux.so' from 
LD_PRELOAD cannot be preloaded (internal error): ignored.
./a.out: /lib/libc.so.6: version `GLIBC_2.34' not found (required by 
./a.out)
==25779==
==25779== HEAP SUMMARY:
==25779==     in use at exit: 0 bytes in 0 blocks
==25779==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==25779==
==25779== All heap blocks were freed -- no leaks are possible