public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/30454]  New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
@ 2007-01-13  0:10 danglin at gcc dot gnu dot org
  2007-01-14  3:44 ` [Bug libgcj/30454] [4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-01-13  0:10 UTC (permalink / raw)
  To: java-prs

/test/gnu/gcc/objdir/gcc/gcj
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjav
a/ -B/test/gnu/gcc/objdir/gcc/ -fclasspath=
-fbootclasspath=../../../gcc/libjava
/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c
-f
source-filename=/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava/classpath/lib
/classes -MT gnu/javax/crypto/jce.lo -MD -MP -MF gnu/javax/crypto/jce.deps
@gnu/
javax/crypto/jce.list -fPIC -o gnu/javax/crypto/.libs/jce.o
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java: In
cla
ss 'gnu.javax.crypto.jce.GnuCrypto$1':
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java: In
met
hod 'gnu.javax.crypto.jce.GnuCrypto$1.run()':
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:431:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:431:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:433:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.HMacTigerSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:433:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.HMacTigerSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:435:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.HMacHavalSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:435:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.HMacHavalSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:437:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.HMacWhirlpoolSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:437:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.HMacWhirlpoolSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:438:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.TMMH16Spi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:438:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.TMMH16Spi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:439:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.UHash32Spi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:439:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.UHash32Spi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:440:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.UMac32Spi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:440:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.UMac32Spi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:443:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacAnubisImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:443:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacAnubisImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:445:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacBlowfishImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:445:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacBlowfishImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:447:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacCast5Impl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:447:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacCast5Impl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:449:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacDESImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:449:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacDESImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:451:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacKhazadImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:451:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacKhazadImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:453:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacRijndaelImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:453:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacRijndaelImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:455:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacSerpentImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:455:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacSerpentImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:457:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacSquareImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:457:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacSquareImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:459:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacTripleDESImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:459:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacTripleDESImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:461:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacTwofishImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:461:
er
ror: cannot find file for class gnu.javax.crypto.jce.mac.OMacTwofishImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:518:
er
ror: cannot find file for class gnu.javax.crypto.RSACipherImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:518:
er
ror: cannot find file for class gnu.javax.crypto.RSACipherImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:523:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.ARCFourRandomSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:523:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.ARCFourRandomSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:526:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.CSPRNGSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:526:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.CSPRNGSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:529:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.ICMRandomSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:529:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.ICMRandomSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:532:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.UMacRandomSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:532:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.UMacRandomSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:535:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.FortunaImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:535:
er
ror: cannot find file for class gnu.javax.crypto.jce.prng.FortunaImpl
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:540:
er
ror: cannot find file for class gnu.javax.crypto.jce.keyring.GnuKeyring
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:540:
er
ror: cannot find file for class gnu.javax.crypto.jce.keyring.GnuKeyring
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:545:
er
ror: cannot find file for class gnu.javax.crypto.jce.sig.DHKeyPairGeneratorSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:545:
er
ror: cannot find file for class gnu.javax.crypto.jce.sig.DHKeyPairGeneratorSpi
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:553:
er
ror: cannot find file for class gnu.javax.crypto.jce.sig.DHKeyFactory
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:553:
er
ror: cannot find file for class gnu.javax.crypto.jce.sig.DHKeyFactory
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:559:
er
ror: cannot find file for class gnu.javax.crypto.jce.sig.DHParameters
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:559:
er
ror: cannot find file for class gnu.javax.crypto.jce.sig.DHParameters
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:565:
er
ror: cannot find file for class gnu.javax.crypto.jce.sig.DHParametersGenerator
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:565:
er
ror: cannot find file for class gnu.javax.crypto.jce.sig.DHParametersGenerator
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java: In
cla
ss 'gnu.javax.crypto.jce.GnuCrypto':
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java: In
con
structor '()':
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:64:
err
or: cannot find file for class java.security.AccessController
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:64:
err
or: class 'java.security.AccessController' has no method named 'doPrivileged'
ma
tching signature '(Ljava/security/PrivilegedAction;)Ljava/lang/Object;'
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java: In
met
hod 'gnu.javax.crypto.jce.GnuCrypto.getCipherNames()':
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:582:
er
ror: cannot find file for class java.util.HashSet
../../../../../gcc/libjava/classpath/gnu/javax/crypto/jce/GnuCrypto.java:582:
in
ternal compiler error: vector VEC(tree,base) index domain error, in class_depth
at java/class.c:522


-- 
           Summary: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431:
                    error: cannot find file for class
                    gnu.javax.crypto.jce.mac.HMacSHA512Spi
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
@ 2007-01-14  3:44 ` pinskia at gcc dot gnu dot org
  2007-01-15 17:55 ` tromey at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-14  3:44 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-01-14 03:44 -------
This also happens on powerpc-darwin8.5.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker
 GCC target triplet|hppa2.0w-hp-hpux11.11       |hppa2.0w-hp-hpux11.11,
                   |                            |powerpc-darwin8.5
           Keywords|                            |build
            Summary|classpath/gnu/javax/crypto/j|[4.3 Regression]
                   |ce/GnuCrypto.java:431:      |classpath/gnu/javax/crypto/j
                   |error: cannot find file for |ce/GnuCrypto.java:431:
                   |class                       |error: cannot find file for
                   |gnu.javax.crypto.jce.mac.HMa|class
                   |cSHA512Spi                  |gnu.javax.crypto.jce.mac.HMa
                   |                            |cSHA512Spi
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
  2007-01-14  3:44 ` [Bug libgcj/30454] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-01-15 17:55 ` tromey at gcc dot gnu dot org
  2007-01-15 19:54 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-15 17:55 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2007-01-15 17:55 -------
How did you configure?  Did you use make -j?


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
  2007-01-14  3:44 ` [Bug libgcj/30454] [4.3 Regression] " pinskia at gcc dot gnu dot org
  2007-01-15 17:55 ` tromey at gcc dot gnu dot org
@ 2007-01-15 19:54 ` dave at hiauly1 dot hia dot nrc dot ca
  2007-01-16 23:04 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-01-15 19:54 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca  2007-01-15 19:54 -------
Subject: Re:  [4.3 Regression]
classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for
class gnu.jav

> How did you configure?  Did you use make -j?

../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as --enable-shared
--disab
le-nls --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.3.0
--enable-deb
ug=no --enable-threads=posix --with-mpfr=/opt/gnu/gcc/gcc-4.3.0
--with-gmp=/opt/
gnu/gcc/gcc-4.3.0 --disable-libmudflap
--enable-languages="c,c++,objc,obj-c++,fo
rtran,java,ada" &&

make -j 2 bootstrap &&

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-01-15 19:54 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-01-16 23:04 ` dave at hiauly1 dot hia dot nrc dot ca
  2007-01-17 13:56 ` tromey at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-01-16 23:04 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca  2007-01-16 23:04 -------
Subject: Re:  [4.3 Regression]
classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for
class gnuRO

> make -j 2 bootstrap &&

Error also occurs with "make bootstrap".

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-01-16 23:04 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-01-17 13:56 ` tromey at gcc dot gnu dot org
  2007-01-19  0:08 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-17 13:56 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from tromey at gcc dot gnu dot org  2007-01-17 13:56 -------
Unfortunately I still haven't been able to reproduce this.
I do have a few questions:

I'd like to see more of the build log, in particular what happened
before the failing command.

Does the failing gcj invocation work if you try it from the command
line?  Try it with -v, too, since that may be interesting.

> cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi

Look in trunk/libjava/classpath/lib/gnu/javax/crypto/jce/mac.
Does HMacSHA512Spi.class exist?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-01-17 13:56 ` tromey at gcc dot gnu dot org
@ 2007-01-19  0:08 ` dave at hiauly1 dot hia dot nrc dot ca
  2007-01-22 17:02 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-01-19  0:08 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca  2007-01-19 00:08 -------
Subject: Re:  [4.3 Regression]
classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for
class gnu.javax.crypto.jce.mac.HMacSHA512Spi

> I'd like to see more of the build log, in particular what happened
> before the failing command.

Attached.

> Does the failing gcj invocation work if you try it from the command
> line?  Try it with -v, too, since that may be interesting.

No.  Also attached is output using gcj -v.

> > cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
> 
> Look in trunk/libjava/classpath/lib/gnu/javax/crypto/jce/mac.
> Does HMacSHA512Spi.class exist?

Yes.

Dave


------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca  2007-01-19 00:08 -------
Created an attachment (id=12921)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12921&action=view)


------- Comment #8 from dave at hiauly1 dot hia dot nrc dot ca  2007-01-19 00:08 -------
Created an attachment (id=12922)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12922&action=view)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-01-19  0:08 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-01-22 17:02 ` pinskia at gcc dot gnu dot org
  2007-01-22 23:53 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-22 17:02 UTC (permalink / raw)
  To: java-prs



