lkml.org 
[lkml]   [2012]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[3.7-rc6/perf,x86] Build failure at p6_pmu declaration.
From
Date
Commit caaa8be3 "perf, x86: Fix __initconst vs const" causes

arch/x86/kernel/cpu/perf_event_p6.c:200: error: p6_pmu causes a section type conflict
make[3]: *** [arch/x86/kernel/cpu/perf_event_p6.o] Error 1

error. Patching

-static __initconst const struct x86_pmu p6_pmu = {
+static __initconst struct x86_pmu p6_pmu = {

solved the error. But is this rather a compiler bug? I'm using gcc 3.3.5.


\
 
 \ /
  Last update: 2012-11-17 10:21    [W:0.049 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site