Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2005669ybp; Sat, 5 Oct 2019 03:55:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1NlSxCTwWDw33t6liEnA3NOSWPSEHVKFCaJ7Mf7ZkbM9LASUJKtXbiPjkpSPuFLZtw71y X-Received: by 2002:a50:a57d:: with SMTP id z58mr19913638edb.115.1570272942591; Sat, 05 Oct 2019 03:55:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570272942; cv=none; d=google.com; s=arc-20160816; b=OjJcGfE7jTXaRbssNa15RRAxk5SVu6MRIcpET8fcyHbXjmlHkP2/muq1+kOW9lHT69 AdQov8qsIshfls899EBzuOXE6NeU31An4+cvQil3sybDqfGhsJfUl+yuFF+DR1I1Qtne jY1poQrFKqnmt5pW8OZYEI3XM+QKKJnBFKZGThTFGb33nwtMInhlDAcUI6dHVlXga85X hE/CZQqejEKXWXOb7xyDmcalVfUkdcXPhBSo0+ZTulYE5RFzWjThnaVLAbNskCcqfB+W W6A1WZ74S2tPzZm2NHjr0Fz/ujzgOG4eFSlU+KTwfDFGVhX23Wr8a8dJG9P029PlWvKs nZJw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=xD/VQSMhPIhILBRPV/+Es2GSvycUj6n/OQKyPmLu98E=; b=jk92w0mIed/uPhP1MbJrbX7geXFBYMVy7vUKB8LCauJMalZta6UrXWOib2Wz0Y3Pgv bNjvj7o2pt0IEYPCe0DMKKcKLpv9c18VGFpTfcgrv0B7OJRTQNgqHHuEngUYk4P/98be 0SrkKir29nBjE5KBJlM7UNj3wOPByRDp0vQ8hdFDwqs4DePCbnjvCbQuax2IyxYAV1fu MY4uL0L+u8WggfEZEX1Czq3Qrov96+pt33d0E8I6w7hrhfASfbK879tACc13sOeDnTck KarBeb3lXnJv274BCN9GVqGQJBbj44Qp+mQWj/R6wVK5y6Dxt0s2zehE/Fl8LSnT2Bmt fWkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@skogtun.org header.s=ds201810 header.b=ZYaW7DfQ; 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 q35si5632750eda.122.2019.10.05.03.54.47; Sat, 05 Oct 2019 03:55:42 -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=fail header.i=@skogtun.org header.s=ds201810 header.b=ZYaW7DfQ; 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 S1727881AbfJEKu0 (ORCPT + 99 others); Sat, 5 Oct 2019 06:50:26 -0400 Received: from smtp.domeneshop.no ([194.63.252.55]:51325 "EHLO smtp.domeneshop.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbfJEKuZ (ORCPT ); Sat, 5 Oct 2019 06:50:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=skogtun.org ; s=ds201810; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xD/VQSMhPIhILBRPV/+Es2GSvycUj6n/OQKyPmLu98E=; b=ZYaW7DfQP2PoR8OwysID7RZfz+ HcCV1Y1DO3T97kt2K8Av6SfMEIUnBIrcJ6p93gBUiWvyYgYAkSvspqxajxEk0FuPYKI/EY2h5WqDg SKrCK3X09/kFW7Z8DjlFP9yszNwJK6g9R+Yc0ohPHlKtlJpV8FR/KHCYeBkD3EorQlMDGZ54qZsDt bVJ+ST2iy5JxVSnx/9AhD0E8NsWpWLNJE3x41WYtmTENRTJpc4+GjKhKEhbxqRu+QospchA0YnCah D4XaeLde90+lEy45MJVSuaI4dgPIdd9ZPskgOPzJ6fG8LKvPNl/AkG8ZeF9BgqagMoOtxqTCJB8hb yHOGbwaw==; Received: from [2a01:79c:cebe:b88c:caff:28ff:fe94:90a0] (port=55958) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iGhdn-0008Dd-Ka; Sat, 05 Oct 2019 12:50:23 +0200 Subject: Re: BISECTED: Compile error on 5.4-rc1 To: Masahiro Yamada Cc: Linux Kernel Mailing List References: <240d0353-2e66-7d0c-3dc0-f58f62c999be@skogtun.org> From: Harald Arnesen Message-ID: Date: Sat, 5 Oct 2019 12:50:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: nb-NO Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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ørn 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 around > is because I believe build systems should make little assumptions on > 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ørn 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? -- Hilsen Harald