Need help compiling libgcj on Solaris for benchmark

Drury Tim Tim_Drury@bscc.bls.com
Mon Jun 7 10:52:00 GMT 1999


I was totally dismayed when I coded a Java/JDBC benchmark
vs. a C/C++/embeddedSQL benchmark. The Java program was
200 times slower! This was linear from 10 record inserts
to 10000 record inserts. I'm running on a Solaris 2.5
machine.
I thought gcj would be the answer by compiling the Java
code to native Sparc/Solaris code, but I cannot compile
libgcj because of that error:
<bunch o' java files>
gcj: Internal compiler error: program jc1 got fatal signal 11
gmake[2]: *** [libgcj.zip] Error 1
gmake[2]: Leaving directory
`/backup/tim/libgcj-obj/sparc-sun-solaris2.5.1/libjava'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/backup/tim/libgcj-obj/sparc-sun-solaris2.5.1/libjava'
gmake: *** [all-target-libjava] Error 2
This was discussed on the list earlier, but no solution has
been posted. I guess I'm asking if
(1) is there a patch available to fix this?
(2) is there a workaround so I can use gcj anyway?
Apparently people are using gcj anyway because the guy that
found the problem has some benchmark code running. Can I
run gcj without libgcj? How? When I try running gcj I get
aries:/backup/tim/libgcj-obj> gcj
gcj: libgcj.spec: No such file or directory
libgcj.spec is in the build-directory, but I can't "gmake install"
so I don't know where to put it. Can I bypass the rest of the
libgcj build and run gcj anyway?
-tim
------------------------------------------
Tim Drury
Ciber Information Services
email: tim_drury@bscc.bls.com
inter@ctive pager: ciber1@bellsouthips.com


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /