From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id B455C3858D37 for ; Wed, 28 Dec 2022 08:57:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B455C3858D37 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-out2.suse.de (Postfix) with ESMTPS id D039C67F52; Wed, 28 Dec 2022 08:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1672217866; 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=au7cfsnCGhmabsXFrZ37ZMQTC7gDkhNnu7kKRlSnhds=; b=0SmrN+vfTjn5T+jS+w+JQEHwx0D/VYSffSru2LIUR+ynE08VgKRTjhQZ/+mIxLM9DJ+ztp mwKSKsqUzWxE4XQhnKGfLMiGVQe2IUfUTzcQGrKLYM2VJbzCoYpXFcUgxd6XNys6yILfLG ac9tn7Ntx0mGzwgRgar9/ywTVQrvnUE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1672217866; 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=au7cfsnCGhmabsXFrZ37ZMQTC7gDkhNnu7kKRlSnhds=; b=oed5YOgobDrV0ya2onaolgCSwyrpf5omKJyORZVRLXvshZL9reiG9tLHZawkln3T2jPCwq TTNV1veV0CF2dwBg== 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 B0CC5134F5; Wed, 28 Dec 2022 08:57:46 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 7+GaKQoFrGM4SwAAMHmgww (envelope-from ); Wed, 28 Dec 2022 08:57:46 +0000 Message-ID: <029a9772-d808-043b-b6a6-1fbfeefb635c@suse.cz> Date: Wed, 28 Dec 2022 09:57:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: Document how to build PGO-optimized GCC version Content-Language: en-US To: Andrew Pinski , Alexander Zaitsev Cc: gcc@gcc.gnu.org References: <387a052a-60f2-3d03-38d4-dcff21aaaa03@tut.by> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 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/28/22 06:48, Andrew Pinski via Gcc wrote: > But distros do provide more recent prebuilt binaries, you could ask > them to build using PGO (some do already I think). Yes, I can confirm that the openSUSE gccX pacakges utlize both PGO and LTO during the compiler bootstrap. So, you can use: https://software.opensuse.org/package/gcc12 What compiler version and the architecture are you interested in? Cheers, Martin