All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] Build error due -fstack-protector-strong not supported by compiler
@ 2014-02-21 23:47 Juan Emilio Ledesma Torres
  0 siblings, 0 replies; only message in thread
From: Juan Emilio Ledesma Torres @ 2014-02-21 23:47 UTC (permalink / raw)
  To: Kees Cook, Cc: Arjan van de Ven, Cc: Michal Marek,
	Cc: Russell King, Cc: Ralf Baechle, Cc: Paul Mundt,
	Cc: James Hogan, Cc: Stephen Rothwell, Cc: Shawn Guo,
	Cc: Linus Torvalds, Cc: Andrew Morton, Cc: Peter Zijlstra,
	Cc: Thomas Gleixner, linux-mips, linux-arch

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-21 23:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-21 23:47 [BUG] Build error due -fstack-protector-strong not supported by compiler Juan Emilio Ledesma Torres

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.