Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp1991432lfo; Sat, 28 May 2022 12:57:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4KSrJXAyicULJKJJ1hLTMLHafSOg6ZPGDS1oGBwMB+arwy135UTUfiG534ExR5ePOMV1i X-Received: by 2002:a65:6e8b:0:b0:3ab:a3fb:e95a with SMTP id bm11-20020a656e8b000000b003aba3fbe95amr41706047pgb.433.1653767857918; Sat, 28 May 2022 12:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653767857; cv=none; d=google.com; s=arc-20160816; b=n6HT0QjN5FERnzIFmTlM9+b4dYmmwZvkAHYPfqdP1fuCZFvM1tbEkGWgwyWuTOt9UR 6dmMS6ivjjGclcSto8WI0lPqJ5UYMpOFsp7X7KiAvj6WmvQYpxkOPcG0NClEgr57sNB2 u9oOILW/PKK0Ff7ZK/oq/UwrKVtJooYxIIUiEUBcmZz/m5otstpUkheBbLMacFepZj4C x8b4dYdy4OS68pyG5NpMIwz1Pyjoko+fiKbQnbBAIfExrCqtzl2Co50tNCC92juOU0cl BgT19Pq5wTX+geiQeHavaqkpal+x/+m2SerNh4NpWNMKvvAr+kLy7DLlv022Gj347Hfd GBmQ== 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=D2MGadW7/x48k4PZ30yDzkxYBsA9A8fC1SlKRvJ8QY4=; b=HzrJIZKf/9ziECxpJuqKqPa7nmUjAttRg9NyuvzS3kTgalAMiAfBkhezTAJTUQq05L HP3+PbrhDzQATHm1Bzi9hybQUEcX7VpeLFCsnFkgCS7SAP4Z6LQ9bRrRzpjIC6wquejG ZzBRX1FtKore75Ds+trg/sP0Q8qh1o8y5uc1syF82HA2wmI7F2lWk5GUORvPHoxVIXNG zNkjU1zcEXlmB9EsmC7uf5rZa+F0QdjWpix9Ko53y67cn/3+GX2N3GfzoHSa3qwjti83 yZqbFGVmCsZ7y6CXqpp0D7hMx9PxBLvbk9jCkuIhytOIq30jZpEHzpc482ekQKgbbbNo sCYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=qmTc1cAT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f63-20020a62db42000000b00518cdf16e12si10158945pfg.38.2022.05.28.12.57.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 12:57:37 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=qmTc1cAT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 68FD064C5; Sat, 28 May 2022 12:16:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353111AbiE0OWq (ORCPT + 99 others); Fri, 27 May 2022 10:22:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348015AbiE0OWp (ORCPT ); Fri, 27 May 2022 10:22:45 -0400 Received: from conssluserg-02.nifty.com (conssluserg-02.nifty.com [210.131.2.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A87D8EC3E9; Fri, 27 May 2022 07:22:40 -0700 (PDT) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 24REMPlw021169; Fri, 27 May 2022 23:22:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 24REMPlw021169 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1653661346; bh=D2MGadW7/x48k4PZ30yDzkxYBsA9A8fC1SlKRvJ8QY4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qmTc1cATyT/3eLxKRJ9scNE9L+75DWWloU8rSwfykSlVT7vJ/UGJfLKi4jIiJSqrV +YP3pGT7pgvH0duNb5n5T0j6mjhaTIc9MvmQ1vsb2cVXTs7rmY4JeUjBVUjLcFICNG vJ32maExOXgPqt/9ko/xZGtI88W7+hiVIa3uGaILxUIzGqXPk7Uh0j08XLwP25MCVZ JjNz8VOVNjW84JK2U3A9Ig8T0rDCD436U7v8gckUpFwU7MW3yA3nLSQyDC7btBPe8u eCYvrYN2xt10i0waFequ2kmWu8ycqmlgsSE7LTT/a5MVuFmBdnkAqyt7GUYuP3E0Yj XHAKTIg0LC0LQ== X-Nifty-SrcIP: [209.85.210.176] Received: by mail-pf1-f176.google.com with SMTP id bo5so4474857pfb.4; Fri, 27 May 2022 07:22:26 -0700 (PDT) X-Gm-Message-State: AOAM530YwXUF7yO/i8oSMeHpXEff6rD0tfsSJIOxTNNuwwvOMiyd77hp Qronbdw3XBAzKR9kXJweQ/C58DkkZNC/JImp2Fc= X-Received: by 2002:a63:8949:0:b0:3fa:d71a:1025 with SMTP id v70-20020a638949000000b003fad71a1025mr12150597pgd.616.1653661345107; Fri, 27 May 2022 07:22:25 -0700 (PDT) MIME-Version: 1.0 References: <20220527100155.1996314-1-masahiroy@kernel.org> <20220527100155.1996314-4-masahiroy@kernel.org> <1c12cd26-d8aa-4498-f4c0-29478b9578fe@gmx.de> In-Reply-To: <1c12cd26-d8aa-4498-f4c0-29478b9578fe@gmx.de> From: Masahiro Yamada Date: Fri, 27 May 2022 23:21:02 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 3/8] parisc: fix the exit status of arch/parisc/nm To: Helge Deller Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , Peter Zijlstra , Josh Poimboeuf , clang-built-linux , Parisc List , "James E.J. Bottomley" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 Helge, On Fri, May 27, 2022 at 10:58 PM Helge Deller wrote: > > Hello Masahiro, > > On 5/27/22 12:01, Masahiro Yamada wrote: > > parisc overrides 'nm' with a shell script. I do not know the reason, > > but anyway it is how it has worked since 2003. [1] > > I don't know the reason either... > I assume it was that the older toolchains had bugs and kept lots of local > symbols like .LC? in the object files. > > I did a small build without the nm script (and removed it's reference > in the Makefile), and it did not seem to break anything. > > > A problem is that this script returns the exit code of grep instead of > > ${CROSS_COMPILE}nm. > > Instead of fixing this, I'd suggest that you simply remove the nm script > alltogether. If you like I can apply such a patch in the parisc git tree, > and you just drop this specific patch. Or you change your patch to remove it. > Just let me know what you prefer. This is a prerequisite of my kbuild work: https://lore.kernel.org/linux-kbuild/20220527100155.1996314-5-masahiroy@kernel.org/T/#u Without this, ARCH=parisc builds will be broken due to ${NM} returning 1. I will send a patch to remove arch/parisc/nm. Please give me your ack. Thank you. -- Best Regards Masahiro Yamada