From fd71da37d4781dba03ba771be0a816d0010e61d5 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sat, 30 May 2020 16:12:00 +0000 Subject: [PATCH] Disable BINUTILS by default on amd64 The retirement of obsolete binutils 2.17.50 has been in progress for quite some time. All tools other than GNU as were removed prior to this commit, and it was built only on amd64 - installed as /usr/bin/as, and used as a bootstrap tool. The amd64 exp-run has completed and failures have now been addressed in the individual ports, so disable it by default. PR: 233611, 205250 [exp-run] Sponsored by: The FreeBSD Foundation --- share/mk/src.opts.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 19f78dff2766..1a8a41f0cc48 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -200,6 +200,7 @@ __DEFAULT_YES_OPTIONS = \ __DEFAULT_NO_OPTIONS = \ BEARSSL \ BHYVE_SNAPSHOT \ + BINUTILS \ BSD_GREP \ CLANG_EXTRAS \ DTRACE_TESTS \ @@ -290,12 +291,11 @@ __DEFAULT_NO_OPTIONS+=LLVM_TARGET_BPF .if ${__T} == "aarch64" || ${__T:Mriscv*} != "" BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GDB .endif -# BINUTILS is enabled on amd64 to provide as for ports - PR 205250 # BINUTILS_BOOTSTRAP is needed on amd64 only, for skein_block_asm.s .if ${__T} == "amd64" -__DEFAULT_YES_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP +__DEFAULT_YES_OPTIONS+=BINUTILS_BOOTSTRAP .else -__DEFAULT_NO_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP +__DEFAULT_NO_OPTIONS+=BINUTILS_BOOTSTRAP .endif .if ${__T:Mriscv*} != "" BROKEN_OPTIONS+=OFED