[PATCH V2] gprofng: a new GNU profiler

Peter Kessler (Open Source) peter.kessler@os.amperecomputing.com
Thu Aug 26 04:17:20 GMT 2021


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



More information about the Binutils mailing list