From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36558 invoked by alias); 3 Dec 2018 22:17:24 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 36540 invoked by uid 89); 3 Dec 2018 22:17:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=eager, skills, UD:My, fwd X-HELO: mail-lf1-f42.google.com Received: from mail-lf1-f42.google.com (HELO mail-lf1-f42.google.com) (209.85.167.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 03 Dec 2018 22:17:20 +0000 Received: by mail-lf1-f42.google.com with SMTP id i26so10437168lfc.0 for ; Mon, 03 Dec 2018 14:17:19 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Siddhartha Sen Date: Mon, 03 Dec 2018 22:17:00 -0000 Message-ID: Subject: Fwd: [GSOC] variations in testsuite results To: gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-12/txt/msg00016.txt.bz2 ---------- Forwarded message --------- From: Siddhartha Sen Date: Sat 1 Dec, 2018, 2:01 AM Subject: Re: [GSOC] variations in testsuite results To: 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 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 >