To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73328
                 Issue #|73328
                 Summary|building vanilla with java-gcj-compat
               Component|porting
                 Version|OOo 2.2
                Platform|Sun
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|sparcmoz





------- Additional comments from [EMAIL PROTECTED] Wed Jan 10 02:00:09 -0800 
2007 -------
GNU/Linux SPARC building m199 vanilla upstream on Debian/sid with
java-gcj-compat-dev - build fails in testtools

regcomp -register  -br ../../unxlngs.pro/misc/bridgetest/bootstrap.rdb -r
../../unxlngs.pro/lib/uno_services.rdb -c \
       
file:///home/jim/vanilla/testtools/source/bridgetest/../../unxlngs.pro/class/testComponent.jar
\
       
-env:URE_INTERNAL_JAVA_DIR=file:///home/jim/vanilla/solver/680/unxlngs.pro/bin
using loader com.sun.star.loader.Java2
file:///home/jim/vanilla/testtools/source/bridgetest/../../unxlngs.pro/class/testComponent.jar
[Java framework]sunjavaplugin.soJava runtime library:
file:///usr/lib/../lib/libgcj.so.7 does not export symbol JNI_CreateJavaVM !
register component
'file:///home/jim/vanilla/testtools/source/bridgetest/../../unxlngs.pro/class/testComponent.jar'
in registry '../../unxlngs.pro/lib/uno_services.rdb' failed!
error (CannotRegisterImplementationException): Could not create Java
implementation loader
dmake:  Error code 1, while making '../../unxlngs.pro/lib/uno_services.rdb'
dmake:  '../../unxlngs.pro/lib/uno_services.rdb' removed.
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
home/jim/vanilla/testtools/source/bridgetest
[EMAIL PROTECTED]:~/vanilla/testtools$


Some info:
[EMAIL PROTECTED]:~/vanilla/testtools$ cd ~ && java GetJVMInfo
java.version= 1.4.2
java.vendor=  Free Software Foundation, Inc.
java.home=    /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre
gnu.classpath.home=/usr
gnu.classpath.home.url=file:///usr/lib/../lib
javax.accessibility.assistive_technologies=null
[EMAIL PROTECTED]:~$

[EMAIL PROTECTED]:~/vanilla$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)

[EMAIL PROTECTED]:~/vanilla$ javac -version
Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp 2000, 2006.
All rights reserved.

configured --with-jdk-home=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0

[EMAIL PROTECTED]:/usr$ find -name libjvm.so
...
./lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/lib/sparc/server/libjvm.so
./lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/lib/sparc/client/libjvm.so
./lib/gcj-4.1/libjvm.so

[EMAIL PROTECTED]:/usr$ set | grep gcj
AWTLIB='-ljawt -lgcj'
JAVACOMPILER=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/javac
JAVADOC=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/javadoc
JAVAINTERPRETER=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/java
JAVA_HOME=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0
JDK=gcj
LD_LIBRARY_PATH=.:/home/jim/vanilla/solenv/unxlngs.pro/lib:
/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/lib/sparc::
/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/lib/sparc/client:
/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/lib/sparc/native_threads:
../lib:/home/jim/vanilla/solver/680/unxlngs.pro/lib:
...
SOLARLIB=' -L../lib -L/home/jim/vanilla/solenv/unxlngs/lib
-L/home/jim/vanilla/solver/680/unxlngs.pro/lib
-L/home/jim/vanilla/solenv/unxlngs/lib
-L/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/lib
-L/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/lib/sparc
-L/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/lib/sparc/client
-L/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/lib/sparc/native_threads 
-L/usr/lib'
[EMAIL PROTECTED]:/usr$


Index: jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
===================================================================
RCS file: /cvs/udk/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx,v
retrieving revision 1.13
diff -u -r1.13 gnujre.cxx
--- jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx        22 Nov 2006 11:27:46 
-0000      1.13
+++ jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx        10 Jan 2007 09:22:51 
-0000
@@ -68,6 +68,7 @@
     static char const* ar[]= {
           "/lib/" JFW_PLUGIN_ARCH "/client/libjvm.so",
           "/gcj-4.1.1/libjvm.so",
+          "/gcj-4.1/libjvm.so",
           "/libgcj.so.7",
           "/libgcj.so.6"
     };

The patch fixes it, but is it the right way?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to