From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vmicros1.altlinux.org (vmicros1.altlinux.org [194.107.17.57]) by sourceware.org (Postfix) with ESMTP id 60E573858D39 for ; Tue, 9 Nov 2021 09:10:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 60E573858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=altlinux.org Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id C343D72C8B8 for ; Tue, 9 Nov 2021 12:09:59 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id B1CDD7CFBAF; Tue, 9 Nov 2021 12:09:59 +0300 (MSK) Date: Tue, 9 Nov 2021 12:09:59 +0300 From: "Dmitry V. Levin" To: elfutils-devel@sourceware.org Subject: Re: [PATCH v2] Improve building with LTO Message-ID: <20211109090959.GB11255@altlinux.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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9eba865f-af61-6452-161c-2dc081ebae69@suse.cz> X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, 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:10:02 -0000 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. -- ldv