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 7BA4AC433F5 for ; Tue, 11 Oct 2022 16:13:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9FB008454A; Tue, 11 Oct 2022 18:13:04 +0200 (CEST) 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="iErI40xz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E981584B55; Tue, 11 Oct 2022 18:13:02 +0200 (CEST) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (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 070BA84EFB for ; Tue, 11 Oct 2022 18:12:59 +0200 (CEST) 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-qk1-x730.google.com with SMTP id o2so1584708qkk.10 for ; Tue, 11 Oct 2022 09:12:58 -0700 (PDT) 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=RQiUWGFNKZDQkDWSOtywfKW41aDsFyRg2R8cKDbNUGk=; b=iErI40xzl0arf6+Ar15RmwcIY1TOrkDPjGFNlyjSKLt/9hSg4FywJxKiR5TI7EWYx0 G58gsOuQSGa1uiFssjpIgbEG0TYcjrybPDeTFK1YoEi5umE9BF8tdvjy3ljVzDc85R8M Zqd4dzVz2lMuLF8sZ5CAXKLvq8+8ONoPchAkQ= 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=RQiUWGFNKZDQkDWSOtywfKW41aDsFyRg2R8cKDbNUGk=; b=jLJ4BOhFjUn0KkldsjtYoDJzzF6qKD8kDu6bMETsf/W10W01Hdc22wSlUewKRuhh0h yGa0SDJEHNOHj3/jxVrGTsyKZm0p4Eupdlq0mNV8QH/46xdZHFdofuIl6d2rX3p4CIHC uLgzN7gHEOlXzATGjs90hn952e5FlHje9yXfatSmJx6Qss/XHSjG7TdSULiZIDMiHd5T u0u1rH9LE29drkzstFxL5YTo8BT5IOYjc70/wML1o3pXKe2NePWJvMCZ+EnGRCFCGMBV RKT3VbFwEWF0h8sDeutCqiUH/lgxJJ6PU7DKa0RVCObgv6A0G5UFWgr9gZ/b1pqKiNwm kx3w== X-Gm-Message-State: ACrzQf1ZXFnIFPldqLJHw6pFjL9XIudoKR2BdWe+F6LQc4ay4m3c/6Q8 JLNaxMO9yynqLTG/kKv7CAMbqg== X-Google-Smtp-Source: AMsMyM62RGfsPvjlvwi9grttNb8c1nj7FL0U0Ak8FiLsQrGPQbe+EkZLhHAv0htBKRW7gmP/nl6noQ== X-Received: by 2002:a05:620a:19a5:b0:6cf:4a24:cccb with SMTP id bm37-20020a05620a19a500b006cf4a24cccbmr16996457qkb.376.1665504777682; Tue, 11 Oct 2022 09:12:57 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-9506-5302-f3bb-a137.res6.spectrum.com. [2603:6081:7b00:6400:9506:5302:f3bb:a137]) by smtp.gmail.com with ESMTPSA id bp36-20020a05620a45a400b006ce7bb8518bsm4803897qkb.5.2022.10.11.09.12.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 09:12:57 -0700 (PDT) Date: Tue, 11 Oct 2022 12:12:55 -0400 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: <20221011161255.GE2020586@bill-the-cat> References: <20221009033322.482812-1-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m8yuz6kcWj4yJ5vq" 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 --m8yuz6kcWj4yJ5vq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 11, 2022 at 08:14:53AM -0600, Simon Glass wrote: > Hi Tom, >=20 > On Sat, 8 Oct 2022 at 21:33, Simon Glass wrote: > > > > This series contains a few clang-14 fixes to partly resolve the problems > > 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 >=20 > 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?) >=20 > Plus I have one more patch to add for the LTO stuff. >=20 > 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 Tom --m8yuz6kcWj4yJ5vq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmNFlgcACgkQFHw5/5Y0 tyxrfQv+PhbScTdfbVYNfdIdgZDrKY0FxDmmXBoRkPugHlxVCSnFkLXCg1mAJXaK ZGiq0Jvw/LW8ERLx+FFuzdRUbcHIizBwwjsAhwSU6e2iSTm4e1u9M22tr/SAQFrR 9qN58vocTMOAqyjEHSL2+xx/7+fgnNmlQdH8m8X+OSSM7HnYDS2SgwmIR1iPcSWO f/2VCoGEk1hp8zbzdUnxcmfXJaUMMiPbiXDax9g7o4S8Mb20K0JtQJuQO5TaPRnO 7peg46WjkNt6iBcaPXeu03E7afPWISKabelemLX4wXzvjPVbXhdRcjhBFUfdsm/0 YbBhrEqKKLa2KrsZzJPWvMMmEyImmCmyly0OLmJ2Vhm/1jc1Ux2QZoImieoIULqW ta6ln04SwEdTIuZmReMf9cdvhJaai0A3z35FfXK422P33qGI6RdmKBW/sbYPz2ce Xlae3vKPxOlbVmZ1J4/30NSd2vH6oviWxlFzOTj7jfcEX1/jdLjNmBBlV2RcCf2D MCWuzxz4 =nMz4 -----END PGP SIGNATURE----- --m8yuz6kcWj4yJ5vq--