[MacPorts] #60027: clang-9.0: static analyzer variant can't be disabled. Error: Cannot disable static analyzer while enabling ARCMT or Z3
MacPorts
noreply at macports.org
Thu Jan 30 06:46:28 UTC 2020
#60027: clang-9.0: static analyzer variant can't be disabled. Error: Cannot disable
static analyzer while enabling ARCMT or Z3
--------------------+-----------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: clang-9.0
--------------------+-----------------------
We haven't built clang without the static analyzer in a long time, it
appears. On clang-9.0, it can't be disabled due to the above error.
It can be disabled on clang-3.7. Somewhere along the line the cmake build
system made it so that it can't be disabled, and yet there is an option
still to disable it.
Likely have to enable and disable the relevant options as a group (which I
suppose suggests an upstream bug to fix, as if you turn off the analyzer,
you shouldn't error out if you don't turn off ARCMT as well).
I am not sure at present how far back this "error" goes -- possibly all
the way back to the start of the cmake build system that we defaulted to
in clang-3.8, but will have to check. In the standard cmake build of
clang, both the analyzer and ARCMT default to ON, so perhaps nobody has
built clang with the analyzer OFF in a long time...
--
Ticket URL: <https://trac.macports.org/ticket/60027>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list