Compiler fails to build native compiler when using a cross compiler. Build tries
to use the java jar instead of $(target_noncanonical)-fastjar.

Here is the patch.
[EMAIL PROTECTED] libjava]$ cvs status configure.ac
===================================================================
File: configure.ac      Status: Locally Modified

   Working revision:    1.19.2.1
   Repository revision: 1.19.2.1        /cvsroot/gcc/gcc/libjava/configure.ac,v
   Sticky Tag:          gcc-4_0-branch (branch: 1.19.2)
   Sticky Date:         (none)
   Sticky Options:      (none)


Index: configure.ac
===================================================================
RCS file: /cvsroot/gcc/gcc/libjava/configure.ac,v
retrieving revision 1.19.2.1
diff -r1.19.2.1 configure.ac
1092c1092
<       ZIP=jar
---
>       ZIP='$(target_noncanonical)-fastjar'

-- 
           Summary: fastjar not correctly defined for cross compilers.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steve at netfuel dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: all
  GCC host triplet: all
GCC target triplet: all


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

Reply via email to