public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: Jonathan Wakely <jwakely.gcc@gmail.com>
Cc: gcc@gcc.gnu.org
Subject: Re: contributor guidelines
Date: Tue, 05 Dec 2023 16:57:54 +0100	[thread overview]
Message-ID: <3919390.7aLa9RWsQo@nimes> (raw)
In-Reply-To: <CAH6eHdQEY9=6ofTqf-Aua9V3aPym392W0FG2HYotYNaZPtiT7A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1845 bytes --]

Hi Jonathan,

Thank you for your answer.

> No, don't configure in the source directory:
> https://gcc.gnu.org/wiki/FAQ#configure

OK.

> And it hasn't been necessary to run 'make bootstrap' for years, just
> running 'make' does exactly the same thing now.

Actually, "make" works better than "make bootstrap": While "make bootstrap"
fails with the cited internal compiler error while compiling
libgcc/config/libbid/bid128_add.c, "make" runs to completion.
I started both in separated subdirectories and configured with the same
options.

So, if nobody is using "make bootstrap" any more, that explains why I hit
that internal compiler error.

> I don't see this error when building master on x86_64-pc-linux-gnu.
> This might be a local problem, caused by your host compiler, or the
> versions of GMP, MPFR, or MPC, or something else.

You were probably running "make", not "make bootstrap"?

Next, I ran "make -k check". Its output shows 182 failures in various
test suites. What am I supposed to do?
  - Apply common sense and ignore the failures if they don't have an
    apparent relation with my contribution?
  - Repeat the entire build without my patch, and see if I get the same
    182 failures?
  - Submit my patch to gcc-patches@ anyway, attaching the list of failures?

In summary
==========

I think it would greatly help contributors if the wiki page
https://gcc.gnu.org/contribute.html#testing
was modified:
  1) to mention that the build should be done in a subdirectory or sibling
     directory,
  2) to mention that '../configure [options]' should be run (even if, to
     some people, it is obvious),
  3) to mention to run 'make', not 'make bootstrap' — because 'make bootstrap'
     is too fragile,
  4) to mention how to deal with the result of "make -k check".

Bruno

[-- Attachment #2: make-check.log.gz --]
[-- Type: application/gzip, Size: 28968 bytes --]

      parent reply	other threads:[~2023-12-05 15:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-04 12:19 Bruno Haible
2023-12-04 12:37 ` Jonathan Wakely
2023-12-05  5:26   ` waffl3x
2023-12-05 15:57   ` Bruno Haible [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3919390.7aLa9RWsQo@nimes \
    --to=bruno@clisp.org \
    --cc=gcc@gcc.gnu.org \
    --cc=jwakely.gcc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).