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

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Hi Jeffrey,

> Le 9 janv. 2021 à 13:56, Jeffrey Walton <[email protected]> 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.

Cheers!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.