Next libjava on cygwin problem
Jeff Sturm
jsturm@one-point.com
Fri Apr 20 15:06:00 GMT 2001
On Fri, 20 Apr 2001, Billinghurst, David (CRTS) wrote:
> ./.libs/libgcj.a(SimpleTimeZone.o)(.data+0x0):SimpleTimeZone.java: undefined
> reference to `Jv_byteVTable'
hmm, jc1 isn't generating a prefix for this label... oh, I see
the problem... create_primitive_vtable is passing an asmspec to
make_decl_rtl. That's a no-no.
Can you try the patch below? (It bootstrapped OK on i686-pc-linux-gnu.)
Thanks.
Index: decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/decl.c,v
retrieving revision 1.87.2.6
diff -u -p -r1.87.2.6 decl.c
--- decl.c 2001/03/20 22:03:51 1.87.2.6
+++ decl.c 2001/04/20 21:14:58
@@ -396,7 +396,6 @@ create_primitive_vtable (name)
sprintf (buf, "_Jv_%sVTable", name);
r = build_decl (VAR_DECL, get_identifier (buf), ptr_type_node);
DECL_EXTERNAL (r) = 1;
- make_decl_rtl (r, buf);
return r;
}
More information about the Java
mailing list