Received: by 10.223.164.202 with SMTP id h10csp1196972wrb; Tue, 7 Nov 2017 23:56:20 -0800 (PST) X-Google-Smtp-Source: ABhQp+TfVK4JN1xIyIl7uVtzThNi2lKUoleSjjlwKKKiXA2of2hXxM6jhPwVF9OCG9BZPf9hdPjK X-Received: by 10.84.253.23 with SMTP id z23mr1447291pll.210.1510127779986; Tue, 07 Nov 2017 23:56:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510127779; cv=none; d=google.com; s=arc-20160816; b=p3ux4qubC2FzMdiAzAOWWtnfN+nMTBQUTAaW6OcYZf/Q6LSv9P9cy9svUdTorQkiJ5 axHhqjYGFiMu3N47udbGViZpyHeRt19t2mRiE+NSEABHLq/U+1PtKl3eaP5ET6XBWrDS aoZ5eDZaZPYPcYwY9LyUKc5zcUYFSCkJQoRpEeK1NVdCqaeMWfsMLaz08OsEFCQE+EvL s/+qR6vi+g6RUyZLx8KI8Z8xImhWxHwqO5hHz4WqCCRkoQ8Lt/oJ+pJ0UQPLO0F7V76n kIQwKRZDDZiJMXjOyTx9b5vJeC//krDMptIQxCGYOhARlqZjG7258ropQqBXtuFHwWbm 5NmA== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=tohLWSDF4qovT1TXCvACCQsGY+WLCAnWVpGeE3ijuuc=; b=nMq7OsscFAEIKU6Bc/C9Bbqn9pEdgTBGPe9AdpDQyjxv8zBvtLGwAxoQ09xYHieHY5 WXDQ3tBiwur8ff7GUU4BLdWMUYP6WFKttBN++1c4gFw3YPH+8JcFZhV5Z77LztxEc0ko iiRcI5BaiAkVP54JlbrSWX636AJnLIT7mvdPk8qrD3WqoMWAQHcHziIBczu2cBS2pBKe SJ2aoUp4ika4Y3EhIp+liLAQPlYrNcyOtLxnV/uH50pVThEGVDElLPqDY7K6LSY2GFib vtlqM5Qr1v8zHnmkqQZJqgGG1iHioCe2c+4DM3PSyZ3rN9HZKQ4oQ2wOSxl8tgVk5xkh T8dw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si3141440pls.588.2017.11.07.23.56.07; Tue, 07 Nov 2017 23:56:19 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751169AbdKHHze (ORCPT + 89 others); Wed, 8 Nov 2017 02:55:34 -0500 Received: from mail5.windriver.com ([192.103.53.11]:56388 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbdKHHzc (ORCPT ); Wed, 8 Nov 2017 02:55:32 -0500 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id vA87tTMZ032726 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Tue, 7 Nov 2017 23:55:29 -0800 Received: from [128.224.163.162] (128.224.163.162) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 7 Nov 2017 23:55:28 -0800 Subject: Re: [PATCH] selftests: futex: fix compilation error To: 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> CC: , , Shuah Khan From: lei yang Message-ID: Date: Wed, 8 Nov 2017 15:55:02 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <3605f466-52f7-fdac-0d08-01361648b801@osg.samsung.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [128.224.163.162] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > thanks, > -- Shuah > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html From 1583466037192656610@xxx Wed Nov 08 03:14:50 +0000 2017 X-GM-THRID: 1583288022901438905 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread