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

From: werner
Date: Sat Jan 19 2013 - 15:11:37 EST


This didn't happen on 3.6 (3.7 I had no time to check out), although I continue to use the same c compiler and libraries. So it should be caused by any change of the subroutine perf_event_p6 made in the last time. Also, everything else of the kernel compiled, just not that subroutine. Anyway the kernel should compile correctly with all recent versions of the c compiler, so one should search and fix that. The maintainer of that subroutine should be notified, and check the last changes since 3.6 .

Also, I always compile the WHOLE kernel, not only changed subroutines. Perhaps in any other subroutine was changed something of global variables in any other subroutine, what is now incompatible with subroutine perf_event_p6

W.Landgraf



=============================================
On Wed, 16 Jan 2013 17:26:33 -0800
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
On 01/15/13 06:50, werner wrote:
We are now on -rc3 and someone should correct this, finally

This is a regression, it was not before, on 3.6

This messes up any compilation of the whole kernel, it results in don't be produced vmlinuz

arch/x86/kernel/cpu/perf_event_p6.o depends on so much things that I don't get it switched off, I suppose it's necesary for the most systems


W.Landgraf






=================
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

================================================
There ocurs a compiling error in perf-event-p6.o , any regression, unfortunately I lost the compiling list but I think it was any incompatibility / redefinition with something else, pls check and correct that, if not already done
W.Landgraf

Hi,

I don't see this problem on 3.8-rc1 or -rc3.
Maybe a difference/problem in gcc??


--
~Randy



"werner" <w.landgraf@xxxxx>
---
Professional hosting for everyone - http://www.host.ru
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/