[PATCH V2] gprofng: a new GNU profiler
NightStrike
nightstrike@gmail.com
Fri Aug 27 00:03:52 GMT 2021
On Wed, Aug 25, 2021, 18:18 Peter Kessler (Open Source) via Binutils <
binutils@sourceware.org> wrote:
> I am trying to build gprofng on aarch64. I cloned
> https://github.com/oracle/binutils-gdb.git and checked out the
> oracle/gprofng-v2 branch. I saw the requirement
>
> In order to successfully build gprofng, the following versions of
> external components are required:
>
> - Bison 3.7.5, or higher
>
> so I got a copy of https://ftp.gnu.org/gnu/bison/bison-3.7.5.tar.xz,
> configured, and built it. I now have
>
> $ bison --version
> bison (GNU Bison) 3.7.5
>
> When I make gprofng, I get the strange error message
>
> $ make
> <snip>
> checking for bison... bison
> checking for bison 3.3 or newer... 3.7.5, bad
> configure: error: Building gprofng requires bison 3.3 or later.
> make[1]: *** [Makefile:6664: configure-gprofng] Error 1
>
> I would have thought that version 3.7.5 was "newer" than version 3.3. I
> would have thought that having the exact version required would ok.
>
> What am I doing wrong?
>
> … Peter
>
It's probably easier to just build bison automatically by putting it in the
top level source.
>
More information about the Binutils
mailing list