Received: by 10.223.164.202 with SMTP id h10csp1650375wrb; Wed, 8 Nov 2017 07:32:52 -0800 (PST) X-Google-Smtp-Source: ABhQp+T4RN965YEnneeFYTZSJ780r3CLHnIN4c/qCUnyxIh1GERUhUEdewCkrGv+4XJzXGqLem3E X-Received: by 10.84.191.129 with SMTP id a1mr806938pld.157.1510155172147; Wed, 08 Nov 2017 07:32:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510155172; cv=none; d=google.com; s=arc-20160816; b=f/nwJcEsHHux3iboQvE4l2a9BGi4ZNjwzJ2apkNtuGWnexg+Beq5NjcE9TUh9HL1Bu EEw4PkJDkHp2uwK49440Ohe8aZhRGJ1l9LRFT7YFFJEXilNVnvGaLF1ySr39mSxOQQRb ZBE4nfwVOaajQ9HY+siIgtJVQui3UCzT0TVNaueKD5TkF6lVyx5DHeX5mgKuWn9bveHE 9Hv2TiSlnwqgVF8cc8Tcs/Sr9ds4EmccIpmm5jNKaA63WlWTgubQQuBVp4qVmRd84szJ qJcpN4MRd6HyM6kw089dfRWIzh2GlfZAIS4JCtf8mJoiP8oEwUmZkY+a3MHotKCEwgPd sDcg== 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:arc-authentication-results; bh=gJPAjRQcBT6dGnoSuscWbFW6ymFXi7x7RtNAB4ibu/k=; b=o8yxe4n97I5IQ1DFtDjTJ1NlHRsdSzLCTUfqS8KfncHhLKQcBSPlXatJHLVvYo56cb QuCCBQ4EItpyhMUofTMf/9T9qx5Lq3VMeMu5vNhD0iAYxp0QMrP96qCUaXS89TU0E0D1 VnspUL/u9x/g7VQ9YqO8Zt4vdBSse4+eOht9C914irSC4l+idQrwfxl/tSeQvafGFunl JWi387vQpZbYNoua/cT/fTXLtvhxB/q0Ef7jmymFUxmPlfoQ02lJ5bTEaIjhWzkyICLu YklunYBlffZi40ZNgFq/yzFPRnwzGWm9pVsKuz1Y1uLMx6hEEXXWL9y5uVeTf4N2UbFL IZbA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 60si3989581pla.417.2017.11.08.07.32.39; Wed, 08 Nov 2017 07:32:52 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752685AbdKHPcC (ORCPT + 83 others); Wed, 8 Nov 2017 10:32:02 -0500 Received: from osg.samsung.com ([64.30.133.232]:43822 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbdKHPcA (ORCPT ); Wed, 8 Nov 2017 10:32:00 -0500 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 325332CD3A; Wed, 8 Nov 2017 07:32:00 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QCeC4WdQ8VCf; Wed, 8 Nov 2017 07:31:58 -0800 (PST) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) by osg.samsung.com (Postfix) with ESMTPSA id AC9DE2CD30; Wed, 8 Nov 2017 07:31:58 -0800 (PST) Subject: Re: [PATCH] selftests: futex: fix compilation error To: lei yang Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan , Shuah Khan References: <1509941009-11521-1-git-send-email-Lei.Yang@windriver.com> <6b0b866a-b142-8c07-41e3-d561d4b91fb3@osg.samsung.com> <3605f466-52f7-fdac-0d08-01361648b801@osg.samsung.com> From: Shuah Khan Message-ID: <27e3a0de-3197-01c2-a7ea-780bb5d7533c@osg.samsung.com> Date: Wed, 8 Nov 2017 08:31:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/08/2017 12:55 AM, lei yang wrote: > > > On 2017年11月08日 06:57, Shuah Khan wrote: >> On 11/06/2017 06:18 PM, lei yang wrote: >>> >>> On 2017年11月07日 07:48, Shuah Khan wrote: >>>> On 11/06/2017 04:45 PM, Shuah Khan wrote: >>>>> On 11/05/2017 09:03 PM, Lei Yang wrote: >>>>>> I run into below error when building futext >>>>>> /bin/sh: -c: line 5: syntax error: unexpected end of file >>>>>> >>>>>> the closing ";" and "\" are necessary. >>>>>> My OS is "Ubuntu 14.04.5 LTS" >>>>>> >>>>>> Signed-off-by: Lei Yang >>>>>> --- >>>>>>    tools/testing/selftests/futex/Makefile | 6 +++--- >>>>>>    1 file changed, 3 insertions(+), 3 deletions(-) >>>>>> >>>>>> diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selftests/futex/Makefile >>>>>> index f0c0369..943f3a2 100644 >>>>>> --- a/tools/testing/selftests/futex/Makefile >>>>>> +++ b/tools/testing/selftests/futex/Makefile >>>>>> @@ -11,9 +11,9 @@ all: >>>>>>            BUILD_TARGET=$(OUTPUT)/$$DIR;    \ >>>>>>            mkdir $$BUILD_TARGET  -p;    \ >>>>>>            make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ >>>>>> -        if [ -e $$DIR/$(TEST_PROGS) ]; then >>>>>> -            rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; >>>>>> -        fi >>>>>> +        if [ -e $$DIR/$(TEST_PROGS) ]; then \ >>>>>> +            rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; \ >>>>>> +        fi \ >>>>>>        done >>>>>>      override define RUN_TESTS >>>>>> >>>>> Hmm. I don't see this error on linux_4.14-rc8? >>>>> >>>>> Can you give more details on the gcc version you are using? >>>> I meant gnumake version? I am not seeing the failure with what I am >>>> using >>> $ make -v >>> GNU Make 3.81 >>> Copyright (C) 2006  Free Software Foundation, Inc. >>> This is free software; see the source for copying conditions. >>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A >>> PARTICULAR PURPOSE. >>> >>> This program built for x86_64-pc-linux-gnu >>> >>> >>> Lei >>> >> I can't take patches that aren't tested on the latest kernel release. >> 3.16 is very old. I am not going reply to other patches you sent. >> >> Please make sure the patches are based on the latest release and tested >> on it as well. > > this error only happens when use old version "make", it has nothing to do with the new or old kernel. > > so the question is  do we need to be compatible with old "make" ? > > Lei > Like I said, Linux 3.16 kernel is very old and I won't take patches that are tested on it. thanks, -- Shuah From 1583483747059664312@xxx Wed Nov 08 07:56:20 +0000 2017 X-GM-THRID: 1583288022901438905 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread