From a6d9a918700848326c0a84c92895106c41e17ef4 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Sat, 24 Jun 2017 04:08:59 +0300 Subject: [PATCH] Add -fno-stack-protector to testrunner builds --- testrunner/run_commit_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testrunner/run_commit_test.py b/testrunner/run_commit_test.py index 559849a2..ad3b5c0f 100644 --- a/testrunner/run_commit_test.py +++ b/testrunner/run_commit_test.py @@ -336,6 +336,7 @@ def context_linux_x64_gcc_defsize_fltoetc(): execute([ 'gcc', '-oduk', '-Os', '-fomit-frame-pointer', + '-fno-stack-protector', '-flto', '-fno-asynchronous-unwind-tables', '-ffunction-sections', '-Wl,--gc-sections', '-I' + os.path.join('dist', 'src'), @@ -369,6 +370,7 @@ def context_helper_minsize_fltoetc(archopt, strip): execute([ 'gcc', '-oduk', archopt, '-Os', '-fomit-frame-pointer', + '-fno-stack-protector', '-flto', '-fno-asynchronous-unwind-tables', '-ffunction-sections', '-Wl,--gc-sections', '-I' + os.path.join('prep'), @@ -709,6 +711,7 @@ def context_helper_hello_ram(archopt): execute([ 'gcc', '-ohello', archopt, '-Os', '-fomit-frame-pointer', + '-fno-stack-protector', '-flto', '-fno-asynchronous-unwind-tables', '-ffunction-sections', '-Wl,--gc-sections', '-I' + os.path.join('prep'), @@ -794,6 +797,7 @@ def mandel_test(archopt, genconfig_opts): execute([ 'gcc', '-oduk', archopt, '-Os', '-fomit-frame-pointer', + '-fno-stack-protector', '-flto', '-fno-asynchronous-unwind-tables', '-ffunction-sections', '-Wl,--gc-sections', '-DDUK_CMDLINE_PRINTALERT_SUPPORT',