[kaffe] (Partial) success with RC1 under Linux/PPC

Jim Pick jim at kaffe.org
Sun Jun 2 09:33:16 PDT 2002


Cool.  I don't have Linux on my iBook yet, so I couldn't test it.  :-)

I'll look at the AWT errors (I haven't done any AWT testing).

I want to put your test results into the RELEASE-NOTES file - which
engine did you compile with?  (I'm guessing intrp)

Cheers,

 - Jim

On Sun, 2002-06-02 at 03:48, Carlos Valiente wrote:
> Hi,
> 
> RC1 compiles OK under Linux/PPC (tested with YellowDog Linux 2.2). All
> regression tests pass successfully on my system:
> 
> [carlos at rilke carlos]$ uname -a
> Linux rilke.hnb.local 2.4.18-0.9a #1 Sun Apr 7 21:37:27 EDT 2002 ppc
> unknown
> 
> [carlos at rilke carlos]$ gcc -v
> Reading specs from /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.4/specs
> gcc version 2.95.4 20010319 (prerelease/franzo/20011204)
> 
> [carlos at rilke carlos]$ /lib/libc.so.6
> GNU C Library stable release version 2.2.5, by Roland McGrath et al.
> Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Compiled by GNU CC version 2.95.4 20010319 (prerelease/franzo/20011204).
> Compiled on a Linux 2.4.18-0.8a system on 2002-03-09.
> Available extensions:
>         GNU libio by Per Bothner
>         crypt add-on version 2.1 by Michael Glad and others
>         linuxthreads-0.9 by Xavier Leroy
>         BIND-8.2.3-T5B
>         libthread_db work sponsored by Alpha Processor Inc
>         NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
>         software FPU emulation by Richard Henderson, Jakub Jelinek and
> others
> Report bugs using the `glibcbug' script to <bugs at gnu.org>.
> 
> 
> ** However ** , I'm not able to run any of the sample AWT applications
> under test/awt:
> 
> ----
> 
> [carlos at rilke Calc]$ /data/home/carlos/java/ppc-intrp/bin/java Calc
> java.lang.NullPointerException
>         at java.awt.Toolkit.graInitGraphics(Toolkit.java:native)
>         at java.awt.NativeGraphics.getGraphics(NativeGraphics.java:554)
>         at
> java.awt.NativeGraphics.getClippedGraphics(NativeGraphics.java:444)
>         at java.awt.TextField.setResGraphics(TextField.java:636)
>         at java.awt.TextField.addNotify(TextField.java:79)
>         at java.awt.Container.addNotify(Container.java:149)
>         at java.awt.Container.addNotify(Container.java:149)
>         at java.awt.Container.addNotify(Container.java:149)
>         at java.awt.Window.addNotify(Window.java:67)
>         at java.awt.Window.pack(Window.java:195)
>         at Calc.<init>(Calc.java:104)
>         at Calc.main(Calc.java:301)
> ----
> 
> [carlos at rilke TextEdit]$ /data/home/carlos/java/ppc-intrp/bin/java -jar
> TextEdit.jar
> java.lang.NullPointerException
>         at java.awt.Toolkit.graInitGraphics(Toolkit.java:native)
>         at java.awt.NativeGraphics.getGraphics(NativeGraphics.java:554)
>         at
> java.awt.NativeGraphics.getClippedGraphics(NativeGraphics.java:444)
>         at java.awt.Component.getGraphics(Component.java:456)
>         at java.awt.Scrollbar.update(Scrollbar.java:508)
> java.lang.NullPointerException
>         at java.awt.Toolkit.graInitGraphics(Toolkit.java:native)
>         at java.awt.NativeGraphics.getGraphics(NativeGraphics.java:554)
>         at
> java.awt.NativeGraphics.getClippedGraphics(NativeGraphics.java:444)
>         at java.awt.Component.getGraphics(Component.java:456)
>         at java.awt.Scrollbar.update(Scrollbar.java:508)
>         at java.awt.Scrollbar.setValues(Scrollbar.java:475)
>         at java.awt.Scrollbar.setValues(Scrollbar.java:449)
>         at TextCanvas.redoControls(TextCanvas.java:line unknown, pc
> 0xa4)
>         at TextCanvas.componentResized(TextCanvas.java:line unknown, pc
> 0x10)
>         at java.awt.Component.processComponentEvent(Component.java:1038)
>         at java.awt.Component.processEvent(Component.java:1105)
>         at java.awt.Component.process(Component.java:982)
>         at java.awt.ComponentEvt.dispatch(ComponentEvt.java:65)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:35)
>         at java.awt.Scrollbar.setValues(Scrollbar.java:475)
>         at java.awt.Scrollbar.setValues(Scrollbar.java:449)
>         at TextCanvas.redoControls(TextCanvas.java:line unknown, pc
> 0x5e)
>         at TextCanvas.validate(TextCanvas.java:line unknown, pc 0x27)
>         at java.awt.Container.validateTree(Container.java:734)
>         at java.awt.Container.validate(Container.java:724)
>         at java.awt.Window.show(Window.java:360)
>         at java.awt.Component.show(Component.java:1672)
>         at java.awt.Component.setVisible(Component.java:1632)
>         at TextEdit.main(TextEdit.java:line unknown, pc 0x14)
>         at java.lang.reflect.Method.invoke0(Method.java:native)
>         at java.lang.reflect.Method.invoke(Method.java:256)
>         at kaffe.jar.ExecJarName.main(ExecJarName.java:66)
>         at kaffe.jar.ExecJar.main(ExecJar.java:71)
> 
> ----
> 
> [carlos at rilke WidgetsDemo]$ /data/home/carlos/java/ppc-intrp/bin/java
> WidgetsDemo
> java.lang.NullPointerException
>         at java.awt.Toolkit.graInitGraphics(Toolkit.java:native)
>         at java.awt.NativeGraphics.getGraphics(NativeGraphics.java:554)
>         at
> java.awt.NativeGraphics.getClippedGraphics(NativeGraphics.java:444)
>         at java.awt.RowCanvas.setResGraphics(RowCanvas.java:315)
>         at java.awt.RowCanvas.addNotify(RowCanvas.java:39)
>         at java.awt.Container.addNotify(Container.java:149)
>         at java.awt.Container.addNotify(Container.java:149)
>         at java.awt.Window.addNotify(Window.java:67)
>         at java.awt.Window.show(Window.java:355)
>         at java.awt.Component.show(Component.java:1672)
>         at java.awt.Component.setVisible(Component.java:1632)
>         at WidgetsDemo.open(WidgetsDemo.java:374)
>         at WidgetsDemo.<init>(WidgetsDemo.java:86)
>         at WidgetsDemo.main(WidgetsDemo.java:318)
> 
> 
> 
> 
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe






More information about the kaffe mailing list