Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3743133rwi; Sun, 16 Oct 2022 17:36:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5wEw+Vk4hRjFlV7/YlNUcqAKtvHwNnhqr+fT5Aq92tJaoGlBzHJRsOVH8SlfPB/+9CWR+R X-Received: by 2002:a17:903:509:b0:179:ffcf:d275 with SMTP id jn9-20020a170903050900b00179ffcfd275mr9263489plb.150.1665966960498; Sun, 16 Oct 2022 17:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665966960; cv=none; d=google.com; s=arc-20160816; b=BhRTJXWPbWbz/rXkAlRVz8YXGfgdo8qMuVeNrYr/l3CviWjHiyCffOUt86b0iYk3yP wce4Dz25xfWhqosxBR+3J3e+i944irR4VNTp3Gtr9ZgzCX0tWvO6oiUO9k4zkckp1+oB 6Ik6iq4uPO8SwFHblWgxzU/buk7p1mHRXTETAUXg9lOskOp0npX8FhWovu3LYThCryew bEtyF2BlpjhXz47ZBpmZQMMXRWvgJnj1I/p/u4x/oVI6gN8Qr0UWH5V0VbnqxHRUU99M f4gjGUhMXCTs7EFgPe7Nvkd7fUAv2VQmqcGb7lRv5HR4dx9HQjtYh+o2yxsgDNYhLwlF ZFog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=N8RWVmQo7TU5eSeIzXV+HNRiHhS4s/iONReZ9izH/sw=; b=K7y2LBCr4H8mBW6ugM4eVE+31g4e+Q4baER/7a0jb8loOvrUyJ2kxezFmxAcCzPC2M 3BaWHGQEHomkDHo5qZvglcLZNKtrfB5GLVEal7vkT7pXHxC/1LYC+g04p3NeTymjVzU+ +A4VqtoXANQM+QFn6fyVHJ+fMfDCWjvdIP+9NfTSTJv39oJtmptplW0NDlI9N/xoCtsn Yovnj6Rf8RMPgPvPH9ZeS+qvPkG+rle99HPyzjzAFVb4zC0+xyirvopAY588W5i7Vkc7 zz2FJer55j07GFvmJM+UBnwAmzjAcQKlPb0Mk8DvaqchPcBta6vazVHLaKkSI9b1H/W/ /i0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=XvguAico; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 71-20020a62144a000000b00557ea69d1f6si9116738pfu.308.2022.10.16.17.35.47; Sun, 16 Oct 2022 17:36:00 -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=@linux-foundation.org header.s=korg header.b=XvguAico; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229969AbiJQA2U (ORCPT + 99 others); Sun, 16 Oct 2022 20:28:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229962AbiJQA2S (ORCPT ); Sun, 16 Oct 2022 20:28:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 000AC32B8E; Sun, 16 Oct 2022 17:28:17 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 904B460AF5; Mon, 17 Oct 2022 00:28:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D909C433C1; Mon, 17 Oct 2022 00:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1665966496; bh=8WWs9l2qmGMghweN7Ckgt8DaX3cG0OZdXxkM6TKYH6g=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XvguAicoL8TSob5RaCJ1spC8fTW535GDGPGmIeJqsUbMegUQgUfIZqKLGN8doPap6 rlQcttXjKZaERBO515DWE+A4kKsh18wQ4rFtJj6yPsLVghtZ8l21QGuWZNDBiY6bxl ticivMkLffHyBnxcxWZes4OauqiUkqBsk9jAXjGc= Date: Sun, 16 Oct 2022 17:28:15 -0700 From: Andrew Morton To: Nathan Chancellor 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: <20221016172815.f5a5f1f86af7ff1937a2e273@linux-foundation.org> In-Reply-To: <20221014204210.383380-1-nathan@kernel.org> References: <20221014204210.383380-1-nathan@kernel.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 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.