svn commit: r361772 - releng/11.4/lib/clang/include/clang/Config
Dimitry Andric
dim at FreeBSD.org
Wed Jun 3 21:22:15 UTC 2020
Author: dim
Date: Wed Jun 3 21:22:14 2020
New Revision: 361772
URL: https://svnweb.freebsd.org/changeset/base/361772
Log:
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 at fabiankeil.de>
PR: 246630
Modified:
releng/11.4/lib/clang/include/clang/Config/config.h
Directory Properties:
releng/11.4/ (props changed)
Modified: releng/11.4/lib/clang/include/clang/Config/config.h
==============================================================================
--- releng/11.4/lib/clang/include/clang/Config/config.h Wed Jun 3 21:19:57 2020 (r361771)
+++ releng/11.4/lib/clang/include/clang/Config/config.h Wed Jun 3 21:22:14 2020 (r361772)
@@ -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
More information about the svn-src-all
mailing list