Next libjava on cygwin problem

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Sun Apr 22 00:06:00 GMT 2001


That does it, and it was the last thing preventing a successful build.
Details to follow.

> -----Original Message-----
> From:	Jeff Sturm [SMTP:jsturm@one-point.com]
> Sent:	Saturday, April 21, 2001 8:12 AM
> To:	Billinghurst, David (CRTS)
> Cc:	'java@gcc.gnu.org'
> Subject:	Re: Next libjava on cygwin problem
> 
> 
> 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