]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disable clang's -fintegrated-cc1 stage by default
authorDimitry Andric <dim@FreeBSD.org>
Wed, 3 Jun 2020 16:51:30 +0000 (16:51 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Wed, 3 Jun 2020 16:51:30 +0000 (16:51 +0000)
commit889eddf3b98e3f0e1d08c304aea68b2d3bcf7f33
tree5cefff1c694ba17167e79193d76856018078a820
parent666b84373eea517f546a2c3daac679707930b59a
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.

Reported by: Fabian Keil <fk@fabiankeil.de>
PR: 246630
lib/clang/include/clang/Config/config.h