This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] boehm-gc for linux-m68k


On Wed, Sep 26, 2001 at 09:01:54PM +0200, Matthias Klose wrote:
> Tom Tromey writes:
>  > >>>>> "Richard" == Richard Zidlicky <Richard.Zidlicky@stud.informatik.uni-erlangen.de> writes:
>  > 
>  > Richard> Hello, bellow are 2 patches to fix boehm-gc for linux-m68k in
>  > Richard> the 3.0.x branch.  The equivalent patch is already in the 3.1
>  > Richard> branch.
>  > 
>  > This is fine, but doesn't it only make a difference if libjava is
>  > ported to linux-m68k?
> 
> it is "ported". Attached are the testsuite results. The compiler used
> is the Debian 3.0.2 snapshot (010922) plus some m68k patches Roman
> Zippel sent for inclusion.

yup, it generally works quite well. I do have a problem with the
gij interpreter though, is it just me completely misunderstanding
gij usage or something else?

The native code generated from the same same test.java works fine,
the .class not:

[root@sirizidl java]# gij test.class 
Exception in thread "main" java.lang.ClassNotFoundException: test.class
   at 0xc02005fe: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/libgcj.so.2)
   at 0xc01f5d14: java.lang.Exception.Exception(java.lang.String) (/usr/lib/libgcj.so.2)
   at 0xc01f53be: java.lang.ClassNotFoundException.ClassNotFoundException(java.lang.String) (/usr/lib/libgcj.so.2)
   at 0xc026fc18: java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.2)
   at 0xc01e4712: gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.2)
   at 0xc01f48dc: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.2)
   at 0xc01e4d48: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.2)
   at 0xc01e2120: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.2)
   at 0xc01e21c8: java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.2)
   at 0xc01e07b6: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.2)
   at 0xc01ea718: java.lang.Thread.run_(java.lang.Object) (/usr/lib/libgcj.so.2)
   at 0xc017fbf4: _Jv_ThreadStart(java.lang.Thread, int, void ()(java.lang.Thread)) (/usr/lib/libgcj.so.2)
   at 0xc01ea866: java.lang.Thread.start() (/usr/lib/libgcj.so.2)
   at 0xc01d24ae: _Jv_RunMain(byte const, int, byte const, boolean) (/usr/lib/libgcj.so.2)
   at 0x80000ba0: main (/sources/rz-rpm/BUILD/build-gcc/m68k-rz-linux/libjava/../../../gcc-3.0/libjava/gij.cc:140)
   at 0xc03be084: __libc_start_main (/lib/libc.so.6)
   at 0x8000081a: _start (??:0)


Bye
Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]