------- Comment #9 from pinskia at gcc dot gnu dot org  2007-01-22 17:02 -------
I was able to reproduce this under powerpc-darwin myself.

Running the command which failed during the build manually, still failed.
Adding -save-temps to that command made it pass.
I have not looked at what is different between the two invocations yet to
figure out why -save-temps would make a difference.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-01-22 17:02 ` pinskia at gcc dot gnu dot org
@ 2007-01-22 23:53 ` dave at hiauly1 dot hia dot nrc dot ca
  2007-01-23  6:05 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-01-22 23:53 UTC (permalink / raw)
  To: java-prs



------- Comment #10 from dave at hiauly1 dot hia dot nrc dot ca  2007-01-22 23:53 -------
Subject: Re:  [4.3 Regression]
classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for
class gnu.javRO

> Running the command which failed during the build manually, still failed.
> Adding -save-temps to that command made it pass.

Adding -save-temps also works on hppa2.0w-hp-hpux11.11.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-01-22 23:53 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-01-23  6:05 ` pinskia at gcc dot gnu dot org
  2007-01-23  8:09 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-23  6:05 UTC (permalink / raw)
  To: java-prs



------- Comment #11 from pinskia at gcc dot gnu dot org  2007-01-23 06:05 -------
I think there is a bug in gcj because when I run gcj under the debugger, it
works.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2007-01-23  6:05 ` pinskia at gcc dot gnu dot org
@ 2007-01-23  8:09 ` pinskia at gcc dot gnu dot org
  2007-01-23  8:23 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-23  8:09 UTC (permalink / raw)
  To: java-prs



------- Comment #12 from pinskia at gcc dot gnu dot org  2007-01-23 08:09 -------
can't open .class, even though it exists: Too many open files


Add:
      perror ("can't open .class, even though it exists");

after the call to JCF_OPEN_EXACT_CASE in find_class and you get the error.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2007-01-23  8:09 ` pinskia at gcc dot gnu dot org
@ 2007-01-23  8:23 ` pinskia at gcc dot gnu dot org
  2007-01-23  8:28 ` [Bug java/30454] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-23  8:23 UTC (permalink / raw)
  To: java-prs



------- Comment #13 from pinskia at gcc dot gnu dot org  2007-01-23 08:23 -------
The temp zip file was being stayed opened even though it was empty.  This
caused us to open too many files.

Anyways, I have a fix now:

Index: ../../gcc/java/jcf-io.c
===================================================================
--- ../../gcc/java/jcf-io.c     (revision 121050)
+++ ../../gcc/java/jcf-io.c     (working copy)

