This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/35266] New: gcj: Internal error: Killed (program jc1) when building java


When running make from the top level directory, it fails with the following
information/error message.

/home/lhaley/source/objdir/gcc/gcj
-B/home/lhaley/source/objdir/i686-pc-linux-gnu/libjava/
-B/home/lhaley/source/objdir/gcc/ -Wno-deprecated --encoding=UTF-8
--bootclasspath '' --classpath
..:/home/lhaley/source/gcc-4.2.3/libjava:/home/lhaley/source/objdir/i686-pc-linux-gnu/libjava:../../../../../gcc-4.2.3/libjava/classpath:../../../../../gcc-4.2.3/libjava/classpath/external/w3c_dom:../../../../../gcc-4.2.3/libjava/classpath/external/sax:../../../../../gcc-4.2.3/libjava/classpath/external/relaxngDatatype:.::
-C -d . -MD -MF lists/gnu-CORBA-CDR.deps -MT lists/gnu-CORBA-CDR.stamp -MP
@lists/gnu-CORBA-CDR.list
gcj: Internal error: Killed (program jc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [lists/gnu-CORBA-CDR.stamp] Error 1

Runing make from the directory
objectdir/i686-pc-linux-gnu/libjava/classpath/lib directly allows that
statement to complete, but then it fails later at:
/home/lhaley/source/objdir/gcc/gcj
-B/home/lhaley/source/objdir/i686-pc-linux-gnu/libjava/
-B/home/lhaley/source/objdir/gcc/ -Wno-deprecated --encoding=UTF-8
--bootclasspath '' --classpath
..:/home/lhaley/source/gcc-4.2.3/libjava:/home/lhaley/source/objdir/i686-pc-linux-gnu/libjava:../../../../../gcc-4.2.3/libjava/classpath:../../../../../gcc-4.2.3/libjava/classpath/external/w3c_dom:../../../../../gcc-4.2.3/libjava/classpath/external/sax:../../../../../gcc-4.2.3/libjava/classpath/external/relaxngDatatype:.::
-C -d . -MD -MF lists/gnu-javax-crypto.deps -MT lists/gnu-javax-crypto.stamp
-MP @lists/gnu-javax-crypto.list
gcj: Internal error: Killed (program jc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [lists/gnu-javax-crypto.stamp] Error 1

going back to the objectdir allows programs to compile through

/home/lhaley/source/objdir/gcc/gcj
-B/home/lhaley/source/objdir/i686-pc-linux-gnu/libjava/
-B/home/lhaley/source/objdir/gcc/ -Wno-deprecated --encoding=UTF-8
--bootclasspath '' --classpath
..:/home/lhaley/source/gcc-4.2.3/libjava:/home/lhaley/source/objdir/i686-pc-linux-gnu/libjava:../../../../../gcc-4.2.3/libjava/classpath:../../../../../gcc-4.2.3/libjava/classpath/external/w3c_dom:../../../../../gcc-4.2.3/libjava/classpath/external/sax:../../../../../gcc-4.2.3/libjava/classpath/external/relaxngDatatype:.::
-C -d . -MD -MF lists/java-beans.deps -MT lists/java-beans.stamp -MP
@lists/java-beans.list
gcj: Internal error: Killed (program jc1)

This again will compile if you move directly to that directory, but then fails
again later with the same error.

It may be possible to get a working libjava by dint of switching directories
and restarting, but I'm working for a client who doesn't want to put the time
in (I've already done a lot on my own time trying to find / document this bug).


-- 
           Summary: gcj: Internal error: Killed (program jc1) when building
                    java
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: juli-info at baumler dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]