Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3760998rwi; Sun, 16 Oct 2022 18:01:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM772U2ohCB5+7SYgm2ATGUakcrPvWUNwScoIdfRu62f4mQgMeOb7Wyq1MTl6n+Yuiy0xPta X-Received: by 2002:a05:6402:524a:b0:45c:e2c6:6ef7 with SMTP id t10-20020a056402524a00b0045ce2c66ef7mr8228437edd.421.1665968481858; Sun, 16 Oct 2022 18:01:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665968481; cv=none; d=google.com; s=arc-20160816; b=ibxauajfg2gS86SxUE9eseIwVIoQtTqNaPfdSOsUMlMyLCe6BMjDUFixbM+g5WSC2n N7NBAAT72Kqz/N+SNrk4uTlTYhcpDRs4M7JdDX5AK42W1357f8JTogLd5XRU/QpTctOs rxh7LSXpOkiKx8srOLnw+YHHcYFPPCnAFFjEVBBFrQT3j15hOeBCq+qRTtWkkrpaFXyl G80h7sa8OPMl6a8M2zaiQHBeoX7KWaH4QGehdMzeIIF07V6ZilbXLQABDjCD9QnQiFis SZLKqA3TIQI65ZOUL85Jct9SRw+C8WIBwDigNgl7e0zfLtar5qJ6M9A5GQ0l9LYF7NHe 4hEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+Qz3/GWPpLogvanHNGl9Zty4d3NCp/mrcQyWCeYGeyM=; b=poo6WVJLuUwISVPs2fFX2sHo5x6fXlrNmdfJTHRS5v7+XMnnkdinkUgtUNoX9mlC8j Xx6fS8BzmjX2J25r/vlqBS0lxEng0qYet6CRfIdWXwYp+trkxJpSz4iwtHISSITVtvfv t8OV56zJgj2lHLgGQiVKsDf0MVngZy4+b8hsUv+ee2qDXCZOPRSXW8xwPDyucBJb0vaG R3irXg/I1Sz0CDcjMp1B0OsR6cwj4JG0Egu/IwROtBQ6vHmTHnQ8OeKPQ8Tofquwiy03 a2pmVxDi1vuqEQ98G98X//JkO7pHBCg80wff7MDpdkicodABsjL2Z9rgLh5Ne086tYoA LzJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qHaTopcf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o16-20020aa7d3d0000000b00458be855265si7068611edr.211.2022.10.16.18.00.55; Sun, 16 Oct 2022 18:01:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qHaTopcf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbiJQAlf (ORCPT + 99 others); Sun, 16 Oct 2022 20:41:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229883AbiJQAlK (ORCPT ); Sun, 16 Oct 2022 20:41:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC9F336092; Sun, 16 Oct 2022 17:41:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 91393B80DAC; Mon, 17 Oct 2022 00:41:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90075C433D6; Mon, 17 Oct 2022 00:41:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665967265; bh=FUOUlzt5BRDqsXFWN6sPJsKiLvmj3iudLIpob+Peo9Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qHaTopcfle+C0cDQbHIVhD1HZXN96LdC2zMl/WExOPuLpGQhgAaUz1xxNaVoimx+L sDiqv+gNM/fNkBu6CYltMt640zCVmeXR0mil75LQOdwIlGPOlIrTyZLa3LQzJ37im1 JVlTyDLENjVmpAc49NdqZBGMUVYV319B9hwgsn+KEuPuESJgBUkk0mbGXrOeIHlOhu dAIrG+vsiN9VTSjEl+EUZ0By53/0+D26AzpvL/1m7XpHJ+zGmWdE0PCnZ7QEwq+X3i EHw2etxSN5Ebg6dDngLrccbHn8pKXdcI6/SqUOXErclb6bTqk4lOtCTSsMaOwGtdc5 P6DJ+YasqLPkg== Date: Sun, 16 Oct 2022 17:41:02 -0700 From: Nathan Chancellor To: Andrew Morton Cc: Masahiro Yamada , Nick Desaulniers , Tom Rix , Palmer Dabbelt , Conor Dooley , linux-kbuild@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, llvm@lists.linux.dev Subject: Re: [PATCH v2] lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5 Message-ID: References: <20221014204210.383380-1-nathan@kernel.org> <20221016172815.f5a5f1f86af7ff1937a2e273@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221016172815.f5a5f1f86af7ff1937a2e273@linux-foundation.org> X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, On Sun, Oct 16, 2022 at 05:28:15PM -0700, Andrew Morton wrote: > On Fri, 14 Oct 2022 13:42:11 -0700 Nathan Chancellor wrote: > > > When building with a RISC-V kernel with DWARF5 debug info using clang > > and the GNU assembler, several instances of the following error appear: > > > > /tmp/vgettimeofday-48aa35.s:2963: Error: non-constant .uleb128 is not supported > > hm, which kernels want this? > > I could merge it for 6.1, which seems suitable. If we want it > backported into earlier kernels then a Fixes: would be nice, to prevent > it from being ported back further than necessary. Masahiro took this for 6.1 via the kbuild tree, it is now in mainline as commit 0a6de78cff60 ("lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5"). It does need to go to stable but it needs a few prerequisite changes to cover all cases and I did not want to try and describe those dependencies in the patch itself. I should be able to handle the backports manually tomorrow. Cheers, Nathan