@@ -134,10 +135,10 @@
     {
       jcf_dependency_add_file (zipfile, is_system);
       if (read (fd, magic, 4) != 4 || GET_u4 (magic) != (JCF_u4)ZIPMAGIC)
-       return NULL;
+       { close (fd); return NULL; }
       lseek (fd, 0L, SEEK_SET);
       if (read_zip_archive (zipf) != 0)
-       return NULL;
+       { close (fd); return NULL; }
     }

   SeenZipFiles = zipf;  


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-23 08:23:48
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug java/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2007-01-23  8:23 ` pinskia at gcc dot gnu dot org
@ 2007-01-23  8:28 ` pinskia at gcc dot gnu dot org
  2007-01-23  8:44 ` [Bug java/30454] [4.3 Regression] empty "zip" file in class path can cause leakage of file streams andreast at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-23  8:28 UTC (permalink / raw)
  To: java-prs



------- Comment #14 from pinskia at gcc dot gnu dot org  2007-01-23 08:28 -------
Here is a better patch (with correct formating):
Index: ../../gcc/java/jcf-io.c
===================================================================
--- ../../gcc/java/jcf-io.c     (revision 121050)
+++ ../../gcc/java/jcf-io.c     (working copy)
@@ -134,10 +134,16 @@
     {
       jcf_dependency_add_file (zipfile, is_system);
       if (read (fd, magic, 4) != 4 || GET_u4 (magic) != (JCF_u4)ZIPMAGIC)
-       return NULL;
+       {
+         close (fd);
+         return NULL;
+       }
       lseek (fd, 0L, SEEK_SET);
       if (read_zip_archive (zipf) != 0)
-       return NULL;
+       {
+         close (fd);
+         return NULL;
+       }
     }

   SeenZipFiles = zipf;  


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libgcj                      |java
  GCC build triplet|hppa2.0w-hp-hpux11.11       |
   GCC host triplet|hppa2.0w-hp-hpux11.11       |
 GCC target triplet|hppa2.0w-hp-hpux11.11,      |
                   |powerpc-darwin8.5           |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug java/30454] [4.3 Regression] empty "zip" file in class path can cause leakage of file streams
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2007-01-23  8:28 ` [Bug java/30454] " pinskia at gcc dot gnu dot org
@ 2007-01-23  8:44 ` andreast at gcc dot gnu dot org
  2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: andreast at gcc dot gnu dot org @ 2007-01-23  8:44 UTC (permalink / raw)
  To: java-prs



------- Comment #15 from andreast at gcc dot gnu dot org  2007-01-23 08:44 -------
Hah, that's why it builds here:

Darwin wolfram.local 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep  8 17:18:57 PDT
2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc

[wolfram:head/gcc/boehm-gc] andreast% ulimit -a
core file size        (blocks, -c) 0
data seg size         (kbytes, -d) 6144
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024      <------ default is 256 or so.
pipe size          (512 bytes, -p) 1
stack size            (kbytes, -s) 8192
cpu time             (seconds, -t) unlimited
max user processes            (-u) 1024
virtual memory        (kbytes, -v) unlimited


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug java/30454] [4.3 Regression] empty "zip" file in class path can cause leakage of file streams
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
@ 2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
  2007-01-24 16:33 ` tromey at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-24  5:46 UTC (permalink / raw)
  To: java-prs



------- Comment #17 from pinskia at gcc dot gnu dot org  2007-01-24 05:46 -------
Subject: Bug 30454

Author: pinskia
Date: Wed Jan 24 05:46:09 2007
New Revision: 121101

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121101
Log:
2007-01-23  Andrew Pinski  <pinskia@gmail.com>

        PR java/30454
        * jcf-io.c (opendir_in_zip): Close the file
        and free zipf before returning after an error.


Modified:
    trunk/gcc/java/ChangeLog
    trunk/gcc/java/jcf-io.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug java/30454] [4.3 Regression] empty "zip" file in class path can cause leakage of file streams
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2007-01-23  8:44 ` [Bug java/30454] [4.3 Regression] empty "zip" file in class path can cause leakage of file streams andreast at gcc dot gnu dot org
@ 2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
  2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
  2007-01-24 16:33 ` tromey at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-24  5:46 UTC (permalink / raw)
  To: java-prs



------- Comment #16 from pinskia at gcc dot gnu dot org  2007-01-24 05:46 -------
Fixed finally.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug java/30454] [4.3 Regression] empty "zip" file in class path can cause leakage of file streams
  2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
@ 2007-01-24 16:33 ` tromey at gcc dot gnu dot org
  15 siblings, 0 replies; 17+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-24 16:33 UTC (permalink / raw)
  To: java-prs



------- Comment #18 from tromey at gcc dot gnu dot org  2007-01-24 16:33 -------
*** Bug 30573 has been marked as a duplicate of this bug. ***


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2007-01-24 16:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-13  0:10 [Bug libgcj/30454] New: classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi danglin at gcc dot gnu dot org
2007-01-14  3:44 ` [Bug libgcj/30454] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-01-15 17:55 ` tromey at gcc dot gnu dot org
2007-01-15 19:54 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-16 23:04 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-17 13:56 ` tromey at gcc dot gnu dot org
2007-01-19  0:08 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-22 17:02 ` pinskia at gcc dot gnu dot org
2007-01-22 23:53 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-23  6:05 ` pinskia at gcc dot gnu dot org
2007-01-23  8:09 ` pinskia at gcc dot gnu dot org
2007-01-23  8:23 ` pinskia at gcc dot gnu dot org
2007-01-23  8:28 ` [Bug java/30454] " pinskia at gcc dot gnu dot org
2007-01-23  8:44 ` [Bug java/30454] [4.3 Regression] empty "zip" file in class path can cause leakage of file streams andreast at gcc dot gnu dot org
2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
2007-01-24 16:33 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).