* sh-2.6.git fails to compile with gcc-4.3 (warnings treated as errors)
@ 2009-03-26 18:01 Raúl Porcel
2009-03-26 18:16 ` Mike Frysinger
2009-03-30 23:24 ` Paul Mundt
0 siblings, 2 replies; 3+ messages in thread
From: Raúl Porcel @ 2009-03-26 18:01 UTC (permalink / raw)
To: linux-sh
make -f scripts/Makefile.build obj=usr
make -f scripts/Makefile.build obj=arch/sh/kernel
sh4-unknown-linux-gnu-gcc -Wp,-MD,arch/sh/kernel/.setup.o.d -nostdinc
-isystem /usr/lib/gcc/sh4-unknown-linux-gnu/4.3.3/include -Iinclude
-I/root/sh-2.6/arch/sh/include -include include/linux/autoconf.h
-D__KERNEL__ -m4 -m4-nofpu -m4a -m4a-nofpu -ml -Wa,-isa=sh4a-up
-ffreestanding -Iarch/sh/include/cpu-sh4 -Iarch/sh/include/cpu-common
-Iarch/sh/include/mach-common -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Os -pipe -m4 -m4-nofpu -m4a
-m4a-nofpu -ml -Wa,-isa=sh4a-up -ffreestanding -Iarch/sh/include/cpu-sh4
-Iarch/sh/include/cpu-common -Iarch/sh/include/mach-common
-fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement
-Wno-pointer-sign -Werror -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(setup)"
-D"KBUILD_MODNAME=KBUILD_STR(setup)" -c -o arch/sh/kernel/setup.o
arch/sh/kernel/setup.c
cc1: warnings being treated as errors
arch/sh/kernel/setup.c: In function 'early_parse_mem':
arch/sh/kernel/setup.c:111: error: format not a string literal and no
format arguments
make[1]: *** [arch/sh/kernel/setup.o] Error 1
make: *** [arch/sh/kernel] Error 2
I just used the default sh7785lcr_defconfig .
Paul said its easy to fix, so feel free to submit a patch.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sh-2.6.git fails to compile with gcc-4.3 (warnings treated as errors)
2009-03-26 18:01 sh-2.6.git fails to compile with gcc-4.3 (warnings treated as errors) Raúl Porcel
@ 2009-03-26 18:16 ` Mike Frysinger
2009-03-30 23:24 ` Paul Mundt
1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2009-03-26 18:16 UTC (permalink / raw)
To: linux-sh
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
On Thursday 26 March 2009 14:01:50 Raúl Porcel wrote:
> cc1: warnings being treated as errors
> arch/sh/kernel/setup.c: In function 'early_parse_mem':
> arch/sh/kernel/setup.c:111: error: format not a string literal and no
> format arguments
>
> I just used the default sh7785lcr_defconfig .
>
> Paul said its easy to fix, so feel free to submit a patch.
a different patch has been posted but apparently not merged yet.
http://lkml.org/lkml/2009/2/4/259
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sh-2.6.git fails to compile with gcc-4.3 (warnings treated as errors)
2009-03-26 18:01 sh-2.6.git fails to compile with gcc-4.3 (warnings treated as errors) Raúl Porcel
2009-03-26 18:16 ` Mike Frysinger
@ 2009-03-30 23:24 ` Paul Mundt
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2009-03-30 23:24 UTC (permalink / raw)
To: linux-sh
On Thu, Mar 26, 2009 at 02:16:22PM -0400, Mike Frysinger wrote:
> On Thursday 26 March 2009 14:01:50 Ra?l Porcel wrote:
> > cc1: warnings being treated as errors
> > arch/sh/kernel/setup.c: In function 'early_parse_mem':
> > arch/sh/kernel/setup.c:111: error: format not a string literal and no
> > format arguments
> >
> > I just used the default sh7785lcr_defconfig .
> >
> > Paul said its easy to fix, so feel free to submit a patch.
>
> a different patch has been posted but apparently not merged yet.
> http://lkml.org/lkml/2009/2/4/259
> -mike
And probably not going to be merged without a nudge. I've just fixed up
the offending printk() for now instead.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-30 23:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 18:01 sh-2.6.git fails to compile with gcc-4.3 (warnings treated as errors) Raúl Porcel
2009-03-26 18:16 ` Mike Frysinger
2009-03-30 23:24 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox