From: "Raúl Porcel" <armin76@gentoo.org>
To: linux-sh@vger.kernel.org
Subject: sh-2.6.git fails to compile with gcc-4.3 (warnings treated as errors)
Date: Thu, 26 Mar 2009 18:01:50 +0000 [thread overview]
Message-ID: <49CBC30E.9020901@gentoo.org> (raw)
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.
next reply other threads:[~2009-03-26 18:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 18:01 Raúl Porcel [this message]
2009-03-26 18:16 ` sh-2.6.git fails to compile with gcc-4.3 (warnings treated as errors) Mike Frysinger
2009-03-30 23:24 ` Paul Mundt
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=49CBC30E.9020901@gentoo.org \
--to=armin76@gentoo.org \
--cc=linux-sh@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.