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

Erik Cederstrand erik+lists at cederstrand.dk
Thu Jan 8 12:55:22 UTC 2015


Thanks, Ed. That's really cool!

Does anyone know what the status of replacing ld is?

Erik

> Den 07/01/2015 kl. 23.02 skrev Ed Maste <emaste at FreeBSD.org>:
> 
> 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.
> _______________________________________________
> svn-src-head at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe at freebsd.org"



More information about the svn-src-head mailing list