The warning statement parenthesis is not balanced

ifdef CONFIG_CC_STACKPROTECTOR_REGULAR
  stackp-flag := -fstack-protector
  ifeq ($(call cc-option, $(stackp-flag)),)
    $(warning Cannot use CONFIG_CC_STACKPROTECTOR: \
              -fstack-protector not supported by compiler))
  endif
else ifdef CONFIG_CC_STACKPROTECTOR_STRONG
  stackp-flag := -fstack-protector-strong
  ifeq ($(call cc-option, $(stackp-flag)),)
    $(warning Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: \
              -fstack-protector-strong not supported by compiler)
  endif
else
  # Force off for distro compilers that enable stack protector by default.
  stackp-flag := $(call cc-option, -fno-stack-protector)
endif
KBUILD_CFLAGS += $(stackp-flag)

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-5195

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1636625

Title:
  Syntax error extra parenthesis linux-headers-3.13.0-100/Makefile

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Recommended change: remove incorrect extra ) character

  root@nereid:/usr/src/linux-headers-3.13.0-100# diff Makefile old2.Makefile
  615c615
  <             -fstack-protector not supported by compiler)
  ---
  >             -fstack-protector not supported by compiler))

  This bug causes driver builds to fail like this

  make[1]: Entering directory `/usr/src/linux-headers-3.13.0-100-generic'
  /usr/src/linux-headers-3.13.0-100-generic/arch/x86/Makefile:111: 
CONFIG_X86_X32 enabled but no binutils support
  Makefile:614: Cannot use CONFIG_CC_STACKPROTECTOR: -fstack-protector not 
supported by compiler
  Makefile:614: *** missing separator. Stop.
  make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-100-generic'
  make: *** [all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636625/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to