net-2.6 build error on powerpc
Subsystems (3)
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.
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 :
arch/powerpc/kernel/Makefile +1 -1
@@ -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
Quoted 28 lines · Ron Mercer
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 errorsarch/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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html