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 25128385DC15; Fri, 20 Aug 2021 14:54:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 25128385DC15 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 F08151FE20; Fri, 20 Aug 2021 14:54:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1629471290; 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=HshISKLsEf+iY7PKrdDRDOl7+E+7luCIRKOVOFQ9mXg=; b=seLrSNJsNuDCmCyId1RMOWIr9HEIw8+8Bcai85DDfFOqdw5z9gxex/kJihceLqLeLPMugl 6b0pcB9zV22TdQ7AQ5zyMMYgP3aMS5O52UvX0c/5nB4fdEcbp9VskJ83nQE84P6qAxCdrA CAd3910yEUv+9oFW2NHqOLeN4cKjzas= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1629471290; 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=HshISKLsEf+iY7PKrdDRDOl7+E+7luCIRKOVOFQ9mXg=; b=dx2rdZnNutEAouIq3lCaRqoDFvPY3i7CoNe6nPMhME4rh/9XO/R41WOskQoRuj4/l/Ruwj yX0AkCNih77fg5Dw== 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 C3AF513AFC; Fri, 20 Aug 2021 14:54:50 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id XpFALjrCH2GxKwAAGKfGzw (envelope-from ); Fri, 20 Aug 2021 14:54:50 +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 , "giuliano.belinassi@usp.br >> Giuliano Belinassi" 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> <5733a1c6-0e57-d66c-749c-13f2e107650b@suse.cz> Message-ID: <2ea275e0-9918-b4e1-09d9-a4f923a094e5@suse.cz> Date: Fri, 20 Aug 2021 16:54:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <5733a1c6-0e57-d66c-749c-13f2e107650b@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=-5.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: Fri, 20 Aug 2021 14:55:02 -0000 On 8/16/21 3:58 PM, Martin Liška wrote: > PING^2 > > @Honza: Can you please review the change? I've tested the patch and apparently it's not enough for {gimple,generic}-match.o not clashing in symbol names. Apparently there are more IPA clones that collide. Leaving that for now. Martin > > 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 >