Netdev List
 help / color / mirror / Atom feed
From: Zhiyong Wu <zwu.kernel@gmail.com>
To: netdev@vger.kernel.org, davem@davemloft.net,
	Herbert Xu <herbert@gondor.apana.org.au>,
	llim@redhat.com, Zhiyong Wu <zwu.kernel@gmail.com>,
	Avi Kivity <avi@redhat.com>, agraf@suse.de,
Subject: Re: net-2.6 build error on powerpc
Date: Wed, 16 Dec 2009 16:37:44 +0800	[thread overview]
Message-ID: <b1e768440912160037v21cf7ed2s521c0ac1307c583e@mail.gmail.com> (raw)
In-Reply-To: <20091008152044.GA15390@linux-ox1b.qlogic.org>

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
>

      reply	other threads:[~2009-12-16  8:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08 15:20 net-2.6 build error on powerpc Ron Mercer
2009-12-16  8:37 ` Zhiyong Wu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b1e768440912160037v21cf7ed2s521c0ac1307c583e@mail.gmail.com \
    --to=zwu.kernel@gmail.com \
    --cc=agraf@suse.de \
    --cc=avi@redhat.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=llim@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox