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 2C2D73858D39 for ; Tue, 9 Nov 2021 09:11:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2C2D73858D39 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 2907B21B0A; Tue, 9 Nov 2021 09:11:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1636449110; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OCkAY0TLKPFOeMSou51vhNE7nIr+raLaT6ZtzU4UTf0=; b=ApJE8GPzidArfX+QbktewCirTmgx5ckMXVfT5HYSkG3b9AWErl17M3hTX/IwMahjsOKnlx Jg3PJBrYJVSmCsIFMf+NeuCEyenQUUkkq6GEMvgcpr0gLDKsLNyb1o59wrOgEcPFqaVKML HsAfpPmKUHLn7tV+TiezLyPT7O7VENw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1636449110; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OCkAY0TLKPFOeMSou51vhNE7nIr+raLaT6ZtzU4UTf0=; b=mmgaihFsLOPcDIOq+rBXjP4ET56xEkhiHLQIxUfsnWTGK7SpJWon1nQUsBCGVL9Dz3PhU9 KLGybhAR0MRFXlAw== 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 07AFC13AF4; Tue, 9 Nov 2021 09:11:49 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id /ngyO1U7imGhTAAAMHmgww (envelope-from ); Tue, 09 Nov 2021 09:11:49 +0000 Message-ID: Date: Tue, 9 Nov 2021 10:11:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH v2] Improve building with LTO Content-Language: en-US To: "Dmitry V. Levin" , elfutils-devel@sourceware.org References: <20210214235718.7654b5f1.alex.miller@gmx.de> <20210218033856.18053044.alex.miller@gmx.de> <20210828093143.GA720@altlinux.org> <20211104112320.GA732@altlinux.org> <20211108100228.GC27916@altlinux.org> <20211109085820.GA11255@altlinux.org> <9eba865f-af61-6452-161c-2dc081ebae69@suse.cz> <20211109090959.GB11255@altlinux.org> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: <20211109090959.GB11255@altlinux.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 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: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2021 09:11:53 -0000 On 11/9/21 10:09, Dmitry V. Levin wrote: > On Tue, Nov 09, 2021 at 10:04:57AM +0100, Martin Liška wrote: >> On 11/9/21 09:58, Dmitry V. Levin wrote: >>> Yes, but those who build elfutils with -flto are likely using >>> -ffat-lto-objects if they build static libraries. >> >> Yes, I can confirm that we do that as openSUSE, we actually build with: >> >> -flto -flto-partition=none -Wno-error=stack-usage= -ffat-lto-objects > > After updating to commit elfutils-0.185-76-g039f427a you can safely drop > "-flto-partition=none" and "-Wno-error=stack-usage=" parts. Great, good news! Martin