[Bug libgcj/72834] New: [5/6/7 Regression] the gij interpreter seems to be broken on linux 64bit big endian targets

doko at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 8 12:54:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72834

            Bug ID: 72834
           Summary: [5/6/7 Regression] the gij interpreter seems to be
                    broken on linux 64bit big endian targets
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

this used to work with GCC 5, now is broken on the branch, and it doesn't work
on the GCC 6 branch and trunk.

seen on s390x, ppc64 and sparc64, seems to work on 32bit big endian targets
like powerpc and mips.

the symptom is that the libgcj tools like gcjh fail like:

gcjh -force --classpath="/usr/share/java/libgcj.jar:/«PKGBUILDDIR»/java:."
pdftk/com/lowagie/text/pdf/PdfStream
Exception in thread "main" java.io.IOException: can't find class file
pdftk/com/lowagie/text/pdf/PdfStream.class in
java.net.URLClassLoader{urls=[file:/usr/share/java/libgcj.jar,file:/«PKGBUILDDIR»/java/,file:/«PKGBUILDDIR»/java/./,file:/usr/lib/jvm/java-1.5.0-gcj-6-ppc64/jre/lib/rt.jar],
parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
   at gnu.classpath.tools.javah.Main.getClass(libgcj-tools.so.17)
   at gnu.classpath.tools.javah.Main.parseClasses(libgcj-tools.so.17)
   at gnu.classpath.tools.javah.Main.run(libgcj-tools.so.17)
   at gnu.classpath.tools.javah.GcjhMain.main(libgcj-tools.so.17)


More information about the Gcc-bugs mailing list