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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 805FDC4332F for ; Mon, 5 Dec 2022 17:18:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3B78785596; Mon, 5 Dec 2022 18:18:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="XPRSrcIw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6B31985596; Mon, 5 Dec 2022 18:18:21 +0100 (CET) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 45FB1855A5 for ; Mon, 5 Dec 2022 18:18:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-ej1-x62e.google.com with SMTP id ud5so157506ejc.4 for ; Mon, 05 Dec 2022 09:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=bZgJlUl6qI1hErYmrCb11YG3T53hjyxaXNOU2GF1TvU=; b=XPRSrcIwjuG+aH13N/Anml/E3UutgoeDKGserzkwbCCJXU9LyngPpRFfBHf26I6cg0 yAiai7zntzoVWIC+laBQ/8hm7o2sQwsiAcIKkYqFZmKqvZWNhrNtFyqNUG3b9mCjRqY/ u6BHNit73Oki4eoTP6V1DeS3DJkw+O7UtcFv4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bZgJlUl6qI1hErYmrCb11YG3T53hjyxaXNOU2GF1TvU=; b=hO0QG3c27rxhJtvHSlidHp7HDvzraCBLieg7WMvC69H6LB3QoRvSwdh9UDqMdD9ZZW Ui5FVs5BcQuDLdBdoBe8DtsFtbCKOazgYITPw1o7IpwTGEbd8DTZm1odYI3FdOPbI0zN e87l6j+8Jof8WOQdR0EsGuvopgNZtPquIEc5u7wvubqC1XcgUjQrlUX9K765LbaYNcJc /gApRzPmGcW/Qz+GKAO+OAYiPP0lT97pOLlpGKjT5xOCBFCVsSIHFn3GgPM77h7NeKeU qzI67/qi8iDyE9VxH0khLqaR6WgbHrS+7VvPrfcsaRi9M8GbW5fBBvsA1HqBT5vsPx05 E0/w== X-Gm-Message-State: ANoB5pnTN+5huN71Z+yco+6dAltwn0ItPMBWMNqYeYx4x+jFasLAQQH2 bf7V2gsmjKDX6vqNNX8oUrjD4g6tlwqY7IvU X-Google-Smtp-Source: AA0mqf5MGPAlVx+zIFu68gr5OEo4n2SQbWbm252W0OFOhjAWO+vVdMvzja4RmHLrI8hP3fhtnr5Mig== X-Received: by 2002:a17:906:78b:b0:7c0:e813:e07e with SMTP id l11-20020a170906078b00b007c0e813e07emr6296635ejc.156.1670260697883; Mon, 05 Dec 2022 09:18:17 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-3974-0ce5-e869-8ac0.res6.spectrum.com. [2603:6081:7b00:6400:3974:ce5:e869:8ac0]) by smtp.gmail.com with ESMTPSA id vs19-20020a170907139300b007bee745759bsm6444666ejb.20.2022.12.05.09.18.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 09:18:17 -0800 (PST) Date: Mon, 5 Dec 2022 12:18:14 -0500 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Marek Vasut , Pavel Herrmann Subject: Re: [PATCH 0/3] clang-14 fixes Message-ID: <20221205171814.GW3787616@bill-the-cat> References: <20221009033322.482812-1-sjg@chromium.org> <20221011161255.GE2020586@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2W4wSx0jmTCcLO7w" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean --2W4wSx0jmTCcLO7w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 06, 2022 at 05:11:46AM +1300, Simon Glass wrote: > Hi Tom, >=20 > On Wed, 12 Oct 2022 at 05:13, Tom Rini wrote: > > > > On Tue, Oct 11, 2022 at 08:14:53AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 8 Oct 2022 at 21:33, Simon Glass wrote: > > > > > > > > This series contains a few clang-14 fixes to partly resolve the pro= blems > > > > shown by [1]. > > > > > > > > The event_dump problem is that the symbol name is not printed by > > > > addr2line even though it seems to be present: > > > > > > > > Without LTO: > > > > > > > > $ addr2line -e u-boot.clang14.no-lto 4a37f > > > > addr2line: DWARF error: invalid or unhandled FORM value: 0x23 > > > > vbe_simple.c:? > > > > > > > > $ nm u-boot.clang14.no-lto |grep 4a37f > > > > 000000000004a37f t bootmeth_vbe_simple_ft_fixup > > > > > > > > With LTO is even worse: > > > > > > > > $ addr2line -e u-boot.clang14.lto 2d2ee0 > > > > addr2line: DWARF error: invalid or unhandled FORM value: 0x23 > > > > ??:0 > > > > > > > > $ nm u-boot.clang14.lto |grep 4dad1 > > > > 000000000004dad1 t bootmeth_vbe_simple_ft_fixup > > > > > > > > Perhaps this is a bug in addr2line or the clang DWARF output? > > > > > > > > [1] https://source.denx.de/u-boot/u-boot/-/jobs/510282#L287 > > > > > > I should have mentioned that I can respin the series to deal with > > > this, perhaps by not requiring the function name to be present when > > > clang is used (or just at all?) > > > > > > Plus I have one more patch to add for the LTO stuff. > > > > > > Let me know what you think and I can respin this this. > > > > Maybe it's worth raising a question on one of the LLVM lists? This seems > > fairly odd. > > > > I would like to move to LLVM-14 / gcc-12.2 for CI, for v2023.01, but > > there's still other warnings to be fixed too, so we have a little time > > yet. >=20 > It looks like you fixed this with the dwarf change. Yes, the dwarf change addresses this, and I'll be picking that up for next as well. --=20 Tom --2W4wSx0jmTCcLO7w Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmOOJ9MACgkQFHw5/5Y0 tyyz6QwAoEjH6M7lGZnpZTTYl9BEDl43tH8/vy9SYVMazrLD8i1zbuEkBgnKPoay AlxOLpTVSNHQ6Uz60DhBziRhXI4++KuQstxlg+oDSo5MI8OvJTA+Ouo5eaGfUt57 i0ENG8aL30yLAjvur6VqW0XHon5A0E1yYDVA3qacwSKNtKm6AKvPsJFEJ15Tsasm WXhu8BdvJlYxpLz8EGIJBDsNatnf9hq1JMrYrWIbKstfx4hb/JvThSwMxhPxNAU4 /ONlgCMJIajJ/EVhqwrG0XpMJ2OIcJlqppp99rF2mFFHpv0H0ElzHuatRJwgMtIA GUhBiAmbURTR7N97wyWmSN3tIwJK6kEYv3QvrFtFWH2gQ47ScUthm1fpbdxB3PWb xhtYlYCS7XGxycdMaZVZ5cmOE5H+0V6rJXgwrB6FTDMQhzTXKZu05Xug3qDaekF6 ypK1THCjR0w9pC3ymWkJcth81gly3JajsZQKDHUf9d/qYQjqro+IYK8o1p8bow4L MH6hWY9k =ZRLq -----END PGP SIGNATURE----- --2W4wSx0jmTCcLO7w--