From: Dennis Gilmore <dennis@ausil.us>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH] Don't build any of the sparc arch bits with -Werror
Date: Sat, 26 Feb 2011 02:48:33 +0000 [thread overview]
Message-ID: <201102252048.38914.dennis@ausil.us> (raw)
In-Reply-To: <1298678235-29164-1-git-send-email-dennis@ausil.us>
[-- Attachment #1: Type: Text/Plain, Size: 1276 bytes --]
On Friday, February 25, 2011 08:17:51 PM Dennis Gilmore wrote:
> On Friday, February 25, 2011 08:10:01 PM David Miller wrote:
> > From: Dennis Gilmore <dennis@ausil.us>
> > Date: Fri, 25 Feb 2011 18:06:00 -0600
> >
> > > This is due to gcc-4.6 it throws warnings for defined but unused
> > > variables. without this we cant build the kernel at all. i have buil
> > > tested but not tried to run yet
> >
> > Then fix the warnings since they are likely legitimate.
> >
> > We've had -Werror there for _years_, don't just knee jerk remove
> > it because some new compiler notices new problems.
> > --
> > To unsubscribe from this list: send the line "unsubscribe sparclinux" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>
> a build with this patch results in the following
a shorter followup
grep Wunused-but-set-variable build.log |wc -l
1257
in pretty much every section of the kernel. so yes while it will need fixing
its not something i have the time to do right now.
Perhaps i should just carry the patch in the fedora kernel until we can fully
resolve the issues. x86_64 and i686 dont use -Werror so i doubt ill get much
help there.
dennis
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-02-26 2:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 23:57 [PATCH] Don't build any of the sparc arch bits with -Werror Dennis Gilmore
2011-02-26 0:06 ` Dennis Gilmore
2011-02-26 2:09 ` David Miller
2011-02-26 2:10 ` David Miller
2011-02-26 2:17 ` Dennis Gilmore
2011-02-26 2:48 ` Dennis Gilmore [this message]
2011-02-26 3:03 ` David Miller
2011-02-26 3:05 ` David Miller
2011-02-26 8:53 ` Sam Ravnborg
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=201102252048.38914.dennis@ausil.us \
--to=dennis@ausil.us \
--cc=sparclinux@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 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.