You should not need to build 32-bit Valgrind explicitly. By default Valgrind on newer Solaris should handle both 32-bit and 64-bit programs; but see README.solaris for caveats. You did not specify Solaris version (pkg info entire) so it is hard to say where you are. Note that Solaris 11.1 and 11.2 are quite old now. You need to compile Valgrind from sources (http://valgrind.org/downloads/repository.html) and see if the problem still persists. If it does, try to do something along these lines and analyze+report the output: $ dwarfdump -i /lib/ld.so.1 -or- $ readelf --debug-dump=info /lib/ld.so.1
Also try to invoke Valgrind with "--read-var-info=yes" to see if this triggers the problem. As per "how do I fix this": 1. Analyze and understand the problem. 2. Decide cons and pros of possible solutions. 3. Implement the fix. I. Il giorno dom 10 mar 2019 alle ore 08:48 sandeep bhardwaj <sandyb...@gmail.com> ha scritto: > > I built 32 bit valgrind on Solaris x86 machine. > > Valgrind version : 3.14. > gcc version : 7.3.0 > > I ran configure script as below > > ./configure CC='cc -m32' CXX='CC -m32' > > I removed xpg symbols from vgpreload-solaris.mapfile as i was getting errors > while building. > > I am getting the below error while running valgrind. How do i fix this?? > > root@*******:/tmp# valgrind ./test > ==7869== Memcheck, a memory error detector > ==7869== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. > ==7869== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info > ==7869== Command: ./test > ==7869== > --7869-- WARNING: Serious error when reading debug info > --7869-- When reading debug info from /lib/ld.so.1: > --7869-- Can't make sense of .data section mapping > ==7869== Conditional jump or move depends on uninitialised value(s) > ==7869== at 0x4FFD94C5: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBFCF7: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB0A6B: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFC031D: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBDB95: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBEA19: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFD1C3F: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB1E5E: ??? (in /lib/ld.so.1) > ==7869== by 0x57FEFD6E: ??? > ==7869== > ==7869== Conditional jump or move depends on uninitialised value(s) > ==7869== at 0x4FFD9469: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB36BD: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB3B54: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB474F: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB5185: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB54ED: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBDD4D: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBF1D6: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFD1C3F: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB1E5E: ??? (in /lib/ld.so.1) > ==7869== by 0x57FEFD6E: ??? > ==7869== > ==7869== Conditional jump or move depends on uninitialised value(s) > ==7869== at 0x4FFD9497: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB36BD: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB3B54: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB474F: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB5185: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB54ED: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBDD4D: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBF1D6: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFD1C3F: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB1E5E: ??? (in /lib/ld.so.1) > ==7869== by 0x57FEFD6E: ??? > ==7869== > ==7869== Conditional jump or move depends on uninitialised value(s) > ==7869== at 0x4FFD94C5: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB36BD: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB3C87: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB3E3B: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB48E2: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB5185: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB54ED: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB7462: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB21D8: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBF22A: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFD1C3F: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB1E5E: ??? (in /lib/ld.so.1) > ==7869== > ==7869== Conditional jump or move depends on uninitialised value(s) > ==7869== at 0x4FFD940D: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBFCF7: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB0A6B: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFC031D: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBD27E: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFBD86B: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB781B: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB81BB: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB88BC: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB5C36: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB5FD9: ??? (in /lib/ld.so.1) > ==7869== by 0x4FFB62C5: ??? (in /lib/ld.so.1) > ==7869== > ==7869== > ==7869== HEAP SUMMARY: > ==7869== in use at exit: 0 bytes in 0 blocks > ==7869== total heap usage: 0 allocs, 0 frees, 0 bytes allocated > > > Thanks & Regards, > Sandeep > _______________________________________________ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users