From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Petit-Bianco To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: java/4360: libjava fails to compile on i686-pc-linux-gnu (AttributedString) Date: Sat, 22 Sep 2001 09:26:00 -0000 Message-id: <20010922162601.998.qmail@sourceware.cygnus.com> X-SW-Source: 2001-09/msg00453.html List-Id: The following reply was made to PR java/4360; it has been noted by GNATS. From: Alexandre Petit-Bianco To: "Georg Wild" Cc: Subject: Re: java/4360: libjava fails to compile on i686-pc-linux-gnu (AttributedString) Date: Sat, 22 Sep 2001 09:25:54 -0700 (PDT) Georg Wild writes: > I completely deleted my gcc-Tree and checked the new one out again. This wasn't necessary and since I didn't commit any of the patches I sent to you, you still get the same error. Patch gcj with the patch what's below, build the compiler and and do a clean build of libjava doing `make clean && make && make install' from /i686-pc-linux-gnu/libjava ./A Index: decl.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/java/decl.c,v retrieving revision 1.108 diff -u -p -r1.108 decl.c --- decl.c 2001/08/24 17:24:02 1.108 +++ decl.c 2001/09/22 16:23:24 @@ -563,9 +563,11 @@ init_decl_processing () predef_filenames [4] = get_identifier ("java/lang/String.java"); predef_filenames [5] = get_identifier ("java/lang/Throwable.java"); predef_filenames [6] = get_identifier ("gnu/gcj/RawData.java"); - predef_filenames [7] = get_identifier ("java/lang/Exception"); - predef_filenames [8] = get_identifier ("java/lang/ClassNotFoundException"); - predef_filenames [9] = get_identifier ("java/lang/NoClassDefFoundError"); + predef_filenames [7] = get_identifier ("java/lang/Exception.java"); + predef_filenames [8] = + get_identifier ("java/lang/ClassNotFoundException.java"); + predef_filenames [9] = + get_identifier ("java/lang/NoClassDefFoundError.java"); methodtable_type = make_node (RECORD_TYPE); layout_type (methodtable_type);