Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1552860pxj; Fri, 21 May 2021 18:08:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkKPOQDZ3Gkk5ZPlR6yuOHtZoKqOOpkMERRIww68Efnpt/dIPMt8KzDQof99wWB5mg9jBF X-Received: by 2002:a05:6e02:12b0:: with SMTP id f16mr1751025ilr.132.1621645682098; Fri, 21 May 2021 18:08:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621645682; cv=none; d=google.com; s=arc-20160816; b=ceStoDTPOfIPnWl3GCymvpEhsAZyAA5541rK1uNWaiq15l7v1vDeZC751sVE9IyWVn 5Ged4ZUxaO0b2SUgOaC4AWzV2P+4z9mEe6jWDiq4OKPoT/iy0pzx8HTecY3JHQp63wgy hNluprXHhIgxxVVCZCBHUTN0ElrVHe8bvIXEEW/bqCPmCS+MNONv0nbRC4XYPKpK4yl+ 8CTnC/qMdmCDGhcUqXhBVgpvmRwzgIUBiuwAyitKyP7TjvtEylK0dXVU1E+1fu+Kq3KI spu/khdOXVVr/C9KUcmfv0fkLDCjxK1PwmyrYPTAPFoCqObXkfBSZb9wW52ke3I7IAh1 cp5A== 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:dkim-filter; bh=OcW/O9TMsS58qq1xo0CibXOknhqMRmePaouu9fMkfY4=; b=WBvJi71okgbx9skKIoq1ZoEcGYUK1OqmL9CTyPumBV67qWTGd3BCI8n2jcu6Mfd+4u leJcrHGUDGK+UMrMlvMwJHHRDFLcvd0d02mg9FoeSBXdZs1G6Fx8V3qEMuD4DoNN+i5W oNAleuwLLm9InKMvbvFtaPrhE6I2dx93L2UIwbw2J8kvNEhjHIowUauElEzhY9qVfiyY RWHvVTpWVz4S+tkhvQ9DSx+b8UOw8GJXK0g76QAlTanicQb6Yc/C0ya65eMEoblpGwxz fUlQvU5NtVH6K2aswnSGs/bxXiBOSarzz3I27naSKae8YAix3/dJ8Ca0Qq2myaIEGGlz 2+sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=uBYt76Ff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x23si6226450jab.92.2021.05.21.18.07.46; Fri, 21 May 2021 18:08:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=uBYt76Ff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230371AbhEVBIh (ORCPT + 99 others); Fri, 21 May 2021 21:08:37 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:63775 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230293AbhEVBIg (ORCPT ); Fri, 21 May 2021 21:08:36 -0400 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 14M16pBN026977; Sat, 22 May 2021 10:06:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 14M16pBN026977 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1621645611; bh=OcW/O9TMsS58qq1xo0CibXOknhqMRmePaouu9fMkfY4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=uBYt76FfZoy3nH1550IfEZm4dbDF+c3S7AjLvQp6RyLVUgOyz4h3asXfLJ/fwsG9b z5VPg92CUT55MMqgYTbRtXfxL8TGSp3IcfPlEYEso+CaATf+rSsf1XLPboLKZbWYkt 4Xf6s6OPuOUdHHOpRxQ2Y6+WHX6Z7PjFkMQgX7qcsC9T5O4XUuHYxO5jKB2CXLf199 WQxzi7kSUrMrmzRg3lmO5gL+lbcJP+qWAi+0sZAHUxm6PycvwAWjpbJ/5Aux5Wk4zv 5DcEFlT+EfWxz1nPq6tr/pm1sQFTUrgbCj2/VMc64i298TgzvTGzjaN+ooRYF2Qi8Z EZgR9kLCPeZAQ== X-Nifty-SrcIP: [209.85.215.174] Received: by mail-pg1-f174.google.com with SMTP id v14so12824681pgi.6; Fri, 21 May 2021 18:06:51 -0700 (PDT) X-Gm-Message-State: AOAM530nySj/nJGjAiUi2I/WdZFXpKHykvrkyZc2iZ7eT+lAjFGZcjvh dE2rqUcP7NwiJv8iT8pB8KDFTFD64FWclDqEtQY= X-Received: by 2002:a63:a547:: with SMTP id r7mr1503648pgu.7.1621645610684; Fri, 21 May 2021 18:06:50 -0700 (PDT) MIME-Version: 1.0 References: <20210319000708.1694662-1-ndesaulniers@google.com> <20210323190532.eiqxmskiankf7hn3@archlinux-ax161> In-Reply-To: From: Masahiro Yamada Date: Sat, 22 May 2021 10:06:13 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Makefile: fix GDB warning with CONFIG_RELR To: Lee Jones Cc: Nathan Chancellor , Nick Desaulniers , clang-built-linux , Fangrui Song , Elliot Berman , Sami Tolvanen , Peter Collingbourne , Michal Marek , linux-kbuild , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 21, 2021 at 6:36 PM Lee Jones wrote: > > On Tue, 23 Mar 2021 at 19:06, Nathan Chancellor wrote: >> >> On Thu, Mar 18, 2021 at 05:07:06PM -0700, Nick Desaulniers wrote: >> > GDB produces the following warning when debugging kernels built with >> > CONFIG_RELR: >> > >> > BFD: /android0/linux-next/vmlinux: unknown type [0x13] section `.relr.dyn' >> > >> > when loading a kernel built with CONFIG_RELR into GDB. It can also >> > prevent debugging symbols using such relocations. >> > >> > Peter sugguests: >> > [That flag] means that lld will use dynamic tags and section type >> > numbers in the OS-specific range rather than the generic range. The >> > kernel itself doesn't care about these numbers; it determines the >> > location of the RELR section using symbols defined by a linker script. >> > >> > Link: https://github.com/ClangBuiltLinux/linux/issues/1057 >> > Suggested-by: Peter Collingbourne >> > Signed-off-by: Nick Desaulniers >> >> Reviewed-by: Nathan Chancellor > > > Masahiro, > > Would you mind sharing your plans for this reviewed patch please? > Do you want me to pick up this? Or, do you think it should be done by the committer of 5cf896fb6be3effd9aea455b22213e27be8bdb1d ? -- Best Regards Masahiro Yamada