valgrind-32 fails to run in LS1046A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

valgrind-32 fails to run in LS1046A

68 Views
isharat9
Contributor I

Hi,

We are working with the LS1046A platform and are trying to debug a legacy 32-bit application. To assist with this, we configured and built a 32-bit version of Valgrind. However, we are encountering issues with the Memcheck tool when attempting to launch Valgrind.

Could you please assist us in resolving this issue so that we can successfully run the 32-bit Valgrind application on our hardware platform?

Below is the snapshot of issue:

which valgrind
/usr/bin/valgrind
[root@localhost valgrind-32]# file /usr/bin/valgrind
/usr/bin/valgrind: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, BuildID[sha1]=c57eeea8609264d69a954a19146927fe1130add6, for GNU/Linux 3.2.0, stripped
[root@localhost valgrind-32]# valgrind /bin/true
valgrind: failed to start tool 'memcheck' for platform 'arm64-linux': No such file or directory

 

Thanks,

Isharat

 

0 Kudos
Reply
2 Replies

44 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Yes the LS2046 does not have any vlgrind32 bit on it then you may build it a post it in the BSP,

regards

0 Kudos
Reply

22 Views
isharat9
Contributor I

Hi,

Yes, Default BSP is not providing valgrind (32-bit) and we are looking for help to run 32-bit valgrind on LS1046( 64 bit) platform.

Since platform is multilib supported, few of our legacy applications are getting build as 32 bit and to debug the same we are seeking a support.

Regards,

Isharat

0 Kudos
Reply