bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU M4 1.4.15 uses a buggy replacement strstr...


From: Jeffrey Walton
Subject: Re: GNU M4 1.4.15 uses a buggy replacement strstr...
Date: Sat, 9 Jan 2021 13:31:01 -0500

On Sat, Jan 9, 2021 at 10:28 AM Akim Demaille <akim@lrde.epita.fr> wrote:
>
> Hi Jeffrey,
>
> > Le 9 janv. 2021 à 13:56, Jeffrey Walton <noloader@gmail.com> a écrit :
> >
> > Hi Everyone,
> >
> > I'm trying to update Bison on Solaris 11.3. Configure is failing with:
> >
> > checking for GNU M4 that supports accurate traces... configure: error:
> > no acceptable m4 could be found in $PATH.
> > GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
> > GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
> > Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.
> >
> > Gnulib has strstr. Perhaps you can use it instead of spending time
> > with the old or buggy versions. Also see
> > https://www.gnu.org/software/gnulib/manual/gnulib.html#c_002dstrstr.
>
> Exactly.  So please, install a version of m4 that uses a version
> of gnulib recent enough.  Follow the advice and install the latest
> version of M4.

We don't have a choice in what the platform offers. It is what it is.

If you know you need strstr, unconditionally use the one provided by
Gnulib. That's why Gnulib exists.

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]