From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57542 invoked by alias); 31 Jul 2019 09:15:32 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 57284 invoked by uid 89); 31 Jul 2019 09:15:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=15AM, 15am X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 31 Jul 2019 09:15:14 +0000 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D32B186679; Wed, 31 Jul 2019 09:15:08 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-108.ams2.redhat.com [10.36.116.108]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7240D1001281; Wed, 31 Jul 2019 09:15:08 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id x6V9F54M000562; Wed, 31 Jul 2019 11:15:06 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id x6V9F39D000561; Wed, 31 Jul 2019 11:15:03 +0200 Date: Wed, 31 Jul 2019 09:17:00 -0000 From: Jakub Jelinek To: Jan Hubicka Cc: Martin =?utf-8?B?TGnFoWth?= , Jeff Law , gcc-patches@gcc.gnu.org, Michael Matz , Richard Biener Subject: Re: [PATCH] Deduce automatically number of cores for -flto option. Message-ID: <20190731091503.GY15878@tucnak> Reply-To: Jakub Jelinek References: <69d3f527-4086-da6c-e789-469dc389d9eb@redhat.com> <20190730233230.GS15878@tucnak> <87d4b006-bb01-a608-7abe-680dffcc937a@suse.cz> <20190731073407.GU15878@tucnak> <20190731080809.g2uerujjqvsaut74@kam.mff.cuni.cz> <20190731085757.GX15878@tucnak> <20190731091215.f5yjjaevmvhiyma4@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190731091215.f5yjjaevmvhiyma4@kam.mff.cuni.cz> User-Agent: Mutt/1.11.3 (2019-02-01) X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg01861.txt.bz2 On Wed, Jul 31, 2019 at 11:12:15AM +0200, Jan Hubicka wrote: > > so, if one is lucky enough and at least one of the two file descriptors in > > MAKEFLAGS --jobserver-auth= is closed, it will work fine, but if they are > > open, even when they have nothing to do with make, it will fail miserably. > > I see, so the problem is that lto-wrapper is executed via plugin from > gold which already used the file descriptors for something else? I don't think I'm using gold, I have it installed, but /usr/bin/ld points to ld.bfd. Jakub