lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b1e768440912160037v21cf7ed2s521c0ac1307c583e@mail.gmail.com>
Date:	Wed, 16 Dec 2009 16:37:44 +0800
From:	Zhiyong Wu <zwu.kernel@...il.com>
To:	netdev@...r.kernel.org, davem@...emloft.net,
	Herbert Xu <herbert@...dor.apana.org.au>, llim@...hat.com,
	Zhiyong Wu <zwu.kernel@...il.com>, Avi Kivity <avi@...hat.com>,
	agraf@...e.de, zhaoyang@...ibm.com
Subject: Re: net-2.6 build error on powerpc

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@...gic.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@...alhost 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@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