svn commit: r296096 - in head: . share/mk
Ed Maste
emaste at FreeBSD.org
Fri Feb 26 15:46:16 UTC 2016
Author: emaste
Date: Fri Feb 26 15:46:14 2016
New Revision: 296096
URL: https://svnweb.freebsd.org/changeset/base/296096
Log:
Install elftoolchain elfcopy(1) as objcopy(1) by default
As of r295661 elfcopy supports PE format for EFI boot binaries and is a
viable objcopy implementation for the base system and ports.
The (temporary) src.conf knob WITHOUT_ELFCOPY_AS_OBJCOPY knob may be set
to obtain the GNU version if necessary.
PR: 207091 [exp-run]
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Modified:
head/UPDATING
head/share/mk/src.opts.mk
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Fri Feb 26 14:39:39 2016 (r296095)
+++ head/UPDATING Fri Feb 26 15:46:14 2016 (r296096)
@@ -31,6 +31,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
disable the most expensive debugging functionality run
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+20150107:
+ The ELF object manipulation tool objcopy is now provided by the
+ ELF Tool Chain project rather than by GNU binutils. It should be a
+ drop-in replacement, with the addition of arm64 support. The
+ (temporary) src.conf knob WITHOUT_ELFCOPY_AS_OBJCOPY knob may be set
+ to obtain the GNU version if necessary.
+
20160129:
Building ZFS pools on top of zvols is prohibited by default. That
feature has never worked safely; it's always been prone to deadlocks.
Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk Fri Feb 26 14:39:39 2016 (r296095)
+++ head/share/mk/src.opts.mk Fri Feb 26 15:46:14 2016 (r296096)
@@ -80,6 +80,7 @@ __DEFAULT_YES_OPTIONS = \
DYNAMICROOT \
ED_CRYPTO \
EE \
+ ELFCOPY_AS_OBJCOPY \
ELFTOOLCHAIN_BOOTSTRAP \
EXAMPLES \
FDT \
@@ -231,9 +232,9 @@ __DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTST
# In-tree binutils/gcc are older versions without modern architecture support.
.if ${__T} == "aarch64" || ${__T} == "riscv64"
BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GCC GCC_BOOTSTRAP GDB
-__DEFAULT_YES_OPTIONS+=ELFCOPY_AS_OBJCOPY LLVM_LIBUNWIND
+__DEFAULT_YES_OPTIONS+=LLVM_LIBUNWIND
.else
-__DEFAULT_NO_OPTIONS+=ELFCOPY_AS_OBJCOPY LLVM_LIBUNWIND
+__DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND
.endif
.if ${__T} == "riscv64"
BROKEN_OPTIONS+=PROFILE # "sorry, unimplemented: profiler support for RISC-V"
More information about the svn-src-all
mailing list