From: Simon Horman <horms@verge.net.au>
To: Michael Neuling <mikey@neuling.org>
Cc: Maxim Uvarov <muvarov@gmail.com>,
linuxppc-dev@ozlabs.org, kexec@lists.infradead.org
Subject: Re: [PATCH] kexec-tools, ppc64: fix build error on ppc64
Date: Wed, 5 May 2010 13:39:29 +1000 [thread overview]
Message-ID: <20100505033928.GC2612@verge.net.au> (raw)
In-Reply-To: <14281.1273030521@neuling.org>
On Wed, May 05, 2010 at 01:35:21PM +1000, Michael Neuling wrote:
>
>
> In message <20100505023316.GF13035@verge.net.au> you wrote:
> > On Wed, May 05, 2010 at 11:48:53AM +1000, Michael Neuling wrote:
> > > 6adc05c6e3fdbc8b9f5d915af78ca05d0a09cb17 "some kexec MIPS
> > > improvements" broke pp64 as it turned on -Werror for all archs.
> > >
> > > This fixes the warning and hence ppc64 building.
> >
> > Thanks.
> >
> > While I'm very much in favour of using -Werror for testing
> > and these kind of patches are great, I think that -Werror
> > by default is rather silly. We can't control what will be
> > a warning in the future and sometimes fixing warnings isn't
> > appropriate - for instance there are warnings in fs2dt.c at
> > the moment, that is currently considered an upstream problem.
> >
> > In short, this patch is great. But I plan to also remove -Werror
> > as the default now that its been brought to my attention.
>
> Cool. My second patch should do this for all but MIPS.
Unfortunately the second patch breaks make tarball.
For now I have committed the following:
From 76beff0507360f3001e23c9b4c765ef56384d5d5 Mon Sep 17 00:00:00 2001
From: Simon Horman <horms@verge.net.au>
Date: Wed, 5 May 2010 13:33:21 +1000
Subject: [PATCH] build: Don't modify CFLAGS in kexec/arch/mips/Makefile
Revert this portion of recent MIPS changes as it actually effects the
CFLAGS for all architectures. Moreover I'm somewhat dubious about
defaulting to -Werror for any architecture.
Signed-off-by: Simon Horman <horms@verge.net.au>
---
kexec/arch/mips/Makefile | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/kexec/arch/mips/Makefile b/kexec/arch/mips/Makefile
index 831b263..03bdb9a 100644
--- a/kexec/arch/mips/Makefile
+++ b/kexec/arch/mips/Makefile
@@ -14,5 +14,3 @@ dist += kexec/arch/mips/Makefile $(mips_KEXEC_SRCS) \
kexec/arch/mips/kexec-mips.h \
kexec/arch/mips/crashdump-mips.h \
kexec/arch/mips/include/arch/options.h
-
-CFLAGS +=-Wall -Werror
--
1.7.1
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@verge.net.au>
To: Michael Neuling <mikey@neuling.org>
Cc: Maxim Uvarov <muvarov@gmail.com>,
linuxppc-dev@ozlabs.org, kexec@lists.infradead.org
Subject: Re: [PATCH] kexec-tools, ppc64: fix build error on ppc64
Date: Wed, 5 May 2010 13:39:29 +1000 [thread overview]
Message-ID: <20100505033928.GC2612@verge.net.au> (raw)
In-Reply-To: <14281.1273030521@neuling.org>
On Wed, May 05, 2010 at 01:35:21PM +1000, Michael Neuling wrote:
>
>
> In message <20100505023316.GF13035@verge.net.au> you wrote:
> > On Wed, May 05, 2010 at 11:48:53AM +1000, Michael Neuling wrote:
> > > 6adc05c6e3fdbc8b9f5d915af78ca05d0a09cb17 "some kexec MIPS
> > > improvements" broke pp64 as it turned on -Werror for all archs.
> > >
> > > This fixes the warning and hence ppc64 building.
> >
> > Thanks.
> >
> > While I'm very much in favour of using -Werror for testing
> > and these kind of patches are great, I think that -Werror
> > by default is rather silly. We can't control what will be
> > a warning in the future and sometimes fixing warnings isn't
> > appropriate - for instance there are warnings in fs2dt.c at
> > the moment, that is currently considered an upstream problem.
> >
> > In short, this patch is great. But I plan to also remove -Werror
> > as the default now that its been brought to my attention.
>
> Cool. My second patch should do this for all but MIPS.
Unfortunately the second patch breaks make tarball.
For now I have committed the following:
>From 76beff0507360f3001e23c9b4c765ef56384d5d5 Mon Sep 17 00:00:00 2001
From: Simon Horman <horms@verge.net.au>
Date: Wed, 5 May 2010 13:33:21 +1000
Subject: [PATCH] build: Don't modify CFLAGS in kexec/arch/mips/Makefile
Revert this portion of recent MIPS changes as it actually effects the
CFLAGS for all architectures. Moreover I'm somewhat dubious about
defaulting to -Werror for any architecture.
Signed-off-by: Simon Horman <horms@verge.net.au>
---
kexec/arch/mips/Makefile | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/kexec/arch/mips/Makefile b/kexec/arch/mips/Makefile
index 831b263..03bdb9a 100644
--- a/kexec/arch/mips/Makefile
+++ b/kexec/arch/mips/Makefile
@@ -14,5 +14,3 @@ dist += kexec/arch/mips/Makefile $(mips_KEXEC_SRCS) \
kexec/arch/mips/kexec-mips.h \
kexec/arch/mips/crashdump-mips.h \
kexec/arch/mips/include/arch/options.h
-
-CFLAGS +=-Wall -Werror
--
1.7.1
next prev parent reply other threads:[~2010-05-05 3:39 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-05 1:48 [PATCH] kexec-tools, ppc64: fix build error on ppc64 Michael Neuling
2010-05-05 1:48 ` Michael Neuling
2010-05-05 1:51 ` [PATCH] kexec-tools: don't include every archs Makefile Michael Neuling
2010-05-05 3:31 ` Simon Horman
2010-05-05 4:00 ` Michael Neuling
2010-05-05 6:44 ` Simon Horman
2010-05-05 1:56 ` [PATCH] kexec-tools, ppc64: fix build error on ppc64 Dale Farnsworth
2010-05-05 2:33 ` Simon Horman
2010-05-05 2:33 ` Simon Horman
2010-05-05 3:35 ` Michael Neuling
2010-05-05 3:35 ` Michael Neuling
2010-05-05 3:39 ` Simon Horman [this message]
2010-05-05 3:39 ` Simon Horman
2010-05-05 7:46 ` Maxim Uvarov
2010-05-05 7:46 ` Maxim Uvarov
2010-05-05 8:29 ` Simon Horman
2010-05-05 8:29 ` Simon Horman
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=20100505033928.GC2612@verge.net.au \
--to=horms@verge.net.au \
--cc=kexec@lists.infradead.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mikey@neuling.org \
--cc=muvarov@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.