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 42439383B401; Mon, 16 Aug 2021 13:58:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 42439383B401 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 imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (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 277261FE70; Mon, 16 Aug 2021 13:58:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1629122331; 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=eL4kQxe7DjjP+Gd9zVioSNi718d+bPEcznG9Ko7/lZc=; b=Ak6tfpksZWlapU/3XSKyBYgkq2YQKmCtE0o2DEgJ/TxIvIphqbSD1jIG+Fls5iVCBqkE5C hDqPuMfxfoGI88lEbxPRkQ8B2iIDOPDcqTtUMjFbyije4/s7KQkuBceBrbqxnkItfhGqLv kXcu9lC2hUCabO2sG5YHx6+qZWyajbI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1629122331; 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=eL4kQxe7DjjP+Gd9zVioSNi718d+bPEcznG9Ko7/lZc=; b=Srd406oi3iiTCvFl4730gLODiX2A4EAP1rDqIHgRMGNZDIm9CaON2uLZjyglckj/6esKP0 4IWaupuoWOmmVwDw== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (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 imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 06ED013301; Mon, 16 Aug 2021 13:58:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id sACsABtvGmECQQAAGKfGzw (envelope-from ); Mon, 16 Aug 2021 13:58:51 +0000 Subject: Re: [PATCH] Try LTO partial linking. (Was: Speed of compiling gimple-match.c) From: =?UTF-8?Q?Martin_Li=c5=a1ka?= To: Jan Hubicka , Richard Biener Cc: GCC Mailing List , GCC Patches , Segher Boessenkool References: <20210511145904.GM10366@gate.crashing.org> <20210512121248.GU10366@gate.crashing.org> <5f13a740-5eff-886f-2b29-52a305fdf3b1@suse.cz> <20210520155520.GG94610@kam.mff.cuni.cz> <73557571-2df8-d248-59ea-00c051aabc9b@suse.cz> Message-ID: <5733a1c6-0e57-d66c-749c-13f2e107650b@suse.cz> Date: Mon, 16 Aug 2021 15:58:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <73557571-2df8-d248-59ea-00c051aabc9b@suse.cz> Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2021 13:59:02 -0000 PING^2 @Honza: Can you please review the change? Martin On 6/23/21 3:53 PM, Martin Liška wrote: > On 5/21/21 10:29 AM, Martin Liška wrote: >> On 5/20/21 5:55 PM, Jan Hubicka wrote: >>> Quick solution is to also modify partitioner to use the local symbol >>> names when doing incremental linking (those mixing in source code and >>> random seeds) to avoid clashes. >> >> Good hint. I added hash based on object file name (I don't want to handle >> proper string escaping) and -frandom-seed. >> >> What do you think about the patch? >> Thanks, >> Martin > > @Honza: Can you please take a look at this patch? > > Cheers, > Martin