[kaffe] Re: arm emulated by GXemul [1] (success with intrp)

Kiyo Inaba inaba at src.ricoh.co.jp
Sat Apr 14 00:02:59 PDT 2007


I wrote:
>But, when I do 'gmake check-TESTS TESTS=HelloWorldApp.java', it fails.
>The 'HelloWorldApp.fail' file says,

Ok then, I have to use pthreads rather than jthreads...

With configuration
	--with-glibj-zip=/root/mnt/glibj.zip \
	--with-engine=intrp \
	--enable-pure-java-math \
	--with-threads=unix-pthreads \
	--with-gc=kaffe-gc \
	--disable-boehm-gc-configuration \
	--disable-sound \
	--without-x \
	--disable-native-awt \
	--disable-gtk-peer \
	--disable-gconf-peer \
	--disable-plugin
I got
================================
6 of 150 tests failed
Please report to kaffe at kaffe.org
================================
(detailed log at the end)

Not so bad, isn't it? (I did not add any extra md.h staffs needed for
signal hadler structures, etc. yet)

The (virtual) machine spec is
----------------------------------------------------------------------
GXemul 0.4.4.1    Copyright (C) 2003-2007  Anders Gavare
Read the source code and/or documentation for other Copyright messages.

Simple setup...
    net: simulating 10.0.0.0/8 (max outgoing: TCP=100, UDP=100)
        simulated gateway: 10.0.0.254 (60:50:40:30:20:10)
            using nameserver 133.139.210.3
    machine "default":
        memory: 64 MB
        cpu0: SA110 (I+D = 16+16 KB)
        machine: CATS evaluation board (50.00 MHz)
        diskimage: nbsd_cats.img
            IDE DISK id 0, read/write, 781 MB (1600704 sectors)
        diskimage: ../SRC2.iso
            IDE CD-ROM id 2, read-only, 194 MB (399240 sectors)
        gunziping netbsd.aout-GENERIC.gz
        loading /tmp/gxemul.XXXXXXoFmSd5
        removing /tmp/gxemul.XXXXXXoFmSd5
        starting cpu0 at 0xf0000020
----------------------------------------------------------------------
the os spec is
----------------------------------------------------------------------
NetBSD  3.1 NetBSD 3.1 (GENERIC) #0: Mon Oct 30 22:59:30 UTC 2006  builds at b3.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/cats/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/cats/compile/GENERIC cats
----------------------------------------------------------------------
gcc version is
     gcc version 3.3.3 (NetBSD nb3 20040520)
and, jikes version is
     Jikes Compiler - Version 1.20 - 18 April 2004

Kiyo

----------------------------------------------------------------------
PASS: HelloWorldApp.class.save
PASS: HelloWorldApp.java
PASS: MultiArray.java
PASS: RefTest.java
PASS: TestIntLong.java
PASS: TestFloatDouble.java
PASS: DoubleCvt.java
PASS: DoubleNeg.java
PASS: DoubleConst.java
PASS: DoublePrint.java
PASS: DoubleComp.java
PASS: ModuloTest.java
PASS: LongNeg.java
PASS: FPUStack.java
PASS: NegativeDivideConst.java
PASS: divtest.java
PASS: DoubleIEEE.java
PASS: Str.java
PASS: Str2.java
PASS: InternHog.java
PASS: IndexTest.java
PASS: StackDump.java
PASS: CatchLimits.class.save
PASS: tname.java
PASS: ttest.java
PASS: ThreadInterrupt.java
PASS: ThreadState.java
PASS: UncaughtException.java
PASS: IllegalWait.java
PASS: WaitTest.java
PASS: Preempt.java
PASS: TestSerializable.java
PASS: TestSerializable2.java
PASS: SerializationCompatibility.java
PASS: SerialPersistentFields.java
FAIL: TestSerialVersions.java
FAIL: TestSerialPersistent.java
PASS: TestSerialFields.java
PASS: TestObjectStreamField.java
PASS: ReflectInterfaces.java
PASS: InnerTest.java
PASS: SerialUID.java
PASS: TestCasts.java
PASS: Alias.java
PASS: NullPointerTest.java
PASS: NullInvoke.java
PASS: TableSwitch.java
PASS: LostFrame.java
PASS: ConstructorTest.java
PASS: burford.java
PASS: IllegalInterface.java
PASS: GetInterfaces.java
PASS: IntfTest.java
PASS: SignedShort.java
PASS: CharCvt.java
PASS: BadFloatTest.java
PASS: ProcessTest.java
PASS: UDPTest.java
PASS: SoTimeout.java
PASS: wc.java
PASS: FileTest.java
PASS: FileChecks.java
PASS: finalexc.java
PASS: finaltest.java
PASS: finaltest2.java
PASS: forNameTest.java
PASS: LoaderTest.java
PASS: ArrayForName.java
PASS: KaffeVerifyBug.java
PASS: Schtum.java
PASS: Reflect.java
PASS: MethodBug.java
PASS: Bean.java
PASS: SortTest.java
PASS: ArraysTest.java
PASS: SubListTest.java
PASS: HashTest.java
PASS: SecureRandomTest.java
PASS: MapTest.java
PASS: URLTest.java
PASS: PropertiesTest.java
PASS: ReaderTest.java
PASS: CharArrayReaderTest.java
PASS: LineNumberReaderTest.java
PASS: BufferedReaderTest.java
PASS: ReaderReadVoidTest.java
PASS: InputStreamTest.java
PASS: BufferedInputStreamAvailableTest.java
PASS: PipeTest.java
PASS: DateFormatTest.java
PASS: GetField.java
PASS: LostTrampolineFrame.java
PASS: NetworkInterfaceTest.java
PASS: InetAddressTest.java
PASS: InetSocketAddressTest.java
PASS: ShutdownHookTest.java
PASS: TestMessageFormat.java
PASS: ReflectInvoke.java
PASS: InvTarExcTest.java
PASS: DeleteFile.java
PASS: PrimordialLoaderTest.java
PASS: SystemLoaderTest.java
PASS: NoClassDefTest.java
PASS: CLTest.java
PASS: CLTestConc.java
PASS: CLTestJLock.java
PASS: CLTestLie.java
PASS: CLTestFindLoaded.java
PASS: ClassDeadLock.java
PASS: ExceptionTest.java
PASS: ExceptionTestClassLoader.java
PASS: ExceptionTestClassLoader2.java
PASS: TestClassRef.java
PASS: ClassGC.java
PASS: GCTest.java
PASS: ThreadLocalTest.java
PASS: BeanBug.java
PASS: BitSetTest.java
PASS: ExceptionInInitializerTest.java
PASS: InitTest.java
PASS: CLInitThrow.java
PASS: ProcessClassTest.java
PASS: ProcessClassInst.java
PASS: ProcessClassStop.java
PASS: FindSystemClass.java
PASS: ProcessClassLockTest.java
PASS: DoubleBug.java
PASS: TestUnlock.java
PASS: MarkResetTest.java
PASS: HashtableTest1.java
PASS: ReflectMultiArray.java
PASS: ExecTest.java
PASS: BadClassVersion.java
error compiling:
../../../../mnt/kaffe-snap-070215/test/regression/InterfaceSuperClass.java:3:13:3:28: Semantic Error: Type "ClassToInterface" was not found.
FAIL: InterfaceSuperClass.java
error compiling:
../../../../mnt/kaffe-snap-070215/test/regression/ImplementClass.java:3:16:3:31: Semantic Error: Type "InterfaceToClass" was not found.
FAIL: ImplementClass.java
error compiling:
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:2:8:2:8: Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes could not find package "a" in: 
                ../../libraries/javalib/vmspecific/kaffe-vminterface.jar
                ../../libraries/javalib/external/classpath/lib/glibj.zip
                .
                ../../../../mnt/kaffe-snap-070215/test/regression
                compile_time
                .
                .

../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:10:9:10:20: Semantic Error: Type "InstToStatic" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:12:20:12:31: Semantic Error: A candidate for type "InstToStatic" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:18:9:18:20: Semantic Error: A candidate for type "InstToStatic" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:21:20:21:31: Semantic Error: A candidate for type "InstToStatic" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:27:9:27:20: Semantic Error: Type "StaticToInst" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:29:20:29:31: Semantic Error: A candidate for type "StaticToInst" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:35:9:35:20: Semantic Error: A candidate for type "StaticToInst" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:38:20:38:31: Semantic Error: A candidate for type "StaticToInst" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:44:9:44:23: Semantic Error: Type "PublicToPrivate" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:46:20:46:34: Semantic Error: A candidate for type "PublicToPrivate" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:52:9:52:23: Semantic Error: A candidate for type "PublicToPrivate" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:55:20:55:34: Semantic Error: A candidate for type "PublicToPrivate" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:71:9:71:23: Semantic Error: Type "PublicToPackage" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:73:20:73:34: Semantic Error: A candidate for type "PublicToPackage" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:79:9:79:23: Semantic Error: A candidate for type "PublicToPackage" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:82:20:82:34: Semantic Error: A candidate for type "PublicToPackage" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:98:9:98:25: Semantic Error: Type "PublicToProtected" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:100:20:100:36: Semantic Error: A candidate for type "PublicToProtected" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:106:9:106:25: Semantic Error: A candidate for type "PublicToProtected" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:109:20:109:36: Semantic Error: A candidate for type "PublicToProtected" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:125:13:125:30: Semantic Error: Type "ProtectedToPrivate" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:135:13:135:30: Semantic Error: A candidate for type "ProtectedToPrivate" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:145:13:145:30: Semantic Error: A candidate for type "ProtectedToPrivate" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:148:21:148:21: Semantic Error: No accessible field named "b" was found in type "FieldErrors$3".
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:155:13:155:30: Semantic Error: A candidate for type "ProtectedToPrivate" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:158:28:158:28: Semantic Error: No accessible field named "b" was found in type "FieldErrors$4".
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:165:9:165:26: Semantic Error: Type "DefinedToUndefined" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:167:20:167:37: Semantic Error: A candidate for type "DefinedToUndefined" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:173:9:173:26: Semantic Error: A candidate for type "DefinedToUndefined" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:175:20:175:37: Semantic Error: A candidate for type "DefinedToUndefined" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:191:9:191:18: Semantic Error: Type "IntToFloat" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:193:20:193:29: Semantic Error: A candidate for type "IntToFloat" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:199:9:199:18: Semantic Error: A candidate for type "IntToFloat" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/FieldErrors.java:201:20:201:29: Semantic Error: A candidate for type "IntToFloat" was found, but it is invalid and needs to be fixed before this type will successfully compile.
FAIL: FieldErrors.java
error compiling:
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:2:8:2:8: Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes could not find package "a" in: 
                ../../libraries/javalib/vmspecific/kaffe-vminterface.jar
                ../../libraries/javalib/external/classpath/lib/glibj.zip
                .
                ../../../../mnt/kaffe-snap-070215/test/regression
                compile_time
                .
                .

../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:10:13:10:29: Semantic Error: Type "DefinedToAbstract" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:16:9:16:20: Semantic Error: Type "InstToStatic" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:18:20:18:31: Semantic Error: A candidate for type "InstToStatic" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:24:9:24:20: Semantic Error: No accessible field named "StaticToInst" was found in type "MethodErrors".
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:29:9:29:23: Semantic Error: Type "PublicToPrivate" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:31:20:31:34: Semantic Error: A candidate for type "PublicToPrivate" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:42:9:42:23: Semantic Error: Type "PublicToPackage" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:44:20:44:34: Semantic Error: A candidate for type "PublicToPackage" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:55:9:55:25: Semantic Error: Type "PublicToProtected" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:57:20:57:36: Semantic Error: A candidate for type "PublicToProtected" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:68:13:68:30: Semantic Error: Type "ProtectedToPrivate" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:78:13:78:30: Semantic Error: A candidate for type "ProtectedToPrivate" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:81:21:81:35: Semantic Error: No accessible method with signature "static_method()" was found in type "MethodErrors$3".
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:88:9:88:26: Semantic Error: Type "DefinedToUndefined" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:90:20:90:37: Semantic Error: A candidate for type "DefinedToUndefined" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:101:9:101:18: Semantic Error: Type "IntToFloat" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:103:20:103:29: Semantic Error: A candidate for type "IntToFloat" was found, but it is invalid and needs to be fixed before this type will successfully compile.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:114:9:114:24: Semantic Error: Type "ClassToInterface" was not found.
../../../../mnt/kaffe-snap-070215/test/regression/MethodErrors.java:116:19:116:34: Semantic Error: A candidate for type "ClassToInterface" was found, but it is invalid and needs to be fixed before this type will successfully compile.
FAIL: MethodErrors.java
PASS: ProhibitedClass.java
PASS: KaffeInternal.java
PASS: SecurityMan.java
PASS: SecurityMan2.java
PASS: CatchDeath.java
PASS: DeadThread.java
PASS: tthrd1.java
PASS: DosTimeVerify.java
PASS: ZipVerify.java
PASS: ZipTest.java
PASS: TruncatedClass.java
PASS: TestNative.java
PASS: TestGnuCrypto.java
================================
6 of 150 tests failed
Please report to kaffe at kaffe.org
================================
*** Error code 1

Stop.
make: stopped in /root/src/kaffe-snap-070215/test/regression






More information about the kaffe mailing list