* Re: net-2.6 build error on powerpc
2009-10-08 15:20 net-2.6 build error on powerpc Ron Mercer
@ 2009-12-16 8:37 ` Zhiyong Wu
0 siblings, 0 replies; 2+ messages in thread
From: Zhiyong Wu @ 2009-12-16 8:37 UTC (permalink / raw)
To: netdev, davem, Herbert Xu, llim, Zhiyong Wu, Avi Kivity, agraf
HI, Ron Mercer
In order to succeed in compiling, currently i comment out the line
that includes the option "Werror" in the file Makefile.
Similiar to :
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index b23664a..0c8a8b0 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -4,7 +4,7 @@
CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
-subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
+#subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
ifeq ($(CONFIG_PPC64),y)
CFLAGS_prom_init.o += -mno-minimal-toc
Can anyone let me know how to fix this issue thoroughly?
Cheers,
Zhiyong Wu
On Thu, Oct 8, 2009 at 11:20 PM, Ron Mercer <ron.mercer@qlogic.com> wrote:
> I recently grabbed the latest net-2.6 kernel for a powerpc test box and
> got this compile error.
>
> CC arch/powerpc/kernel/cputable.o
> CC arch/powerpc/kernel/ptrace.o
> CC arch/powerpc/kernel/syscalls.o
> CC arch/powerpc/kernel/irq.o
> CC arch/powerpc/kernel/align.o
> CC arch/powerpc/kernel/signal_32.o
> CC arch/powerpc/kernel/pmc.o
> CC arch/powerpc/kernel/vdso.o
> cc1: warnings being treated as errors
> arch/powerpc/kernel/vdso.c:78: warning: alignment of
> āso_data_storeās greater than maximum object file
> alignment. Using 32768
> make[1]: *** [arch/powerpc/kernel/vdso.o] Error 1
> make: *** [arch/powerpc/kernel] Error 2
> [root@localhost linux-2.6-net.git]#
>
>
>
> Any suggestions would be appreciated.
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply related [flat|nested] 2+ messages in thread