Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6994imm; Tue, 17 Jul 2018 12:52:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpctU4t7H2zPJtvrgkXeomxsycl2GW/lka7SYaGPsAJygUM5BCJgzzp2+saaa78rOLShW7bW X-Received: by 2002:a62:d646:: with SMTP id r67-v6mr2096212pfg.130.1531857165575; Tue, 17 Jul 2018 12:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531857165; cv=none; d=google.com; s=arc-20160816; b=imqVYjems014qVbwHlGr4W1D9L/DetzFsfBeuxDrkfMLhXhiBzEOlxKgJW6HTvecpO ETR+zAPGPh42oqdTIKHWbPoFknMODSCj/1/JlYntq74gFbMN/AONYwkTAC0D3O5sgVty VGdbgjS3akKGB6Bih+taUlnE+ULjX3L0gFXD8LA+ySGdIBSktFJWnwCKE9KAKC2k2CXS OHPjqoDyPzFCaUMkgP6WK1IBtbMnVY4EXqhxz/BF8FjJiGdNm0mbIecLSCK949nxqn88 beF4BZFFZB36+aSpsAnl8Gv1Z/fDl0nnth4A2idI0iizPYxooFU8qp1CknBHf0gdJcuc a2lw== 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 :arc-authentication-results; bh=YUjBDKMK31K/h7s67jmQATS9N5KOISVnksrgQMsNKtk=; b=vvHjdyG2Uu+5q1RZJJsNRV3F/kLcLnHpL1yVba6/W04sO2C/+26b/SVfYcXP5OyRw1 BYUse82/vkPS8PctSnoWS8Zix+Zpum/PVyPDXltRk3dUfR0PkKafZlTg9rqaK6Lm1tUJ SxELISjk3jEoJHJYn7TacHwO8x3ChI2MY3p/43Wb1fjk9bCrn5CDrpd/StpZB5iL14zf qckoDmvkJRwIqGm2LAid4Sn43w7H5uk8MbNSzeEPYM5LeszQPko71eOqaNfkSb0S7gjE wFzJimzNQBTjjlv8zsQ32ldYGVsxJNTZ64iz2i0e4jFa2rKi7xy0SgClDzy4N5wYuYz1 mtAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yandex-team.ru header.s=default header.b=Xn2ALMpz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=yandex-team.ru Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z15-v6si1552444pgf.293.2018.07.17.12.52.29; Tue, 17 Jul 2018 12:52:45 -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=pass header.i=@yandex-team.ru header.s=default header.b=Xn2ALMpz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=yandex-team.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730214AbeGQUZn (ORCPT + 99 others); Tue, 17 Jul 2018 16:25:43 -0400 Received: from forwardcorp1g.cmail.yandex.net ([87.250.241.190]:52260 "EHLO forwardcorp1g.cmail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729730AbeGQUZn (ORCPT ); Tue, 17 Jul 2018 16:25:43 -0400 Received: from smtpcorp1p.mail.yandex.net (smtpcorp1p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b6:10]) by forwardcorp1g.cmail.yandex.net (Yandex) with ESMTP id 125A5217B0; Tue, 17 Jul 2018 22:51:30 +0300 (MSK) Received: from smtpcorp1p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtpcorp1p.mail.yandex.net (Yandex) with ESMTP id 0F8F66E40BD7; Tue, 17 Jul 2018 22:51:30 +0300 (MSK) Received: from dynamic-vpn.dhcp.yndx.net (dynamic-vpn.dhcp.yndx.net [2a02:6b8:0:3713::1:1f]) by smtpcorp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xCPqfrxggV-pTxqIWDA; Tue, 17 Jul 2018 22:51:30 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1531857090; bh=YUjBDKMK31K/h7s67jmQATS9N5KOISVnksrgQMsNKtk=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=Xn2ALMpzJoHxOGScx6g9zzWEMO6Zs/ygd6vOlMACgXI1v8VsGPxHHfHGFm7qTEY62 TYXWpRVJ5aOhBUiGG0S50gzOOaleNGp5KNraaWv2aiZLBM61yVweIzpDXDSMG3flRU PwuCPo6254gKBYKaaYfxk0YBIU4RfGsXvLxf7FxM= Authentication-Results: smtpcorp1p.mail.yandex.net; dkim=pass header.i=@yandex-team.ru Subject: Re: [PATCH 4.4 14/43] tools build: fix # escaping in .cmd files for future Make To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Randy Dunlap , Rasmus Villemoes , Paul Menzel , Masahiro Yamada References: <20180716073511.796555857@linuxfoundation.org> <20180716073513.350026232@linuxfoundation.org> <20180717131542.GC5171@kroah.com> From: Konstantin Khlebnikov Message-ID: <6b871e03-f1fa-3546-8125-3639891eb828@yandex-team.ru> Date: Tue, 17 Jul 2018 22:51:29 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180717131542.GC5171@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > thanks, > > greg k-h >