Skip to contentSkip to conversation

Linux 3.8-rc1: compiling problem in perf-event-p6.o

DISCUSSION werner 2 participants 2 messages Mar 1, 2013

lore
Share & tools
lore
#1 lore raw
In reply to werner
Quoted 3 lines · werner

That should be corrected, even if it's a problem of the CC version /
libries, or not, compilation can't depend on this, code can't be so
non-standard that it depends on the compiler version.

The __devinit is removed in current git already. If it still does something like that, then the compiler is too buggy to be used. It's a plain static "u64" array, nothing more.

Linus

werner

author
#0 lore raw

That should be corrected, even if it's a problem of the CC version / libries, or not, compilation can't depend on this, code can't be so non-standard that it depends on the compiler version.

wl

=====================================

The problem continues with 3.8-rc

This is grave, no vmlinuz is produced.

wl

CC arch/x86/kernel/cpu/perf_event.o
CC arch/x86/kernel/cpu/perf_event_amd.o
CC arch/x86/kernel/cpu/perf_event_p6.o
arch/x86/kernel/cpu/perf_event_p6.c:22: error: p6_hw_cache_event_ids causes a section type conflict make[3]: [arch/x86/kernel/cpu/perf_event_p6.o] Error 1 (ignored)
CC arch/x86/kernel/cpu/perf_event_knc.o
CC arch/x86/kernel/cpu/perf_event_p4.o
CC arch/x86/kernel/cpu/perf_event_intel_lbr.o
---
Professional hosting for everyone - http://www.host.ru