linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Linux 3.8-rc1: compiling problem in perf-event-p6.o
@ 2013-03-01 15:08 werner
  2013-03-01 16:08 ` Linus Torvalds
  0 siblings, 1 reply; 7+ messages in thread
From: werner @ 2013-03-01 15:08 UTC (permalink / raw)
  To: rdunlap, linux-kernel, torvalds

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linux 3.8-rc1: compiling problem in perf-event-p6.o
  2013-03-01 15:08 Linux 3.8-rc1: compiling problem in perf-event-p6.o werner
@ 2013-03-01 16:08 ` Linus Torvalds
  0 siblings, 0 replies; 7+ messages in thread
From: Linus Torvalds @ 2013-03-01 16:08 UTC (permalink / raw)
  To: werner; +Cc: Randy Dunlap, Linux Kernel Mailing List

On Fri, Mar 1, 2013 at 7:08 AM, werner <w.landgraf@ru.ru> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linux 3.8-rc1: compiling problem in perf-event-p6.o
  2013-01-17  1:26 ` Randy Dunlap
@ 2013-01-19 20:11   ` werner
  0 siblings, 0 replies; 7+ messages in thread
From: werner @ 2013-01-19 20:11 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel, torvalds

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@infradead.org> 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@ru.ru>
---
Professional hosting for everyone - http://www.host.ru

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Linux 3.8-rc1: compiling problem in perf-event-p6.o
  2013-01-15 14:50 werner
@ 2013-01-17  1:26 ` Randy Dunlap
  2013-01-19 20:11   ` werner
  0 siblings, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2013-01-17  1:26 UTC (permalink / raw)
  To: werner; +Cc: linux-kernel, torvalds

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Linux 3.8-rc1: compiling problem in perf-event-p6.o
@ 2013-01-15 14:50 werner
  2013-01-17  1:26 ` Randy Dunlap
  0 siblings, 1 reply; 7+ messages in thread
From: werner @ 2013-01-15 14:50 UTC (permalink / raw)
  To: linux-kernel, torvalds

[-- Attachment #1: Type: text/plain, Size: 1250 bytes --]

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
---
---
Professional hosting for everyone - http://www.host.ru

[-- Attachment #2: linux-3.8-rc3-i486-1sys.log.bz2 --]
[-- Type: application/octet-stream, Size: 86077 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Linux 3.8-rc1: compiling problem in perf-event-p6.o
@ 2013-01-06  0:18 werner
  0 siblings, 0 replies; 7+ messages in thread
From: werner @ 2013-01-06  0:18 UTC (permalink / raw)
  To: linux-kernel


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
---
---
Professional hosting for everyone - http://www.host.ru

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Linux 3.8-rc1:  compiling problem in  perf-event-p6.o
@ 2013-01-03  1:10 werner
  0 siblings, 0 replies; 7+ messages in thread
From: werner @ 2013-01-03  1:10 UTC (permalink / raw)
  To: linux-kernel

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
---
Professional hosting for everyone - http://www.host.ru

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-01 16:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01 15:08 Linux 3.8-rc1: compiling problem in perf-event-p6.o werner
2013-03-01 16:08 ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2013-01-15 14:50 werner
2013-01-17  1:26 ` Randy Dunlap
2013-01-19 20:11   ` werner
2013-01-06  0:18 werner
2013-01-03  1:10 werner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).