Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Aug 2020 17:22:35 +0100
From:      Alexander Richardson <arichardson@freebsd.org>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>,  svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r364023 - head/usr.bin/grep
Message-ID:  <CA%2BZ_v8oJ-k3Nb9UDAHonGvdvDx3yL5zKG1dUUFyXQLc1UOCaVA@mail.gmail.com>
In-Reply-To: <CACNAnaHvJOBTXrjK-knfmK1VARHwVqQ3G84h0uTE=rmK6ftTMg@mail.gmail.com>
References:  <202008071604.077G41dj025962@repo.freebsd.org> <CACNAnaHvJOBTXrjK-knfmK1VARHwVqQ3G84h0uTE=rmK6ftTMg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Fri, 7 Aug 2020 at 17:06, Kyle Evans <kevans@freebsd.org> wrote:
>
> On Fri, Aug 7, 2020 at 11:04 AM Alex Richardson <arichardson@freebsd.org> wrote:
> >
> > Author: arichardson
> > Date: Fri Aug  7 16:04:01 2020
> > New Revision: 364023
> > URL: https://svnweb.freebsd.org/changeset/base/364023
> >
> > Log:
> >   Always install usr.bin/grep as grep when bootstrapping
> >
> >   We have to bootstrap grep when cross-building from macOS/Linux.
> >
>
> What's going on here that it isn't bootstrapping gnugrep over in
> gnu/usr.bin/grep as grep? My gut instinct is that we're missing
> something else and this isn't quite the right place to have addressed
> this.
>

The logic in Makefile.inc1 builds usr.bin/grep as the bootstrap grep
when BOOTSTRAP_ALL_TOOLS is set (e.g. when building on macOS/Linux).
If you think this should be gnu/usr.bin/grep instead I can revert this
change and update Makefile.inc1.
We have been using usr.bin/grep for bootstrap in CheriBSD for a long
time now and it works fine so I'm not sure whether we need to use GNU
grep for bootstrapping?

Alex


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BZ_v8oJ-k3Nb9UDAHonGvdvDx3yL5zKG1dUUFyXQLc1UOCaVA>