Messages in this thread | | | Subject | [3.7-rc6/perf,x86] Build failure at p6_pmu declaration. | From | Tetsuo Handa <> | Date | Sat, 17 Nov 2012 17:54:16 +0900 |
| |
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.
| |