Subhashish Pradhan, le Sun 17 Aug 2014 20:07:25 +0530, a écrit : > I moved back to my college hostel this week so it was a bit busy. > I apologise for the delay.
Sure. The firm deadline is google's, not mine :) > I think you put my situation into words perfectly. Well, here's the report > [1]. You should probably have a tl;dr paragraph at the beginning, like a dozen lines or two, which summarizes the achievements. > P.S. - There's one error that's failing the make process. It's the > last invocation in coregrind. Notice the command difference between GNU and Linux: > gcc -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing -fno-builtin > -Wno-long-long -Wwrite-strings -fno-stack-protector -o > vgpreload_core-x86-gnu.so vgpreload_core_x86_gnu_so-vg_preloaded.o vs > gcc -m64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith > -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length > -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -fpic -O -g > -fno-omit-frame-pointer -fno-strict-aliasing -fno-builtin > -Wno-long-long -Wwrite-strings -fno-stack-protector -nodefaultlibs > -shared -Wl,-z,interpose,-z,initfirst -m64 -o > vgpreload_core-amd64-linux.so > vgpreload_core_amd64_linux_so-vg_preloaded.o The linux version has a very important -shared flag :) You need to teach valgrind that GNU uses the same link flags etc. as Linux to produced the .so files, see the definition of CFLAGS_MPI and LDFLAGS_MPI in configure.ac, and of PRELOAD_LDFLAGS_COMMON_LINUX in MAkefile.all.am. > Also, I believe I have to submit my work in the form of a > patch-set on Melange, right? Yes, but see the timeline: that'll be open on 22 August 20:00 UTC. Samuel