GSOC

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GSOC

Siddhartha Sen
I am Siddhartha Sen,currently pursuing my B.Tech degree in Information
Science and Engineering,2nd year. I have taken a keen interest in your
projects and have some ideas of my own as well. I am really interested in
working with you in G-SOC 2019. I am proficient in C and C++ and am eager
to work on brushing my skills in whichever field required. I have already
checked out the GCC trunk source-code and am being able to build GCC from
it.I have run the testsuite and saved the results. However, upon building
it and saving it again, the results don't match. I apologise for my lack of
knowledge but any help on your part would be great.
Thank You.
Reply | Threaded
Open this post in threaded view
|

Re: [GSOC] variations in testsuite results

Martin Jambor-3
Hi Siddhartha,

On Tue, Nov 27 2018, Siddhartha Sen wrote:
> I am Siddhartha Sen,currently pursuing my B.Tech degree in Information
> Science and Engineering,2nd year. I have taken a keen interest in your
> projects and have some ideas of my own as well. I am really interested in
> working with you in G-SOC 2019.

We are delighted.

> I am proficient in C and C++ and am eager
> to work on brushing my skills in whichever field required. I have already
> checked out the GCC trunk source-code and am being able to build GCC from
> it.I have run the testsuite and saved the results.

Great, those are all the essential first steps, it seems like you are
ready to work on your first patch.

> However, upon building
> it and saving it again, the results don't match. I apologise for my lack of
> knowledge but any help on your part would be great.

How did you compare the test results and which tests behaved
differently?  How did you configure GCC?  Was it on an x86_64?

Unfortunately, this sometimes happens.  As far as I can tell, the libgo
testsuite is very flaky and I basically ignore its results.  In the
past, I believe that also some guality tests sometimes passed and
sometimes did not, but I have not heard such reports recently.  These
tests however also depend on the GDB (version) you have installed on
your system.

Martin
Reply | Threaded
Open this post in threaded view
|

Fwd: [GSOC] variations in testsuite results

Siddhartha Sen
---------- Forwarded message ---------
From: Siddhartha Sen <[hidden email]>
Date: Sat 1 Dec, 2018, 2:01 AM
Subject: Re: [GSOC] variations in testsuite results
To: <[hidden email]>


Hi Martin,
                I apologise for the late reply.My semester end exams are
currently going on and I am finding it a bit difficult to devote time for
this. However, this time I have taken a bit different approach and it has
worked perfectly fine. I don't know what went wrong the last time,but this
is what I did this time:

Firstly,I use an x86_64(Ubuntu 18.04) since you asked,although I am not
sure whether that was a big factor or not. Anyways, I checked out the
source code. I checked on the internet to find that a few missing libraries
were required to compile gcc. Initially I was going to install them by hand
but then I realised it woud be a long process, considering I had to get
each one of those as well as check each of their versions,etc. So I used
the script that has been bundled with the source about which,to be honest,
I was unaware of until very recently. Then, I initially unset everything
and then enabled 'langages' and 'gold' and disabled 'libquadmath'(the quad
math library),werror' and 'bootstrap'.(A quick question:Did I also need to
disable the support for quadmath as well?).I thought of using the default
ld linker instead of the gold linker, but then I read somewhere gold linker
worked faster for c++ projects. Finally I compiled it(which took a bit
longer than it should have) and installed it for usage.I was actually
experimenting a bit and went a bit further and added it as an environment
variable through the export command. And that was all. Please let me know
what you thought and tell me what to do next.
Thank You.

On Wed, Nov 28, 2018 at 10:46 PM Martin Jambor <[hidden email]> wrote:

> Hi Siddhartha,
>
> On Tue, Nov 27 2018, Siddhartha Sen wrote:
> > I am Siddhartha Sen,currently pursuing my B.Tech degree in Information
> > Science and Engineering,2nd year. I have taken a keen interest in your
> > projects and have some ideas of my own as well. I am really interested in
> > working with you in G-SOC 2019.
>
> We are delighted.
>
> > I am proficient in C and C++ and am eager
> > to work on brushing my skills in whichever field required. I have already
> > checked out the GCC trunk source-code and am being able to build GCC from
> > it.I have run the testsuite and saved the results.
>
> Great, those are all the essential first steps, it seems like you are
> ready to work on your first patch.
>
> > However, upon building
> > it and saving it again, the results don't match. I apologise for my lack
> of
> > knowledge but any help on your part would be great.
>
> How did you compare the test results and which tests behaved
> differently?  How did you configure GCC?  Was it on an x86_64?
>
> Unfortunately, this sometimes happens.  As far as I can tell, the libgo
> testsuite is very flaky and I basically ignore its results.  In the
> past, I believe that also some guality tests sometimes passed and
> sometimes did not, but I have not heard such reports recently.  These
> tests however also depend on the GDB (version) you have installed on
> your system.
>
> Martin
>