[PATCH V4] gprofng: a new GNU profiler
Vladimir Mezentsev
vladimir.mezentsev@oracle.com
Mon Mar 7 21:42:00 GMT 2022
Hi Nick,
On 3/4/22 05:53, Nick Clifton wrote:
> 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
It is expected. JDK is not installed.
>
> 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....
Done.
Please review:
url: https://github.com/oracle/binutils-gdb.git/
branch: oracle/gprofng-v4-2
Thank you,
-Vladimir
>
> Cheers
> Nick
>
More information about the Binutils
mailing list