diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-12-21 18:26:32 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-12-22 13:52:36 +1100 |
commit | f51848680915eae487fefb74e2eca008b8649745 (patch) | |
tree | c4ae1ad8071bd14ead62f7096be56f6468c9fb71 /doc | |
parent | 635cb0ec9d6907803b9fbfc29872c38a44afe906 (diff) | |
download | skiboot-f51848680915eae487fefb74e2eca008b8649745.zip skiboot-f51848680915eae487fefb74e2eca008b8649745.tar.gz skiboot-f51848680915eae487fefb74e2eca008b8649745.tar.bz2 |
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 fe6f1f982b562ba855bb68fb51545f104078f546)
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions