gnu-crypto-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU Crypto] GCJ + java


From: Raif S. Naffah
Subject: [GNU Crypto] GCJ + java
Date: Sat, 26 Oct 2002 10:27:59 +1000
User-agent: KMail/1.4.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

ant allows compilation with GCJ.  if you create an .ant.properties file 
in your home directory and have the following line in that file:

build.compiler=gcj

(btw, you can replace the above with

build.compiler=jikes

to use jikes as the default bytecode compiler)

and then run:

$ ant distclean
$ ant test

you will be telling ant to use gcj as the bytecode compiler and java as 
the interpreter.

i used the above with:

* gcj (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
* java version "1.3.1_05"

and i get:

test:
    [junit] Exception in thread "main" java.lang.VerifyError: (class: 
gnu/crypto/cipher/Serpent$Key, method: <init> signature: 
(Lgnu/crypto/cipher/Serpent;Lgnu/crypto/cipher/Serpent$Key;)V) 
Expecting to find object/array on stack
    [junit]     at gnu.crypto.cipher.Serpent.makeKey(Serpent.java:142)
    [junit]     at 
gnu.crypto.cipher.BaseCipher.testSymmetry(BaseCipher.java:215)
    [junit]     at 
gnu.crypto.cipher.BaseCipher.selfTest(BaseCipher.java:190)
    [junit]     at gnu.crypto.cipher.Serpent.selfTest(Serpent.java:390)
    [junit]     at 
gnu.crypto.cipher.CipherFactory.getInstance(CipherFactory.java:96)
    [junit]     at 
test.cipher.TestOfNistVectors.<init>(TestOfNistVectors.java:140)
    [junit]     at test.cipher.AllTests.suite(AllTests.java:81)
    [junit]     at test.AllTests.suite(AllTests.java:66)
    [junit]     at test.AllTests.main(AllTests.java:60)

does anybody else get the same result?
does anybody know if it's a known issue?


cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique

iD8DBQE9ueGP+e1AKnsTRiERA++OAKDHOIavkJTYNI4lAG08u+m7gDLCawCg7rXg
ib8z2MKBi4DRVP6UIULH730=
=X3zE
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]