From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DB22C433EF for ; Fri, 22 Oct 2021 19:26:13 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BD8DC610A4 for ; Fri, 22 Oct 2021 19:26:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BD8DC610A4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nic.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1F565833B1; Fri, 22 Oct 2021 21:26:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=nic.cz header.i=@nic.cz header.b="IhAE6rQr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 86F28834AA; Fri, 22 Oct 2021 21:26:09 +0200 (CEST) Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6B6FB834A2 for ; Fri, 22 Oct 2021 21:26:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.behun@nic.cz Received: from thinkpad (unknown [172.20.6.87]) by mail.nic.cz (Postfix) with ESMTPSA id ED3B4140614; Fri, 22 Oct 2021 21:26:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1634930766; bh=v8J2vns/RdN6p0nTA6ekmKV6pAV4SzyfDjJa7gekrLo=; h=Date:From:To; b=IhAE6rQrUuRCstumdK2PbcYESFFZAz0v62F1crW8miyR5YGB54ajoiEmpv0mKn1ph Yag3/Vl7sCC9DoZVQLaLtMDN7cKhaJBx0V/bEh+XuKBOEXNsQ4q4zDYF1mz/0dab3h AAcpOPdGWPwlCSU31xtQJEogF7Y+4xYk/SQlW0NE= Date: Fri, 22 Oct 2021 21:26:05 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Adam Ford Cc: Patrick DELAUNAY , U-Boot Mailing List , Tom Rini , Simon Glass , Patrice CHOTARD , Marek Vasut , U-Boot STM32 Subject: Re: Question: LTO and failing objcopy in "u-boot-initial-env" target Message-ID: <20211022212605.6ff8998a@thinkpad> In-Reply-To: References: <927b122e-1f62-e790-f5ca-30bae4332c77@foss.st.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Fri, 22 Oct 2021 14:19:16 -0500 Adam Ford wrote: > I am not sure it's the right solution, but it appears to work for me > on a board that uses LTO. I didn't try it with a board that doesn't > use LTO. Need to be tested with GCC as well as Clang. Marek