From: Eliot M. <mo...@cs...> - 2021-01-14 13:32:06
|
On 1/14/2021 2:59 AM, Koki Nagahama wrote: > Hi VALGRIND developers, > > I'm planning to modify a part of your product, VALGRIND,to integrate it with a middleware for robots > called ROS.However, I'm having trouble building from the Valgrind source code on Ubuntu 20.xx. > > The hardware is a Raspberry Pi 4B+ (aarch64) and the OS is Ubuntu Mate 20.04 (focal) 64-bit > version,so I think ARMv8 is supported, but I can't seem to get it to work.The source code is from > 3.16.1, which came out this year. > > From reading the errors and warnings, maybe there is an obvious reason in the source code,but maybe > there are other build stoppers after the one I failed to build,so can you please help me to > investigate the cause and help me to build successfully? > > By the way, Ubuntu 18.04 LTS succeeded in building as usual. It may be that the package required for > make is not included in Ubuntu 20.xx or is different, but I have no idea. > > I've uploaded the build log of my environment to Google Drive, and the URL is listed below.Some of > the logs are omitted because I ran the command one more time after one failed build,but I hope it > helps you understand the situation. > > Build log:https://drive.google.com/file/d/1-pxnXa-GgEYak8k_ITpj504LlBMYbR9H/view?usp=sharing It is failing in the stage where it is building MPI support. Your setup seems to have mpi installed (mpicc and mpi.h are found), but apparently not a version of mpi.h that works with valgrind. You might try configuring --without-mpicc or else revert the MPI version to 2.something instead of 3.something. (The latter is a little bit of a guess, but because configure --help mentions MPI2.) HTH - Eliot Moss |