You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by fl...@googlemail.com on 2009/08/19 13:37:54 UTC

dev@harmony.apache.org

Hello all,
i try to use a self compiled version of the harmonyvm. The following output  
occurs:

sh-4.0# java -version
Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software  
Foundation or its licensors, as applicable.
Failed to open JVM DLL: /opt/harmony-jre-782693/bin/default/harmonyvm  
(/opt/harmony-jre-782693/bin/default/libharmonyvm.so: undefined symbol:  
__sync_fetch_and_add_4)

I have searched trough the web and i have only found i386<->i486 issues.  
Anyone know what's my fault?

Best regards,

flo

Re: dev@harmony.apache.org

Posted by Mark Hindess <ma...@googlemail.com>.
In message <00...@google.com>,
florian.harmuth@googlemail.com writes:
>
> Hello all,
> i try to use a self compiled version of the harmonyvm. The following output  
> occurs:
> 
> sh-4.0# java -version
> Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software  
> Foundation or its licensors, as applicable.
> Failed to open JVM DLL: /opt/harmony-jre-782693/bin/default/harmonyvm  
> (/opt/harmony-jre-782693/bin/default/libharmonyvm.so: undefined symbol:  
> __sync_fetch_and_add_4)
> 
> I have searched trough the web and i have only found i386<->i486 issues.  
> Anyone know what's my fault?
> 
> Best regards,
> 
> flo

This looks like a glibc compatibility problem.  It looks like you are
using a binary download of the M10 jre and a modified libharmonyvm.so?

I assume the download with the original libharmonyvm.so works?

I'd try a federated build compiled from the source in svn or the M10
source.  Confirm that this works. Then try copying your self-compiled
version of libharmonyvm.so over that.

Regards,
 Mark.