aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-06-03 21:22:14 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-06-03 21:22:14 +0000
commit3b0e7a0da27381c2a786977d6fbf2a1422123c5d (patch)
tree0c64efc7ee7fd792a6385e7453ccbf6f6e8ce631
parent0a2a128eed154ce5ac4c3dc1eda104a3da9b066a (diff)
downloadsrc-3b0e7a0da27381c2a786977d6fbf2a1422123c5d.tar.gz
src-3b0e7a0da27381c2a786977d6fbf2a1422123c5d.zip
MF11 r361755:
Disable clang's -fintegrated-cc1 stage by default In bug 246630, it was found that part of the rescue binary could be compiled to very slightly different (but still equivalent) machine code, depending on the number of simultaneous make jobs (via the -j option). This turned out to be caused by the upstream change that made clang's first stage compiler (i.e. the -cc1 stage) run as part of the initial clang process invocation, instead of forking and exec'ing a new clang process. We are currently investigating the root cause for the difference in output, but while that is ongoing, disable the integrated cc1 stage for now to work around it. You can always turn it on explicitly by using the -fintegrated-cc1 option, or turn it off with -fno-integrated-cc1. Direct commit to stable/{11,12}, so this can hopefully end up in the upcoming 11.4-RELEASE. Approved by: re (gjb) Reported by: Fabian Keil <fk@fabiankeil.de> PR: 246630
Notes
Notes: svn path=/releng/11.4/; revision=361772
-rw-r--r--lib/clang/include/clang/Config/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h
index b704d500195e..f2fbe5034493 100644
--- a/lib/clang/include/clang/Config/config.h
+++ b/lib/clang/include/clang/Config/config.h
@@ -82,6 +82,6 @@
/* #undef CLANG_ENABLE_STATIC_ANALYZER */
/* Spawn a new process clang.exe for the CC1 tool invocation, when necessary */
-#define CLANG_SPAWN_CC1 0
+#define CLANG_SPAWN_CC1 1
#endif