Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp258067imm; Wed, 18 Jul 2018 01:26:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcy+TLWaWnZGv57X1J6d50dtHNcqpiKv6qc0km9KnDzzVxsTNLATTA11SEA75WE6IpRccCt X-Received: by 2002:a62:d75b:: with SMTP id v27-v6mr4210282pfl.79.1531902384262; Wed, 18 Jul 2018 01:26:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531902384; cv=none; d=google.com; s=arc-20160816; b=TQ8jWF5WbQBaMQFCRZp5MrdausBbBh5tKk/WLzNic32yu2ry8e9+0PyioD7QW/YIG3 opSpUcPVXdggMMBDlFSe3hL5Qje8NUqGH5CcxhqzeEeXRQymVE3NICwF8c26p4iQkqcp hM7R8qjStEySYwBKDa39qUNtjK/0BarC7EzdQ6Iyj52HTsdKXTJL+2BUneEzmmrhcDUh 6se8cbYadzMEh97ivmnpL6aLsB3BQsgoB9o1/ufx2MRahGbKar6H0q6CnR5A7KTUf86C BKlOEALqtOrLjMIkaR1GlUqUjZQnpCpm5R+bQV+nRFbicroxHY7RLbjmMxtFLhCbX3wy okpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Q9iFp83nlMn7o4N/lN3RFdKyegPLaX1TZFQOaDDlV30=; b=XtMy7bTUzClcr9OBU5YrTx1lbvZh4Yug1lmbxERtHw8Bnt4tAC8Nr2ki+hcy9c/p1m 48PCzOxOC2UJkxSuGPtWchKpJ1JvmpC3sOFqUJV9qRHGLLpm7WIRLPFKHi5LU+cMCNja ad7wZCDVdQI8lPIhGKTv/mCnLOahM0sc36fTQv/VANv7mNXBhNfnvynXcvmjQb10n1ln yzWAU4N2jC9XjenpRNbmkkaLWabpdfw98xxYKHOOjmrcX1iQlOhNkxV9jMXnLzr7IRhN V7J2r/AmKhMsCGorReoicOyWh3cAK3jibneTzmHUQ+YFMbjVUky+CjIZWiCA862MU2ji 9AOQ== 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 z20-v6si3256207pfj.337.2018.07.18.01.26.09; Wed, 18 Jul 2018 01:26:24 -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; 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 S1730215AbeGRJBc (ORCPT + 99 others); Wed, 18 Jul 2018 05:01:32 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34788 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbeGRJBc (ORCPT ); Wed, 18 Jul 2018 05:01:32 -0400 Received: from localhost (LFbn-1-12238-233.w90-92.abo.wanadoo.fr [90.92.53.233]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A1D7986A; Wed, 18 Jul 2018 08:24:46 +0000 (UTC) Date: Wed, 18 Jul 2018 10:24:44 +0200 From: Greg Kroah-Hartman To: Konstantin Khlebnikov Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Randy Dunlap , Rasmus Villemoes , Paul Menzel , Masahiro Yamada Subject: Re: [PATCH 4.4 14/43] tools build: fix # escaping in .cmd files for future Make Message-ID: <20180718082444.GA1359@kroah.com> References: <20180716073511.796555857@linuxfoundation.org> <20180716073513.350026232@linuxfoundation.org> <20180717131542.GC5171@kroah.com> <6b871e03-f1fa-3546-8125-3639891eb828@yandex-team.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b871e03-f1fa-3546-8125-3639891eb828@yandex-team.ru> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 17, 2018 at 10:51:29PM +0300, Konstantin Khlebnikov wrote: > On 17.07.2018 16:15, Greg Kroah-Hartman wrote: > > On Tue, Jul 17, 2018 at 03:57:21PM +0300, Konstantin Khlebnikov wrote: > > > This commit depends on commit 9564a8cf422d7b58f6e857e3546d346fa970191e > > > "Kbuild: fix # escaping in .cmd files for future Make" > > > which is missing in 4.4.141 > > > > > > > > > this breaks compilation of tools/perf for me > > > > > > make -C tools/perf V=1 JOBS=24 WERROR=0 NO_GTK2=1 LDFLAGS=-static all > > > make[1]: Entering directory `/tmp/buildd/linux-yandex-4.4.141/tools/perf' > > > BUILD: Doing 'make -j24' parallel build > > > > > > Auto-detecting system features: > > > ... dwarf: [ on ] > > > ... dwarf_getlocations: [ OFF ] > > > ... glibc: [ on ] > > > ... gtk2: [ OFF ] > > > ... libaudit: [ on ] > > > ... libbfd: [ on ] > > > ... libelf: [ on ] > > > ... libnuma: [ on ] > > > ... numa_num_possible_cpus: [ on ] > > > ... libperl: [ OFF ] > > > ... libpython: [ OFF ] > > > ... libslang: [ on ] > > > ... libunwind: [ on ] > > > ... libdw-dwarf-unwind: [ OFF ] > > > ... zlib: [ on ] > > > ... lzma: [ on ] > > > ... get_cpuid: [ on ] > > > ... bpf: [ on ] > > > > > > config/Makefile:274: No libdw DWARF unwind found, Please install elfutils-devel/libdw-dev >= 0.158 and/or set LIBDW_DIR > > > config/Makefile:282: Old libdw.h, finding variables at given 'perf probe' point will not work, install elfutils-devel/libdw-dev >= 0.157 > > > config/Makefile:458: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev > > > config/Makefile:501: No 'Python.h' (for Python 2.x support) was found: disables Python support - please install python-devel/python-dev > > > $(:) > > > make -C /tmp/buildd/linux-yandex-4.4.141/tools/build fixdep > > > /bin/sh util/PERF-VERSION-GEN > > > make -f /tmp/buildd/linux-yandex-4.4.141/tools/build/Makefile.build dir=. obj=fixdep > > > . util/generate-cmdlist.sh > common-cmds.h+ && mv common-cmds.h+ common-cmds.h > > > .fixdep.o.cmd:1: *** missing separator. Stop. > > > make[3]: *** [fixdep-in.o] Error 2 > > > make[2]: *** [fixdep] Error 2 > > > > Ok, backporting the Makefile fixes resolves this issue. But perf still > > fails to build for me due to some futex errors, which is odd, do you see > > that too? > > Compilation fails only for modern glibc, like in ubuntu 18.04 bionic. > Xenial 16.04 and precise 12.04 are fine. > > I've bisected to indirect fix in linux 4.8 > commit cec07f53c398f22576df77052c4777dc13f14962 > ("perf tools: Move syscall number fallbacks from perf-sys.h to tools/arch/x86/include/asm/") > > To 4.4.y it applies clearly. Yes! Thanks for figuring this out, it's been bothering me for a while now. Now queued up. greg k-h