[Bug java/18212] nativ compilation with multiple jars fails / gives internal compiler error

bojan at antonovic dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 29 14:20:00 GMT 2004


------- Additional Comments From bojan at antonovic dot com  2004-10-29 14:19 -------
Subject: Re:  nativ compilation with multiple jars fails /
 gives internal compiler error

pinskia at gcc dot gnu dot org wrote:

>------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:08 -------
>This is most likely the same as PR 11117.
>
>Could you attach all three jar files?
>
>  
>
You have them in the attachment.

Because they're renamed, the real compilation calls for the classes of X 
are:

working: gcj --classpath=A.jar:B.jar:. --main=ProcessorOptimizer.Main 
ProcessorOptimizer/*.class ProcessorOptimizer/*/*.class A.jar B.jar
crashing: gcj -o x.exec --classpath=A.jar:B.jar:. 
--main=ProcessorOptimizer.Main ProcessorOptimizer/*.class 
ProcessorOptimizer/*/*.class A.jar B.jar
crashing: gcj -o x.exec --classpath=A.jar:B.jar:X.jar:. 
--main=ProcessorOptimizer.Main ProcessorOptimizer/*.class 
ProcessorOptimizer/*/*.class A.jar B.jar

The last crashing one is new.

working:  gcj --classpath=A.jar:B.jar:. --main=ProcessorOptimizer.Main 
X.jar A.jar B.jar
failing:     gcj -o x.exec --classpath=A.jar:B.jar:. 
--main=ProcessorOptimizer.Main X.jar A.jar B.jar
failing:     gcj -o x.exec --classpath=B.jar:A.jar:. 
--main=ProcessorOptimizer.Main X.jar A.jar B.jar

The last failing one is new.

I have tested this calls. I hope _I_ made no bug in the bug report! :)

Bojan




------- Additional Comments From bojan at antonovic dot com  2004-10-29 14:20 -------
Created an attachment (id=7428)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7428&action=view)

------- Additional Comments From bojan at antonovic dot com  2004-10-29 14:20 -------
Created an attachment (id=7429)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7429&action=view)

------- Additional Comments From bojan at antonovic dot com  2004-10-29 14:20 -------
Created an attachment (id=7430)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7430&action=view)


-- 


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



More information about the Java-prs mailing list