svn commit: r347598 - projects/runtime-coverage-v2/share/mk
Enji Cooper
ngie at FreeBSD.org
Tue May 14 23:28:06 UTC 2019
Author: ngie
Date: Tue May 14 23:28:04 2019
New Revision: 347598
URL: https://svnweb.freebsd.org/changeset/base/347598
Log:
Force MK_COVERAGE{,_SUPPORT} off on arm/armv6
These targets don't enable LLD/LLVM by default, and for that reason cannot
create DWARF v4 binaries, resulting in linker errors. Force MK_COVERAGE_* off
to fix those platforms until the LLD issues are fixed in the llvm project, etc.
Modified:
projects/runtime-coverage-v2/share/mk/src.opts.mk
Modified: projects/runtime-coverage-v2/share/mk/src.opts.mk
==============================================================================
--- projects/runtime-coverage-v2/share/mk/src.opts.mk Tue May 14 23:22:30 2019 (r347597)
+++ projects/runtime-coverage-v2/share/mk/src.opts.mk Tue May 14 23:28:04 2019 (r347598)
@@ -318,6 +318,13 @@ __DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_IS_C
.if ${__T} == "aarch64" || ${__T:Mriscv*} != ""
BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GCC GCC_BOOTSTRAP GDB
.endif
+# --coverage support does not work on arm/armv6 because LLD/LLVM is disabled on
+# these platforms by default, and the binutils in base lacks DWARF v4 support.
+#
+# Force support off.
+.if ${__T} == "arm" || ${__T} == "armv6"
+BROKEN_OPTIONS+=COVERAGE COVERAGE_SUPPORT
+.endif
.if ${__T:Mriscv*} != ""
BROKEN_OPTIONS+=OFED
.endif
More information about the svn-src-projects
mailing list