From d2b29624d30f342cfe453beff17da6b141fa806e Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 10 Dec 2018 16:09:36 +0100 Subject: [PATCH] Try to workaround the debug issues by adding -fno-addrsig to the *FLAGS One more time, thanks to Rebecca Palmer (Closes: #913946) --- debian/changelog | 2 ++ debian/rules | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index b45781cf..67a4a84f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ llvm-toolchain-7 (1:7.0.1~+rc3-2) UNRELEASED; urgency=medium * Fix llvm-config by stripping unnecessary flags See also https://bugs.llvm.org/show_bug.cgi?id=8220 (Closes: #697755, #914838) + * Try to workaround the debug issues by adding -fno-addrsig to the *FLAGS + One more time, thanks to Rebecca Palmer (Closes: #913946) * Improved the debian/patches/series presentation by creating categories -- Sylvestre Ledru Mon, 10 Dec 2018 03:49:59 -0500 diff --git a/debian/rules b/debian/rules index cac75113..eaccd3b5 100755 --- a/debian/rules +++ b/debian/rules @@ -124,9 +124,9 @@ endif endif # Enable for bootstrap -LDFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -CXXFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -CFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option +LDFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -fno-addrsig +CXXFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -fno-addrsig +CFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -fno-addrsig # Enable polly (or not) POLLY_ENABLE=yes