Even with the fix for PR libgcj/32651 (which sets libgcj_interpreter=no),
libgcj doesn't build on IRIX 6.5 (or any other platform) because several
types and classes from java-interp.h are used even with INTERPRETER
undefined.  This is a regression from 4.1 and 4.2 and can easily be
reproduced with --disable-interpreter.

Environment:
System: IRIX64 columba 6.5 07010238 IP27



host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: /vol/gcc/src/gcc-dist/configure --prefix=/vol/gcc
--with-local-prefix=/vol/gcc --disable-nls --enable-libgcj --with-gmp=/vol/gcc
--with-mpfr=/vol/gcc --enable-languages=c,c++,java --with-gnu-as
--with-as=/vol/gcc/lib/gas-2.17

How-To-Repeat:
Bootstrap mainline with the patch from

http://gcc.gnu.org/ml/java-patches/2007-q3/msg00025.html

or just pass --disable-interpreter on any platform.


------- Comment #1 from ro at techfak dot uni-bielefeld dot de  2007-07-06 
17:32 -------
Fix:
The mail above contains a hacky patch to allow the compilation to complete,
but all libjava programs fail to link due to many unresolved symbols (no
surprise given the nature of the patch).


-- 
           Summary: [4.3 regression] libgcj fails to build with --disable-
                    interpreter
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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

Reply via email to