cvalgrindqnxblackberry-qnx

How to use valgrind on QNX platform


According to the official documents of valgrind, QNX is not supported. Howerver, I saw some questions about using valgrind on QNX. question1 question2. This confused me. Is it possible to run Valgrind on QNX? If it is possible, how can this be achieved? Perhaps compiling an executable file that compatible with the QNX platform? or is there a way to download the correct files?

I found the Valgrind project on QNX community. I downloaded the package. Howerver, it did not contain files about the arm64/aarch64 architecture which I needed.


Solution

  • You will probably need to download the source (from here https://community.qnx.com/sf/scm/do/listRepositories/projects.valgrind/scm) and build it.

    It doesn't look like it has been maintained for 7 years (Valgrind 3.11) so I think that getting it to build and work will be a substantial effort unless QNX and the toolchain have not changed much in the same time.