From: Juan Emilio Ledesma Torres <jueleto@gmail.com>
To: Kees Cook <keescook@chromium.org>,
	"Cc: Arjan van de Ven" <arjan@linux.intel.com>,
	"Cc: Michal Marek" <mmarek@suse.cz>,
	"Cc: Russell King" <linux@arm.linux.org.uk>,
	"Cc: Ralf Baechle" <ralf@linux-mips.org>,
	"Cc: Paul Mundt" <lethal@linux-sh.org>,
	"Cc: James Hogan" <james.hogan@imgtec.com>,
	"Cc: Stephen Rothwell" <sfr@canb.auug.org.au>,
	"Cc: Shawn Guo" <shawn.guo@linaro.org>,
	"Cc: Linus Torvalds" <torvalds@linux-foundation.org>,
	"Cc: Andrew Morton" <akpm@linux-foundation.org>,
	"Cc: Peter Zijlstra" <peterz@infradead.org>,
	"Cc: Thomas Gleixner" <tglx@linutronix.de>,
	linux-mips@linux-mips.org, linux-arch@vger.kernel.org
Subject: [BUG] Build error due -fstack-protector-strong not supported by compiler
Date: Fri, 21 Feb 2014 20:47:20 -0300	[thread overview]
Message-ID: <CAEZm4MLr-Eic7uaiDd+KdbJsFsqrSd5AkKX7HHoSQUQ0AyRxyw@mail.gmail.com> (raw)
Hello,
When building latest Torvalds tree (HEAD d158fc7f) on a x86_64 machine
using the attached defconfig I got the following build error:
/home/pc12/linux/arch/x86/Makefile:118: stack-protector enabled but
compiler support broken
Makefile:614: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG:
-fstack-protector-strong not supported by compiler
Makefile:614: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG:
-fstack-protector-strong not supported by compiler
make[1]: No se hace nada para <<all>>.
make[1]: No se hace nada para <<relocs>>.
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      kernel/bounds.s
cc1: error: the command line option is not recognized '-fstack-protector-strong'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
I had already reported the bug on bugzilla [0] but I'm also reporting
here for completeness.
Bisecting this break was introduced on commit 19952a92
("stackprotector: Unify the HAVE_CC_STACKPROTECTOR logic between
architectures")
I don't know if this problem is with the above commit or with my
compiler (gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3)
[0]: https://bugzilla.kernel.org/show_bug.cgi?id=70951
-- 
Best regards,
Juan Ledesma
                 reply	other threads:[~2014-02-21 23:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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=CAEZm4MLr-Eic7uaiDd+KdbJsFsqrSd5AkKX7HHoSQUQ0AyRxyw@mail.gmail.com \
    --to=jueleto@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@linux.intel.com \
    --cc=james.hogan@imgtec.com \
    --cc=keescook@chromium.org \
    --cc=lethal@linux-sh.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mmarek@suse.cz \
    --cc=peterz@infradead.org \
    --cc=ralf@linux-mips.org \
    --cc=sfr@canb.auug.org.au \
    --cc=shawn.guo@linaro.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).