Received: by 10.223.164.202 with SMTP id h10csp1187791wrb; Tue, 7 Nov 2017 01:29:18 -0800 (PST) X-Google-Smtp-Source: ABhQp+SLEIzT4RTp7LNV0JdR683xJqXv4UlCXvIRPeNgJRmttGrLUhg2avCDKqQKKMoRkRXaKNU4 X-Received: by 10.99.55.82 with SMTP id g18mr17743199pgn.31.1510046958522; Tue, 07 Nov 2017 01:29:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510046958; cv=none; d=google.com; s=arc-20160816; b=jALlFdv9E/UkUj3KqbeKyq2CDzPVIKVbamz5dM5obrAQnqtjQio1ZnI+vMA8fw5NQT mRPb4OLdKqvoSb4+7txOXpA9JljzRZVjrvqa+9eHpkZ6g0yJLtVBUieVl5uEdnljzjJh Wk5JDCneDVCweCY4uME/a4+QBKBXgJWahZL/STnNu0RVgydn/ZvF6o64+8U9ED0UxXSr tL0CpetSOkK/rZnkw7PdXVRfQLKXvEav7n5gQMqgjjC67X6y2Wg8aRk3oXe9t8VJpvaN eimacICvhnME3uEXTzq1rV9M1VYlM+4F/p4TT5tXnUMtVUyfPSX95EBoPLVouTY3KAdd 8ttQ== 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=haN/cYbp5K6A7Ch4FTlb/ijKL+VoFSTW/conHZ+FCpE=; b=xkN90e+31/hdt56Vr3FSlfg6Tja6YWhMH7Rv56M/GIyi9lATorrYEBKZPEem3s1QRe wxM2hnnS2SgnUA1+hBV0zKa88VJ3Gge5Lp+z3mA+WVUSloQwBWqDE7NfOQYjDA3Qu1o6 WGqUgN1Cdw0gApVsEmoRvUkjhH+LkrSejy7gUH6AKl5AmpzTZmJoxcTJ6nc9c1z9Y7Gl aB5pVEQN5Y5ABqT9eBi2SANmHSKhP5/VqRSJtjTkTG1NuFEtgULooYoQT1N7bEvsDz59 H7BIt41gHsPSLHj/AgAhtF0DaY2b8+U1I9B93AG8ybc7nYLddlzGme0x7jG8g+ARaOXv xjWQ== 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 h128si686983pgc.476.2017.11.07.01.29.04; Tue, 07 Nov 2017 01:29:18 -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 S965085AbdKGBSG (ORCPT + 94 others); Mon, 6 Nov 2017 20:18:06 -0500 Received: from mail5.windriver.com ([192.103.53.11]:38410 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934944AbdKGBSA (ORCPT ); Mon, 6 Nov 2017 20:18:00 -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 vA71HwFl022053 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Mon, 6 Nov 2017 17:17:58 -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; Mon, 6 Nov 2017 17:17:56 -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> CC: , , Shuah Khan From: lei yang Message-ID: <4b14be40-86b2-c9a9-766d-6c32684e2b2b@windriver.com> Date: Tue, 7 Nov 2017 09:17:30 +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: <6b0b866a-b142-8c07-41e3-d561d4b91fb3@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月07日 07:45, 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? $ cat /proc/version Linux version 3.16.0-30-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 $ uname -a Linux pek-lyang0-d1 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux I'm also surprised why nobody report this ? I thought it's because ksefltest community is not active :-) Lei > thanks, > -- Shuah From 1583377937530246857@xxx Tue Nov 07 03:54:32 +0000 2017 X-GM-THRID: 1583288022901438905 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread