Hello, I am using a customized version of valgrind on a debian 7.80 amd64 virtual machine. I am attempting to integrate a tool called catchconv into valgrind. The original version of catchconv was written in 2007 and was based on valgrind 3.2.2, so I have been trying to update the version of valgrind to 3.7.0.
I was successful in getting everything to compile, but when I run valgrind --tool=catchconv, I am getting this error: valgrind: mmap(0x400000, 704512) failed in UME with error 22 (Invalid argument). valgrind: this can be caused by executables with very large text, data or bss segments. I did see a bug report about this problem here: https://bugs.kde.org/show_bug.cgi?id=193413 and according to this discussion the problem stemmed from a difference between how ld and gold linked the modules and assigned the entry point to valgrind. The solution that was mentioned was to include the -Wl flag on the linker. In my make file and the log for the make of valgrind, I see the -Wl flag used, so I am wondering what else could be causing the problem, and how I can resolve it. I am working on a thesis project and valgrind is a major part of the project, so any help would be greatly appreciated. Thanks in advance, Donald ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users