[PATCH] gprofng: Skip jsynprog with a broken javac
Vladimir Mezentsev
vladimir.mezentsev@oracle.com
Thu Mar 17 17:11:05 GMT 2022
Hi HJ,
Please check in your patch.
Thank you,
-Vladimir
On 3/16/22 06:59, H.J. Lu wrote:
> On CET enabled Linux/x86-64 machines, one can get
>
> $ javac simple.java
> Error: dl failure on line 894
> Error: failed /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-6.fc35.x86_64/jre/lib/amd64/server/libjvm.so, because /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-6.fc35.x86_64/jre/lib/amd64/server/libjvm.so: rebuild shared object with SHSTK support enabled
>
> Set GPROFNG_BROKEN_JAVAC to "yes" only with a broken javac and skip the
> jsynprog test with a broken javac.
>
> PR gprofng/28965
> * Makefile.am (GPROFNG_BROKEN_JAVAC): New.
> (check-DEJAGNU): Pass GPROFNG_BROKEN_JAVAC to runtest.
> * configure.ac (GPROFNG_BROKEN_JAVAC): New AC_SUBST. Set to yes
> with a broken javac.
> * Makefile.in: Regenerate.
> * configure: Likewise.
> * testsuite/gprofng.display/display.exp: Skip jsynprog with a
> broken javac.
> ---
> gprofng/Makefile.am | 2 ++
> gprofng/Makefile.in | 2 ++
> gprofng/configure | 27 +++++++++++++++++--
> gprofng/configure.ac | 17 ++++++++++++
> gprofng/testsuite/gprofng.display/display.exp | 8 +++++-
> 5 files changed, 53 insertions(+), 3 deletions(-)
More information about the Binutils
mailing list