2.6.31: powerpc build errors with include/linux/perf_counter.h

Metzger, Markus T markus.t.metzger at intel.com
Wed Sep 23 21:10:43 EST 2009


Hi Vivek,

The build errors have been fixed with commit cd74c86bdf705f824d494a2bbda393d1d562b40a.

thanks and regards,
markus.

From: Mahajan Vivek-B08308 [mailto:Vivek.Mahajan at freescale.com] 
Sent: Wednesday, September 23, 2009 1:05 PM
To: linuxppc-dev at ozlabs.org
Cc: Metzger, Markus T
Subject: 2.6.31: powerpc build errors with include/linux/perf_counter.h

Hello Markus,
 
Apparently this http://git.kernel.org/?p=linux/kernel/git/benh/powerpc.git;a=commitdiff;h=5622f295b53fb60dbf9bed3e2c89d182490a8b7f breaks the powerpc build as under when built from http://git.kernel.org/?p=linux/kernel/git/benh/powerpc.git;a=summary with latest commit ebc79c4f8da0f92efa968e0328f32334a2ce80cf
 
cc1: warnings being treated as errors
In file included from arch/powerpc/kernel/irq.c:56:
include/linux/perf_counter.h: In function 'perf_output_begin':
include/linux/perf_counter.h:854: warning: no return statement in function returning non-void
include/linux/perf_counter.h: At top level:
include/linux/perf_counter.h:863: warning: 'struct perf_sample_data' declared inside parameter list
include/linux/perf_counter.h:863: warning: its scope is only this definition or declaration, which is probably not what
include/linux/perf_counter.h:868: warning: 'struct perf_sample_data' declared inside parameter list
make[1]: *** [arch/powerpc/kernel/irq.o] Error 1
make: *** [arch/powerpc/kernel] Error 2
Thanks,
Vivek
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the Linuxppc-dev mailing list