svn commit: r276796 - in head: . share/mk tools/build/options

Ed Maste emaste at FreeBSD.org
Wed Jan 7 22:02:39 UTC 2015


Author: emaste
Date: Wed Jan  7 22:02:37 2015
New Revision: 276796
URL: https://svnweb.freebsd.org/changeset/base/276796

Log:
  Use a set of ELF Tool Chain tools by default
  
  These tools are now from the ELF Tool Chain project:
  
   * addr2line
   * elfcopy (strip)
   * nm
   * size
   * strings
  
  The binutils versions are available by setting in src.conf:
  WITHOUT_ELFTOOLCHAIN_TOOLS=yes
  
  Thanks to antoine@ for multiple exp-runs and diagnosing many of the
  failures.
  
  PR:		195561 (ports exp-run)
  Sponsored by:	The FreeBSD Foundation

Added:
  head/tools/build/options/WITHOUT_ELFTOOLCHAIN_TOOLS
     - copied, changed from r276793, head/tools/build/options/WITH_ELFTOOLCHAIN_TOOLS
Deleted:
  head/tools/build/options/WITH_ELFTOOLCHAIN_TOOLS
Modified:
  head/UPDATING
  head/share/mk/src.opts.mk

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Wed Jan  7 21:44:57 2015	(r276795)
+++ head/UPDATING	Wed Jan  7 22:02:37 2015	(r276796)
@@ -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:
+	ELF tools addr2line, elfcopy (strip), nm, size, and strings are now
+	taken from the ELF Tool Chain project rather than GNU binutils. They
+	should be drop-in replacements, with the addition of arm64 support.
+	The WITHOUT_ELFTOOLCHAIN_TOOLS= knob may be used to obtain the
+	binutils tools, if necessary.
+
 20150105:
 	The default Unbound configuration now enables remote control
 	using a local socket.  Users who have already enabled the

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Wed Jan  7 21:44:57 2015	(r276795)
+++ head/share/mk/src.opts.mk	Wed Jan  7 22:02:37 2015	(r276796)
@@ -73,6 +73,7 @@ __DEFAULT_YES_OPTIONS = \
     DMAGENT \
     DYNAMICROOT \
     ED_CRYPTO \
+    ELFTOOLCHAIN_TOOLS \
     EXAMPLES \
     FDT \
     FLOPPY \
@@ -159,7 +160,6 @@ __DEFAULT_NO_OPTIONS = \
     BSD_GREP \
     CLANG_EXTRAS \
     EISA \
-    ELFTOOLCHAIN_TOOLS \
     FMAKE \
     HESIOD \
     LLDB \

Copied and modified: head/tools/build/options/WITHOUT_ELFTOOLCHAIN_TOOLS (from r276793, head/tools/build/options/WITH_ELFTOOLCHAIN_TOOLS)
==============================================================================
--- head/tools/build/options/WITH_ELFTOOLCHAIN_TOOLS	Wed Jan  7 21:09:25 2015	(r276793, copy source)
+++ head/tools/build/options/WITHOUT_ELFTOOLCHAIN_TOOLS	Wed Jan  7 22:02:37 2015	(r276796)
@@ -6,4 +6,4 @@ Set to use
 .Xr strings 1 ,
 and
 .Xr strip 1
-from the elftoolchain project instead of GNU binutils.
+from GNU binutils instead of the ELF Tool Chain project.


More information about the svn-src-head mailing list