2013-03-01 16:08:53

by werner

[permalink] [raw]
Subject: Re: Linux 3.8-rc1: compiling problem in perf-event-p6.o

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


2013-03-01 16:08:52

by Linus Torvalds

[permalink] [raw]
Subject: Re: Linux 3.8-rc1: compiling problem in perf-event-p6.o

On Fri, Mar 1, 2013 at 7:08 AM, werner <[email protected]> wrote:
> 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