svn commit: r364023 - head/usr.bin/grep

Alexander Richardson arichardson at freebsd.org
Fri Aug 7 16:22:49 UTC 2020


On Fri, 7 Aug 2020 at 17:06, Kyle Evans <kevans at freebsd.org> wrote:
>
> On Fri, Aug 7, 2020 at 11:04 AM Alex Richardson <arichardson at 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


More information about the svn-src-head mailing list