[Bug java/12948] New: build fails in libjava/gnu/gcj/runtime/FirstThread.java

alext96 at softhome dot net gcc-bugzilla@gcc.gnu.org
Fri Nov 7 21:19:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: build fails in libjava/gnu/gcj/runtime/FirstThread.java
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: alext96 at softhome dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

During a build of the latest CVS (head), the normal compiler bootstraps itself
fine, but during the build of libjava, I get this:

/home/prat/gcc-obj/gcc/gcj -B/home/prat/gcc-obj/i686-pc-linux-gnu/libjava/
-B/home/prat/gcc-obj/gcc/ --encoding=UTF-8 -Wno-deprecated -C -g -classpath ''
-bootclasspath /home/prat/gcc-obj/i686-pc-linux-gnu/libjava:../../../gcc/libjava
-d /home/prat/gcc-obj/i686-pc-linux-gnu/libjava
../../../gcc/libjava/gnu/gcj/runtime/FirstThread.java
../../../gcc/libjava/gnu/gcj/runtime/FirstThread.java: In class
`gnu.gcj.runtime.FirstThread':
../../../gcc/libjava/gnu/gcj/runtime/FirstThread.java: In method `<clinit>()':
../../../gcc/libjava/gnu/gcj/runtime/FirstThread.java:93: error: Class
`gnu.java.net.protocol.file.Handler' not found in type declaration.
     static final Class Kfile = gnu.java.net.protocol.file.Handler.class;
                                ^
../../../gcc/libjava/gnu/gcj/runtime/FirstThread.java:94: error: Class
`gnu.java.net.protocol.http.Handler' not found in type declaration.
     static final Class Khttp = gnu.java.net.protocol.http.Handler.class;
                                ^
../../../gcc/libjava/gnu/gcj/runtime/FirstThread.java:95: error: Class
`gnu.java.net.protocol.jar.Handler' not found in type declaration.
     static final Class Kjar  = gnu.java.net.protocol.jar.Handler.class;
                                ^
3 errors

Followed by make bailing out.
Configured with --enable-threads --disable-werror, with a simple make bootstrap,
same occurs with profiledbootstrap.



More information about the Gcc-bugs mailing list