[MacPorts] #65598: clang-devel @20220731 fails to build with clang-11 as bootstrap compiler
MacPorts
noreply at macports.org
Wed Aug 3 16:14:42 UTC 2022
#65598: clang-devel @20220731 fails to build with clang-11 as bootstrap compiler
--------------------------+--------------------------
Reporter: kencu | Owner: cjones051073
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: clang-devel |
--------------------------+--------------------------
Comment (by kencu):
clang-13 is good. Trying to bootstrap with clang-12 now.
For systems prior to 10.14, we have this error (at least):
{{{
In file included from /opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/clang-
devel/work/llvm-project-02b3a358926e7bbcac9226cbecbfc3067c2ad61b/compiler-
rt/lib/lsan/../sanitizer_common/sanitizer_internal_defs.h:15:
/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/clang-
devel/work/llvm-project-02b3a358926e7bbcac9226cbecbfc3067c2ad61b/compiler-
rt/lib/lsan/../sanitizer_common/sanitizer_platform.h:93:7: error:
'TARGET_OS_DRIVERKIT' is not defined, evaluates to 0 [-Werror,-Wundef-
prefix=TARGET_OS_]
# if TARGET_OS_DRIVERKIT
^
}}}
and that one is best handled by adding it to legacysupport and making sure
legacysupport is used when building on 10.13.
--
Ticket URL: <https://trac.macports.org/ticket/65598#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list