Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1234332rwb; Wed, 28 Sep 2022 15:27:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM69PJ8oMWkI1zokQd7OkzJfUG50u6LP+B3+Dq36X3omWkQqc6a7ue4DO8mDjLOy/SXdos+M X-Received: by 2002:a05:6402:2751:b0:443:d90a:43d4 with SMTP id z17-20020a056402275100b00443d90a43d4mr239107edd.368.1664404031750; Wed, 28 Sep 2022 15:27:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664404031; cv=none; d=google.com; s=arc-20160816; b=ENjylFTU2oLfWwwM78pthQ60ZRaVUO4Uq6YdsIYCK/Srxi7FEySO8jqusNvIB65g1Z V83BweCULvZ3lE4UI8OKOiFEsV1ZaoX7XJB7lP8ch4WLG1ZZFLYopjRPvoBF7B1ZQouP T7rdHFnd95KRWQoBLt+kGJXOBLzlBMwEuDc2KXp58C2ZdVNmc4SVEKe9DfnlnpZPOOaD mmvfP0nS3VEpqxo5UNr2EPePsI0l8SX2/TAa6ey/eUKhQ8EB1xri+YKrJ8Q2+uhe7hHF /Y6fOLE3OANxiilNjaHPF2AVItB4KxtNe3OlrAhGfWo8kivlJlZECPy9pX2o/4ueKNMr BJ7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Ay3drFi6JCOWyd7mwYuzVhdDqZJYtGvjCnOOuic4lIQ=; b=P3kqAkpQcjLEdsz0IbygWnvDA4jLdK9jPSQxau4sUp0gvVBI0p8sEaoHy0dMqJcYcf 6nqNPFtET1udg3DRnbo+GOYYGmMJ5aIO5kT2PwjW1fFhrdkz/IWxUrwa+vJebqYyj5Dx xw0K6SzVnt/Gu3Z1hmQkewf50h8031xrHuJNLm3ruzO3GIhb+Bcdfg0T/UfBRdWoWyqy YRT1/GJCIuof8lQHkx71LMJnaDqEYrbgrp6wj3QDyIhNRUYGXV5hIlEF49b+gFB5A7h7 29lNEg1Oa6UeG5btLWI6XEVkMdb1Dkgy2CUkz+g1VAqQ03mZGKkyMgH6Xsw9j5aldFbo pMRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=d8AWbiSB; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t27-20020a170906179b00b00779e6c93108si5658100eje.598.2022.09.28.15.26.45; Wed, 28 Sep 2022 15:27:11 -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=@google.com header.s=20210112 header.b=d8AWbiSB; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234434AbiI1VyX (ORCPT + 99 others); Wed, 28 Sep 2022 17:54:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234559AbiI1Vxx (ORCPT ); Wed, 28 Sep 2022 17:53:53 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 566F1B6023 for ; Wed, 28 Sep 2022 14:53:51 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id cv6so3389425pjb.5 for ; Wed, 28 Sep 2022 14:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=Ay3drFi6JCOWyd7mwYuzVhdDqZJYtGvjCnOOuic4lIQ=; b=d8AWbiSBxXrgrvwAoskxcicNPYKtAtvQ8eTNvx31A5tDj05HG3JYRAX8qf2vlcBFux Q1KTlPLAgoTxKVWu/nVzVOf7AiT7GTQhdNsUYqMxZ71hoxMdvb5Q9qsvn3yjzUg5VS4Z AeFBZtfNn12MoU7iIzQGkn5wjz+gaTpfVO1hEeE57+wJ12W7ze2a3aRKpnA8Lx9MTtIJ grbEUQMs3nxDSYRKy9B5Ov4jaMGgXhqeyepODAApSSchrz1BCHHbq4bwQtIzq5YjUq/5 KGRlA9uTZis4skTF0coWa95GNfO6iWQbU6avtKMDiR8zb+dfBnXP+edrsxPOv/ezAxb2 ZDIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=Ay3drFi6JCOWyd7mwYuzVhdDqZJYtGvjCnOOuic4lIQ=; b=2zU3Q7fYKOSEenvMlBc54I+VYkhVy2J5otOOQK6tBpXDmsMw5ipWyIVMynYyD2gZK3 YmEVXKJLEFiNffbKAcDiTOuR7YIl8gRxNbvNXdDFqCeFOiSQ9vPZBmEl1ONnqID+n5Ju UZGnmFFVHbv4hNkZxaUNDTso9g9Xl7XcZWCh6Yb+FIsMX2yzeo3/MwF/1pyx7zm5leqt IueH9vT3P/PXB3ap9VjFXRT9I6Ad+mAGaRt1W5juprkqqMph20R2uQxOIFWOxB6EdlY9 Tgfxw1KQBN/mTqvJIaBDvz6Se7vMqaLsGYabdublidgAPpaYyQ9xCOiTDxh24yi45rLw x3nw== X-Gm-Message-State: ACrzQf25op5+xxCxTtcw6Xv3UGIUMEB9GUqXsLKmIz6KqsqZXT6XpHgM 0mE8bAphntygcDNh18oQZChduKP69wNIFysJbhj2fQ== X-Received: by 2002:a17:90a:74c4:b0:203:336d:dd36 with SMTP id p4-20020a17090a74c400b00203336ddd36mr12421313pjl.107.1664402030259; Wed, 28 Sep 2022 14:53:50 -0700 (PDT) MIME-Version: 1.0 References: <20220928182523.3105953-1-nathan@kernel.org> In-Reply-To: From: Nick Desaulniers Date: Wed, 28 Sep 2022 14:53:38 -0700 Message-ID: Subject: Re: [PATCH] lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5 To: Nathan Chancellor Cc: Andrew Morton , Masahiro Yamada , Tom Rix , Palmer Dabbelt , linux-kbuild@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, llvm@lists.linux.dev, Conor Dooley Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Wed, Sep 28, 2022 at 2:36 PM Nathan Chancellor wrote: > > On Wed, Sep 28, 2022 at 02:13:47PM -0700, Nick Desaulniers wrote: > > Reraising my concern from > > https://github.com/ClangBuiltLinux/linux/issues/1719#issuecomment-1258678969 > > Sorry, I thought I addressed your concern with my comment right below it > but I probably should have worded it better. No, I just missed your point about other architectures. > > We've put a fair amount of work into getting CC=clang LLVM_IAS=0 to > > work for DWARF v5 (both on the GNU binutils side, and Kbuild), I'd > > hate to see that effectively knee-capped because of an issue in GNU > > binutils that is only relevant for one architecture. > > Sure, that is a completely reasonable concern. However... > > > I'd concede support for ARCH=riscv, but not for all other > > architectures, which this effectively does. > > No, it does not, CONFIG_AS_HAS_NON_CONST_LEB128 can still be enabled > when GNU as supports this construct for a particular architecture; as > far as I can tell, RISC-V is the only one that doesn't. See the tests > with ARCH=arm64 and ARCH=x86_64 compared with ARCH=riscv below. Ah, sorry for the noise then. Thanks for the patch. Reviewed-by: Nick Desaulniers -- Thanks, ~Nick Desaulniers