From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by sourceware.org (Postfix) with ESMTPS id 030AA386EC42 for ; Tue, 12 Jan 2021 13:39:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 030AA386EC42 Received: by mail-oi1-x230.google.com with SMTP id 15so2324152oix.8 for ; Tue, 12 Jan 2021 05:39:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2LP5DmWIYHIV7qGKpSSiPCRu1JlR6DOqlozi1QItdgc=; b=DjPs3hvLH+OdsBbmlS2TVSMgb780NDtZIo1DGS27k6dU4tGdmFvfrVh2rh9gfAhanV m8EgCgdwIWAbufMYievxLdfzlIeghZOGdm1v6++ud/axkzOS/2tS3jQpFfyaxdk90PdA YjeEpMJlMGEGwVSJrwzMkM8+bAdZyfHHBsCcSfY7XjiaVMxwDFeKiKIL75e3TaKlxEmu cTSNhkDSFPRAXuNYp1/6MyznTc2GMpLZ+8aH5DEN5lgP8Nw02yX0WyB3dc096GnGqTDw w5vCD4C7l7DuU2joI8LtLP9/HqoXer7R5A+TYbuzXVL3l9vdi5SAyEIasrx9zP9aL+be SiUw== X-Gm-Message-State: AOAM532mPDZwacfYg+9OUuesFa7TjYAuSS+1W09t2NwEkypibI0YzXaj 2sTmYnL2Aj47psolJo/wy+u1o45b2/MDrjblFhfUas+46Vc= X-Google-Smtp-Source: ABdhPJyeGVw9tBg+iWS6t/l6ufmjD4RX/M7FnnD1nmE6JHoU5ksfZB7KguXLTVXAj+4x9OFAA8vh+aHb2CK+MPXWUmk= X-Received: by 2002:aca:4d8b:: with SMTP id a133mr2373872oib.79.1610458788517; Tue, 12 Jan 2021 05:39:48 -0800 (PST) MIME-Version: 1.0 References: <20201027110235.4137393-1-hjl.tools@gmail.com> <71dad297-88d3-5c81-1bd1-a55bd23b7780@redhat.com> In-Reply-To: From: "H.J. Lu" Date: Tue, 12 Jan 2021 05:39:12 -0800 Message-ID: Subject: Re: [PATCH] Implement a workaround for GNU mak jobserver To: Nick Clifton Cc: Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3029.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 13:39:50 -0000 On Tue, Jan 12, 2021 at 5:36 AM H.J. Lu wrote: > > On Tue, Jan 12, 2021 at 5:26 AM Nick Clifton wrote: > > > > Hi H.J. > > > > >> since the '+' is missing on the recipe line in Makefiles generated by > > >> automake. Add the '+' to the recipe line by hand. > > > > Is this an automake bug that ought to be reported ? > > Yes > > https://lists.gnu.org/archive/html/automake/2020-02/msg00012.html > > But my automake patch was rejected because automake developers > believe that the choice of adding '+" belongs to package builders, not > package developers. FYI, here is my automake patch: https://lists.gnu.org/archive/html/automake-patches/2020-10/msg00003.html > > >> bfd/ > > >> > > >> PR binutils/26792 > > >> * configure.ac: Use GNU_MAKE_JOBSERVER. > > >> * aclocal.m4: Regenerated. > > >> * configure: Likewise. > > >> > > >> binutils/ > > >> > > >> PR binutils/26792 > > >> * configure.ac: Use GNU_MAKE_JOBSERVER. > > >> * aclocal.m4: Regenerated. > > >> * configure: Likewise. > > >> > > >> config/ > > >> > > >> PR binutils/26792 > > >> * jobserver.m4: New file. > > >> > > >> gas/ > > >> > > >> PR binutils/26792 > > >> * configure.ac: Use GNU_MAKE_JOBSERVER. > > >> * aclocal.m4: Regenerated. > > >> * configure: Likewise. > > >> > > >> gprof/ > > >> > > >> PR binutils/26792 > > >> * configure.ac: Use GNU_MAKE_JOBSERVER. > > >> * aclocal.m4: Regenerated. > > >> * configure: Likewise. > > >> > > >> ld/ > > >> > > >> PR binutils/26792 > > >> * configure.ac: Use GNU_MAKE_JOBSERVER. > > >> * aclocal.m4: Regenerated. > > >> * configure: Likewise. > > >> > > >> libctf/ > > >> > > >> PR binutils/26792 > > >> * configure.ac: Use GNU_MAKE_JOBSERVER. > > >> * aclocal.m4: Regenerated. > > >> * configure: Likewise. > > >> > > >> opcodes/ > > >> > > >> PR binutils/26792 > > >> * configure.ac: Use GNU_MAKE_JOBSERVER. > > >> * aclocal.m4: Regenerated. > > >> * configure: Likewise. > > > > > > I have checked the PGO/LTO build patches into master branch. Here > > > is the updated patch to enable LTO jobserver with GCC 11. > > > > > > OK for master? > > > > Approved - please apply. > > > > I will check it in shortly. > > Thanks. > > -- > H.J. -- H.J.