Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5843693imm; Wed, 12 Sep 2018 12:01:47 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ97WGEEIzUTl2rvSgWu9Uvl1uCjA7Lh7IgYPFdzp5IrJcKdw05wOjShFKVpuO630OrVMMI X-Received: by 2002:a63:6a06:: with SMTP id f6-v6mr3777808pgc.63.1536778907650; Wed, 12 Sep 2018 12:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536778907; cv=none; d=google.com; s=arc-20160816; b=LehfDSi/HDILy4LfUHz7JDNXA0kxDPR2B9eoUJk1p5hzqnaRt8hlfmtbHu/xDwr14j LsNX0GKOhOF5wgxz3GQNpK2a3qUprYFaEANGKrc/cU3XT/98CeKBlYPwVBnuQUlk/MN2 CLvKwjNyY7wpbj7xxF4X0VJax1+hLU/OSNO0Ss1Hq8/NnTYG/MiuXho4pOJ1TYC5GjB8 G744JbjqPTrpkDA6fIH+9OiY3Eaqy4VeIBzapfvoeKoMi5dYDiIDQMZkzgREBPjnC8Ja YagoCkBvF/HLnYvDg7pGxhAS/ooie/scebB//QK8Pu7Jtok56hZYeWp60BlvqtC441IA 1mhQ== 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; bh=YAO4pwuN9u6MYiMYKiAfP5FYwsi8l8WQ8uTbfIWipZw=; b=JYAeso1Pak0fzjPxH7HFQB6UpywxLIy3gnRov3Q1xRimurtxD2652UxiWBEmbMltZ9 YwkoviOgNd29RIAirPug/xrphySbl75qi/Z5T2CiIDx6biRglIkrjUy45ABQxiZ/7XF8 UA5okeOP4o9jkFOPL+BXX1fJ8k7DmdQs0derQ/oIVxhpz92Y1P1Qw57uO/94PwKtP9Fv r38wE0+U2L/sq34Bf0JfLIuPfXGE+wtlIL5bXl5aZrAptFZGw6Ee6t20T1roih3/vsE7 oHjQK/Y9Qiz7GZ53zOmWT2OjwdthJEYfTRfsD5vR9dTwbztjn1yXqiMiNs0gmTvhjgrj YtLw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a31-v6si1842503pgm.114.2018.09.12.12.01.31; Wed, 12 Sep 2018 12:01:47 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728103AbeIMAHG (ORCPT + 99 others); Wed, 12 Sep 2018 20:07:06 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:53770 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727047AbeIMAHG (ORCPT ); Wed, 12 Sep 2018 20:07:06 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 92C9740201BD; Wed, 12 Sep 2018 19:01:13 +0000 (UTC) Received: from sandy.ghostprotocols.net (ovpn-112-27.phx2.redhat.com [10.3.112.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DD4FF2026D76; Wed, 12 Sep 2018 19:01:12 +0000 (UTC) Received: by sandy.ghostprotocols.net (Postfix, from userid 1000) id 8208811A; Wed, 12 Sep 2018 16:01:07 -0300 (BRT) Date: Wed, 12 Sep 2018 16:01:07 -0300 From: Arnaldo Carvalho de Melo To: Alexander Sverdlin Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Thomas Gleixner , Peter Zijlstra Subject: Re: [PATCH] tools: Remove conflicting BITS_PER_LONG define Message-ID: <20180912190107.GA5502@redhat.com> References: <20180912170232.25258-1-alexander.sverdlin@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180912170232.25258-1-alexander.sverdlin@nokia.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 12 Sep 2018 19:01:13 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 12 Sep 2018 19:01:13 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'acme@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Sep 12, 2018 at 07:02:32PM +0200, Alexander Sverdlin escreveu: > CC .../tools/objtool/builtin-check.o > ... > In file included from .../tools/arch/x86/include/uapi/asm/bitsperlong.h:11:0, > from .../tools/include/asm-generic/bitops/__ffs.h:6, > from .../tools/include/asm-generic/bitops.h:16, > from .../tools/include/linux/bitops.h:35, > from .../tools/include/linux/hashtable.h:13, > from elf.h:24, > from check.h:22, > from builtin-check.c:30: > .../tools/include/asm-generic/bitsperlong.h:8:0: error: "BITS_PER_LONG" redefined [-Werror] > #define BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__) > > Include instead as other headers do. Please try test building all tools in tools/ This broke make -C tools/perf/ - Arnaldo