Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jan 2020 15:24:58 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Ed Maste <emaste@freebsd.org>, Yasuhiro KIMURA <yasu@utahime.org>
Cc:        Warner Losh <imp@bsdimp.com>, svn-src-head <svn-src-head@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r356379 - head/share/mk
Message-ID:  <e60d39a0e9c5a9d3842912af443cf1c6238fade1.camel@freebsd.org>
In-Reply-To: <CAPyFy2BG4ctkn2AWhvFyAeB1R6aZo=HXcRASOUT4dzsHiust0w@mail.gmail.com>
References:  <202001051659.005GxOOa013759@repo.freebsd.org> <CAPyFy2CvVQ8e8rRvHsB76qNz2_eL8c1EMpKP0z2vCbfWPn10hg@mail.gmail.com> <CANCZdfqVFoY%2ByaTK4OXPPLfeYH8Xz%2B-mqQ0nhQrROn_g74pNMQ@mail.gmail.com> <20200106.025257.202876441661893679.yasu@utahime.org> <CAPyFy2BG4ctkn2AWhvFyAeB1R6aZo=HXcRASOUT4dzsHiust0w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2020-01-05 at 13:17 -0500, Ed Maste wrote:
> On Sun, 5 Jan 2020 at 12:53, Yasuhiro KIMURA <yasu@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e60d39a0e9c5a9d3842912af443cf1c6238fade1.camel>