Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753792AbbDXNyy (ORCPT ); Fri, 24 Apr 2015 09:54:54 -0400 Received: from mail-ig0-f172.google.com ([209.85.213.172]:36627 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751843AbbDXNyw (ORCPT ); Fri, 24 Apr 2015 09:54:52 -0400 Message-ID: <553A4B2A.7090703@gmail.com> Date: Fri, 24 Apr 2015 07:54:50 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Vinson Lee , Namhyung Kim , Peter Zijlstra , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo CC: linux-perf-users@vger.kernel.org, LKML Subject: =?UTF-8?B?UmU6IDQuMC1yYzEgcGVyZiBidWlsZCBlcnJvciAiYnVpbHRpbi1rbWU=?= =?UTF-8?B?bS5jOjMyMjogZXJyb3I6IGRlY2xhcmF0aW9uIG9mIOKAmHN0YXTigJkgc2hhZG8=?= =?UTF-8?B?d3MgYSBnbG9iYWwgZGVjbGFyYXRpb24i?= References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1314 Lines: 30 On 4/23/15 6:38 PM, Vinson Lee wrote: > Hi. > > 4.0-rc1 commit 0d68bc92c48167130b61b449f08be27dc862dba2 "perf kmem: > Analyze page allocator events also" introduced a build error with > older toolchains. > > For example, this build errors occurs on CentOS 6. > > CC builtin-kmem.o > cc1: warnings being treated as errors > builtin-kmem.c: In function ‘search_page_alloc_stat’: > builtin-kmem.c:322: error: declaration of ‘stat’ shadows a global declaration > /usr/include/sys/stat.h:455: error: shadowed declaration is here > builtin-kmem.c: In function ‘perf_evsel__process_page_alloc_event’: > builtin-kmem.c:378: error: declaration of ‘stat’ shadows a global declaration > /usr/include/sys/stat.h:455: error: shadowed declaration is here > builtin-kmem.c: In function ‘perf_evsel__process_page_free_event’: > builtin-kmem.c:431: error: declaration of ‘stat’ shadows a global declaration > /usr/include/sys/stat.h:455: error: shadowed declaration is here Fixed in Arnaldo's core branch; he will push to urgent and Ingo soon. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/