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 00:06:00 +0000 [thread overview]
Message-ID: <201102251806.09729.dennis@ausil.us> (raw)
In-Reply-To: <1298678235-29164-1-git-send-email-dennis@ausil.us>
[-- Attachment #1: Type: Text/Plain, Size: 1923 bytes --]
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
Dennis
On Friday, February 25, 2011 05:57:15 PM Dennis Gilmore wrote:
> Signed-off-by: Dennis Gilmore <dgilmore@redhat.com>
> ---
> arch/sparc/kernel/Makefile | 1 -
> arch/sparc/lib/Makefile | 1 -
> arch/sparc/mm/Makefile | 1 -
> arch/sparc/prom/Makefile | 1 -
> 4 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile
> index 599398f..e38a367 100644
> --- a/arch/sparc/kernel/Makefile
> +++ b/arch/sparc/kernel/Makefile
> @@ -3,7 +3,6 @@
> #
>
> asflags-y := -ansi
> -ccflags-y := -Werror
>
> extra-y := head_$(BITS).o
> extra-y += init_task.o
> diff --git a/arch/sparc/lib/Makefile b/arch/sparc/lib/Makefile
> index 846d1c4..c2ed034 100644
> --- a/arch/sparc/lib/Makefile
> +++ b/arch/sparc/lib/Makefile
> @@ -2,7 +2,6 @@
> #
>
> asflags-y := -ansi -DST_DIV0=0x02
> -ccflags-y := -Werror
>
> lib-$(CONFIG_SPARC32) += mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o
> lib-$(CONFIG_SPARC32) += memcpy.o memset.o
> diff --git a/arch/sparc/mm/Makefile b/arch/sparc/mm/Makefile
> index 79836a7..3945501 100644
> --- a/arch/sparc/mm/Makefile
> +++ b/arch/sparc/mm/Makefile
> @@ -2,7 +2,6 @@
> #
>
> asflags-y := -ansi
> -ccflags-y := -Werror
>
> obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
> obj-y += fault_$(BITS).o
> diff --git a/arch/sparc/prom/Makefile b/arch/sparc/prom/Makefile
> index 8287bbe..52e4e77 100644
> --- a/arch/sparc/prom/Makefile
> +++ b/arch/sparc/prom/Makefile
> @@ -2,7 +2,6 @@
> # Linux.
> #
> asflags := -ansi
> -ccflags := -Werror
>
> lib-y := bootstr_$(BITS).o
> lib-y += init_$(BITS).o
[-- 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 0:06 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 [this message]
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
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=201102251806.09729.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.