Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2135310ybp; Sat, 5 Oct 2019 06:19:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiwuSdR3sMEu0xFmpOJNLliJzQ+jw4l4ZNj+5KOaj4jFYWIo/qXDm0xMPOSvPeXFFEZTza X-Received: by 2002:a17:906:fc2:: with SMTP id c2mr16606528ejk.261.1570281593460; Sat, 05 Oct 2019 06:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570281593; cv=none; d=google.com; s=arc-20160816; b=yMyRVNmElxB8+jAi9mDtdTreWekiEBuY0P5dJjT9R/bau0BpUkvDHtJtQMo0ct+cpK DdB2hhn4lMBJOaCHnW2q7F81M11gF1HvrscrkXxwRbruM7Dor4iS8jF/ULg04IuWYrN5 WIdJvVdR3FIb5cZJwpoxWPjf6Y+JZPbzMIz6jfg+jiDO8AcAERPKehcHLalmig2prWK6 MpYC2TXk7DfObTb9zNbMOHZfhxJKr8XhWj8DnIqxodwgMEQ2lgV/L58dxjxe5DXzpXYA hF/SHgc28f69yHii9m3jJW8Jk7Xg2uqlxP5ghZmLTaQ9QrKT24nfd73qBESBa7w2orSj IVvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=XQQrQV2coAXu1tGXYRqn7BxTASrf27/RFdYiV7yFz0w=; b=JH6Y0oFWedKFsz6Jxct8YCGB3Kf6rSK7cgPNZWNPyAH9A0+0tkw4lRpGpkWtz7q6pQ yPyYQIyd4H4BDJNZBOETzWLER7efj/D6y/4wjuwg9Xfon77GNahgim9SHjfTifitfWPi 1iF5tcfTOaSNrRffITncp86Zy4WBII6/d1fpuL+2bEmVthQcNuuvC6WDxwwGzLTe2XLp bZX+Tw5HQad5PC8kowbTPKYXBfBj1ZiPmiRr8WNUOEJ5ZGWdzLITEXjTMmnOqniolJbj LLZBSaIZB41jQz7z/ZaPK48CK/J7sz4KRsF2i5Gd07uAc9fDmhVf/0QuIozGQ52X/Ftd 0Xpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=IkgaQBVK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13si3440127ejj.402.2019.10.05.06.19.29; Sat, 05 Oct 2019 06:19:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=IkgaQBVK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727322AbfJENSb (ORCPT + 99 others); Sat, 5 Oct 2019 09:18:31 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:59668 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbfJENSb (ORCPT ); Sat, 5 Oct 2019 09:18:31 -0400 Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x95DIFn5003042 for ; Sat, 5 Oct 2019 22:18:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x95DIFn5003042 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1570281496; bh=XQQrQV2coAXu1tGXYRqn7BxTASrf27/RFdYiV7yFz0w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=IkgaQBVK/FasoKk5jnljJNgAWtUqRrFYMsiJXUInfqW5sk5y1bRs8N/W8KNT2wku0 ImUAYt24bZx/a0NfsDRa7Kds4E9YINpTDcleZphGKpKftb636jtgscxgF8/xkSl0Er BoNkk5cHMDW862/0O5+9GwhCpkG+eHKGJ5qRpiH84zDCI5sibCmCVCh4IFQkHmLzOw JAL1jvMgs7Ln1YKg/cFNxihbBOWq+zPORF8XyDGI10m/zWMYWx7mM5DaDuHq7OGFuL QxjQJE15AQHaSz4mXGve6ji2nbzNyQsvByR8Axjvetw62zII1Q8qJdQiAHjTup7nxu ey/bxdQH8QqHQ== X-Nifty-SrcIP: [209.85.217.47] Received: by mail-vs1-f47.google.com with SMTP id p13so5974356vsr.4 for ; Sat, 05 Oct 2019 06:18:16 -0700 (PDT) X-Gm-Message-State: APjAAAUSNJ5U6OhV9lQlfw9tyAMWBKqfuoETaj61eNx5AnGUtMV8ryce EGXYT/s2s4BGqtgVFSi9JtTeysBtjsoZz1eAYpM= X-Received: by 2002:a67:7c03:: with SMTP id x3mr10789661vsc.155.1570281495237; Sat, 05 Oct 2019 06:18:15 -0700 (PDT) MIME-Version: 1.0 References: <240d0353-2e66-7d0c-3dc0-f58f62c999be@skogtun.org> In-Reply-To: From: Masahiro Yamada Date: Sat, 5 Oct 2019 22:17:39 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: BISECTED: Compile error on 5.4-rc1 To: Harald Arnesen Cc: Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 5, 2019 at 7:50 PM Harald Arnesen wrote: > > Masahiro Yamada [05.10.2019 12:19]: > > > CONFIG_SHELL previously fell back to 'sh' when bash is not installed, > > so I just kept it as it was. > > > > If we had used the exact absolute path /bin/sh, > > it would have worked irrespective of the PATH environment. > > > > But, there is a counter option like this: > > > > > > commit 16f8259ca77d04f95e5ca90be1b1894ed45816c0 > > Author: Bj=C3=B8rn Forsman > > Date: Sun Nov 5 10:44:16 2017 +0100 > > > > kbuild: /bin/pwd -> pwd > > > > Most places use pwd and rely on $PATH lookup. Moving the remaining > > absolute path /bin/pwd users over for consistency. > > > > Also, a reason for doing /bin/pwd -> pwd instead of the other way a= round > > is because I believe build systems should make little assumptions o= n > > host filesystem layout. Case in point, we do this kind of patching > > already in NixOS. > > > > Ref. commit 028568d84da3cfca49f5f846eeeef01441d70451 > > ("kbuild: revert $(realpath ...) to $(shell cd ... && /bin/pwd)"). > > > > Signed-off-by: Bj=C3=B8rn Forsman > > Signed-off-by: Masahiro Yamada > > > > > > > > I cannot find a way to satisfy everybody. > > > > I'm totally fine with the way it is now, now that I know how it works. > However, doesn't Posix dictate that there is a /bin/sh? As for POSIX, I found this: ---------------------->8---------------------------- Applications should note that the standard PATH to the shell cannot be assumed to be either /bin/sh or /usr/bin/sh, and should be determined by interrogation of the PATH returned by getconf PATH , ensuring that the returned pathname is an absolute pathname and not a shell built-in. ---------------------->8---------------------------- https://pubs.opengroup.org/onlinepubs/009695399/utilities/sh.html --=20 Best Regards Masahiro Yamada