https://bugs.kde.org/show_bug.cgi?id=434849
Bug ID: 434849 Summary: The vdso is not available when running on ppc64* Product: valgrind Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: tul...@quites.com.br Target Milestone: --- When running valgrind on ppc64le, the value of AT_SYSINFO_EHDR is hidden from the application. That is the address where the vDSO has been stored by Linux. A way to reproduce it is to request the loader (ld.so) to print the auxiliary vector: LD_SHOW_AUXV=1 ./valgrind /bin/true This is going to print the auxv 2 times: 1. When ld.so runs valgrind; 2. When /bin/true is executed under valgrind. Notice the absence of AT_SYSINFO_EHDR in the second execution: AT_DCACHEBSIZE: 0x80 AT_ICACHEBSIZE: 0x80 AT_UCACHEBSIZE: 0x0 AT_SYSINFO_EHDR: 0x7fff9f640000 AT_L1I_CACHESIZE: 32768 AT_L1I_CACHEGEOMETRY: 128B line size, Unknown associativity AT_L1D_CACHESIZE: 32768 AT_L1D_CACHEGEOMETRY: 128B line size, Unknown associativity AT_L2_CACHESIZE: 0 AT_L2_CACHEGEOMETRY: Unknown line size, Unknown associativity AT_L3_CACHESIZE: 0 AT_L3_CACHEGEOMETRY: Unknown line size, Unknown associativity AT_HWCAP: true_le archpmu vsx arch_2_06 dfp ic_snoop smt mmu fpu altivec ppc64 ppc32 AT_PAGESZ: 65536 AT_CLKTCK: 100 AT_PHDR: 0x10000040 AT_PHENT: 56 AT_PHNUM: 9 AT_BASE: 0x7fff9f660000 AT_FLAGS: 0x0 AT_ENTRY: 0x10001508 AT_UID: 1000 AT_EUID: 1000 AT_GID: 100 AT_EGID: 100 AT_SECURE: 0 AT_RANDOM: 0x7fffed9aa3b2 AT_HWCAP2: scv darn ieee128 arch_3_00 vcrypto tar isel ebb dscr arch_2_07 AT_EXECFN: ./valgrind AT_PLATFORM: power9 AT_BASE_PLATFORM: power9 ==19155== Memcheck, a memory error detector ==19155== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==19155== Using Valgrind-3.18.0.GIT and LibVEX; rerun with -h for copyright info ==19155== Command: /bin/true ==19155== AT_DCACHEBSIZE: 0x80 AT_ICACHEBSIZE: 0x80 AT_UCACHEBSIZE: 0x0 AT_HWCAP: true_le archpmu vsx arch_2_06 dfp ic_snoop smt mmu fpu altivec ppc64 ppc32 AT_PAGESZ: 65536 AT_CLKTCK: 100 AT_PHDR: 0x180040 AT_PHENT: 56 AT_PHNUM: 9 AT_BASE: 0x4000000 AT_FLAGS: 0x0 AT_ENTRY: 0x181c44 AT_UID: 1000 AT_EUID: 1000 AT_GID: 100 AT_EGID: 100 AT_SECURE: 0 AT_RANDOM: 0x1fff00ffd7 AT_HWCAP2: ieee128 arch_3_00 tar isel ebb dscr arch_2_07 AT_EXECFN: /bin/true AT_PLATFORM: power9 AT_BASE_PLATFORM: power9 ==19155== ==19155== HEAP SUMMARY: ==19155== in use at exit: 0 bytes in 0 blocks ==19155== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==19155== ==19155== All heap blocks were freed -- no leaks are possible ==19155== ==19155== For lists of detected and suppressed errors, rerun with: -s ==19155== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -- You are receiving this mail because: You are watching all bug changes.