svn commit: r356379 - head/share/mk

Ian Lepore ian at freebsd.org
Sun Jan 5 22:25:04 UTC 2020


On Sun, 2020-01-05 at 13:17 -0500, Ed Maste wrote:
> On Sun, 5 Jan 2020 at 12:53, Yasuhiro KIMURA <yasu at utahime.org>
> wrote:
> > 
> > Just out of curiosity, is there any retirement plan for binutils in
> > base system at the moment?
> 
> There's no specific plan, but it is an ongoing goal. Only three
> binutils tools are used (for bootstrapping and in the installed
> system): as, ld, and objdump.
> 
> BINUTILS_BOOTSTRAP is enabled on x86, 32-bit arm, and powerpc. At
> least both x86 archs still use GNU as for a few files; there's work
> in
> progress to migrate to Clang's IAS for all assembly files. I am not
> sure if bootstrap as actually gets used on arm or powerpc. objdump is
> also built, but not used on any arch. ld is built on powerpc and
> still
> being used there; it's not built on x86 or 32-bit arm.
> 

I just set WITHOUT_BINUTILS_BOOTSTRAP in src.conf and did an arm32
crossbuild from amd64 after an rm -rf in $objdir, and both kernel and
world built successfully.

-- Ian

> Making further progress depends on lld maturing (for powerpc) and
> addressing the assembler issue. There's no commitment to removing
> binutils for 13.0 but there is a reasonable probability we'll be able
> to do so.



More information about the svn-src-all mailing list