[PATCH V4] gprofng: a new GNU profiler
Nick Clifton
nickc@redhat.com
Fri Mar 4 13:53:30 GMT 2022
Hi Vladimir,
> We have pushed these changes here:
> url: https://github.com/oracle/binutils-gdb.git/
> branch: oracle/gprofng-v4-1
OK, so using those sources, I built a set of the binutils binaries
without any special configuration options, ie:
configure -- quiet
and then I built gprofng and the other binutils tools. This worked
OK, but when I tried to run the gprofng testsuite only a few tests
appeared to run:
Running gprofng/testsuite/gprofng.display/display.exp ...
ERROR: compilation of test program in jsynprog failed
=== gprofng Summary ===
# of expected passes 14
# of unresolved testcases 1
Which does not look right. But then I remembered that I needed to
enable shared builds, so I tried:
configure --quiet --enable-shared
and this produced even worse test results:
Running gprofng/testsuite/gprofng.display/display.exp ...
ERROR: compilation of test program in jsynprog failed
ERROR: compilation of test program in mttest failed
ERROR: compilation of test program in mttest failed
ERROR: compilation of test program in mttest failed
ERROR: compilation of test program in mttest failed
ERROR: compilation of test program in mttest failed
ERROR: compilation of test program in mttest failed
ERROR: compilation of test program in mttest failed
ERROR: compilation of test program in synprog failed
ERROR: compilation of test program in synprog failed
ERROR: compilation of test program in synprog failed
ERROR: compilation of test program in synprog failed
ERROR: compilation of test program in synprog failed
ERROR: compilation of test program in synprog failed
ERROR: compilation of test program in synprog failed
=== gprofng Summary ===
# of unresolved testcases 15
The jsynprog and synprog failures is probably expected, since I do not
have the JDK installed, but the mttest compilation fails because I am
not testing an installed version of gprofng:
/dev/shm/delme/gprofng/gprofng/tmpdir/root/usr/local/bin/gprofng: error while loading shared libraries: libgprofng.so.0: cannot open shared object file: No such file or
directory
It would be really nice if I could test a built-but-not-installed
version of the sources....
Cheers
Nick
More information about the Binutils
mailing list