bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSOC - valgrind-hurd queries


From: Subhashish Pradhan
Subject: Re: GSOC - valgrind-hurd queries
Date: Sun, 24 Aug 2014 04:31:34 +0530

Hello,

I've successfully passed the final evaluations for the project. Thanks
for your mentor-ship.
This week I'll take a break to plan the next steps for this project.

For the code submission, the patch set will not include the "teaching
of the link flags".

Do you think I could mention this project in my CV after I complete
the port as a part of the work done for the GNU Project?

Sincerely,
Subhashish Pradhan

On Tue, Aug 19, 2014 at 4:23 AM, Samuel Thibault
<samuel.thibault@gnu.org> wrote:
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]