Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: Disable stack protector due to gcc problems
Depending on how it was built, gcc will use the canary from a global (works for us) or from the TLS (doesn't work for us and accesses random stuff instead). Fixing that would be tricky. There are talks of adding a gcc option to force use of globals, but in the meantime, disable the stack protector Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [stewart@linux.vnet.ibm.com: add -fno-stack-protector] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> (cherry picked from commit fe6f1f9) Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
- Loading branch information