title: unrecognized command line option ‘-fstack-protector-strong’ with arm-linux-gnueabihf-gcc
body: <p>I have cloned the Raspberry Pi toolchain using the following command and added the tools path to bashrc</p>
  
  <pre><code>git clone https://github.com/raspberrypi/tools.git --depth=1
  echo PATH=$PATH:~raspberry/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin &gt;&gt; ~/.bashrc
  source ~/.bashrc
  </code></pre>
  
  <p>Cloned the raspberry pi kernel sources</p>
  
  <pre><code>git clone --depth=1 https://github.com/raspberrypi/linux
  </code></pre>
  
  <p>Simple hello world module</p>
  
  <pre><code>#include &lt;linux/kernel.h&gt;
  #include &lt;linux/module.h&gt;
  
  MODULE_LICENSE("GPL");
  static int test_hello_init(void)
  {
      printk(KERN_INFO"%s: In init\n", __func__);
      return 0;
  }
  
  static void test_hello_exit(void)
  {
      printk(KERN_INFO"%s: In exit\n", __func__);
  }
  
  module_init(test_hello_init);
  module_exit(test_hello_exit);
  </code></pre>
  
  <p>Makefile</p>
  
  <pre><code>obj-m := hello.o
  
  all:
      make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C /home/jamal/raspberrypi/linux M=$(PWD) modules
  clean:
      make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C /home/jamal/raspberrypi/linux M=$(PWD) clean
  </code></pre>
  
  <p>It's failing with the following error:</p>
  
  <pre><code>arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-fstack-protector-strong’
  scripts/Makefile.build:309: recipe for target '/home/jamal/Linux_Device_Drivers/hello.o' failed
  </code></pre>
  
  <p>Previously, this used to work, not sure what has changed and now i am getting this error</p>