[
https://issues.apache.org/jira/browse/SVN-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Sahlberg closed SVN-4852.
--------------------------------
Fix Version/s: 1.14.1
Resolution: Fixed
> libsvnjavahl-1.so.0.0.0 can't be loaded by java with GCC 10
> -----------------------------------------------------------
>
> Key: SVN-4852
> URL: https://issues.apache.org/jira/browse/SVN-4852
> Project: Subversion
> Issue Type: Bug
> Environment: I'm building subversion package with GCC 10 and I see
> the following error:
>
> {code:java}
> [ 6562s] /usr/lib64/jvm/java/bin/java -Xcheck:jni
> "-Dtest.rootdir=/home/abuild/rpmbuild/BUILD/subversion-1.13.0/subversion/bindings/javahl/test-work"
>
> "-Dtest.srcdir=/home/abuild/rpmbuild/BUILD/subversion-1.13.0/subversion/bindings/javahl"
> "-Dtest.rooturl=" "-Dtest.fstype="
> "-Djava.library.path=subversion/bindings/javahl/native/.libs:/usr/lib64"
> -classpath
> "subversion/bindings/javahl/classes:/home/abuild/rpmbuild/BUILD/subversion-1.13.0/subversion/bindings/javahl/src:/usr/share/java/junit.jar"
> "-Dtest.cleanup=" "-Dtest.tests=" org.apache.subversion.javahl.RunTests [
> 6575s] ...................................# [ 6575s] # A fatal error has been
> detected by the Java Runtime Environment: [ 6575s] # [ 6575s] # SIGSEGV (0xb)
> at pc=0x00007fbd31db7a58, pid=20246, tid=20247 [ 6575s] # [ 6575s] # JRE
> version: OpenJDK Runtime Environment (11.0.6+10) (build
> 11.0.6+10-suse-145.1-x8664) [ 6575s] # Java VM: OpenJDK 64-Bit Server VM
> (11.0.6+10-suse-145.1-x8664, mixed mode, tiered, compressed oops, g1 gc,
> linux-amd64) [ 6575s] # Problematic frame: [ 6575s] # C
> [libsvnjavahl-1.so.0.0.0+0x57a58] SVNClient::copy(CopySources&, char const*,
> CommitMessage*, bool, bool, bool, bool, bool, _jobject*, PropertyTable&,
> CommitCallback*)+0x348{code}
> I suspect an ABI change.
> Reporter: Martin Liška
> Priority: Major
> Fix For: 1.14.1
>
> Attachments: hs_err_pid16816.log
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)