From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 606633852C4E for ; Mon, 12 Dec 2022 11:39:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 606633852C4E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4790B337AD; Mon, 12 Dec 2022 11:39:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1670845177; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ziVxWpHo98CG7vo752jEvdP1gYXgwNJT7XOylu0bVDA=; b=a24Tw2aHubXSTTFEvR6NPx0AEZ0yjUMl6uv3LHIihKLTIFB5/+qh6IXJPsDLiWBJ5zX9TB +aJcm08KAAJnXfti+s15JV2daDFAtqxaRZgUa49drfPc9kvNeuwyJnkwz/lo5z/EoB4pG0 J/bBmn6PnfVOoymq0fgTzZT9RTDJsjA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1670845177; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ziVxWpHo98CG7vo752jEvdP1gYXgwNJT7XOylu0bVDA=; b=8O/tekaFmHQD7wfX32rWheTitZp+Wq3hEDiqAvGsYK1yMmxZe46Va8G0heRitFlVFdxpPM etWjRcn42eUqr9DA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2AB0913456; Mon, 12 Dec 2022 11:39:37 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +WVpCfkSl2PsZQAAMHmgww (envelope-from ); Mon, 12 Dec 2022 11:39:37 +0000 Message-ID: <291363f6-970c-031f-0f27-f58a7195435f@suse.cz> Date: Mon, 12 Dec 2022 12:39:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] Backport gcc-12: jobserver FIFO support To: Richard Biener Cc: GCC Patches , Jakub Jelinek , =?UTF-8?Q?Arsen_Arsenovi=c4=87?= References: <8b594fb7-343d-ca34-20c7-e15f6315c884@suse.cz> Content-Language: en-US From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 12/11/22 11:47, Richard Biener wrote: > On Fri, Dec 9, 2022 at 11:07 AM Martin Liška wrote: >> >> Hi. >> >> As make 4.4 has been release, it switches to FIFO by default. That makes >> troubles to the latest GCC release, version 12. > > Can you elaborate on "troubles" here? Sure. Problem with the latest GNU make and current gcc-12 branch is that GCC can't properly detect jobserver because --jobserver-auth=fifo:$path is unknown to it. Thus we fallback to auto parallelism detection in most cases. The mentioned patches properly detect both the old and the new --jobserver-auth format. > I'm fine with backporting the whole > series to GCC 12 but I wonder if earlier still maintained versions are also > affected (noting that the series also addresses WPA streaming which is > not part of the "troubles" here). Yes, they are also affected. So ready for all active branches? Cheers, Martin > > Thanks, > Richard. > >> Right now, we've been using >> the following 4 patches in openSUSE gcc12 package: >> >> 1270ccda70ca09f7d4fe76b5156dca8992bd77a6 >> 53e3b2bf16a486c15c20991c6095f7be09012b55 >> fed766af32ed6cd371016cc24e931131e19b4eb1 >> 3f1c2f89f6b8b8d23a9072f8549b0a2c1de06b03 >> >> Would it be fine to backport it to gcc-12 branch? Arsen asked me the today >> as Gentoo people want it as well. >> >> Patch can bootstrap on x86_64-linux-gnu and survives regression tests. >> >> Ready to be installed? >> Thanks, >> Martin