This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libgcj/2808: Makefile generates broken Object.h and Class.h
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libgcj/2808: Makefile generates broken Object.h and Class.h
- From: dps at io dot stargate dot co dot uk
- Date: 12 May 2001 20:19:38 -0000
- Reply-To: dps at io dot stargate dot co dot uk
>Number: 2808
>Category: libgcj
>Synopsis: Makefile generates broken Object.h and Class.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 12 13:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Duncan Simpon
>Release: 3.1 (CVS ~ 8th May 2001)
>Organization:
>Environment:
Linux 2.2.x on an i686
>Description:
Under the right conditions building libjva generates
java/alang.Object.h and java/lang/Class.h with gcjh.
Unoortunately the versions generated are broken, Object.h
is missing =include <gcj/javaprims.h> and Class.h is badly
broken in lots of ways. This causes compiling prims.cc to
fails and the bd version clobber the good ones.
>How-To-Repeat:
touch java/lang/{Object,Class}.java and try to build
libjava.
>Fix:
Object.h: Include <gcj/javaoprims.h> in prims.cc
Class.h: Aviod cloberring the good version
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; charset=iso-8859-1; name="null"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="null"