This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: gcj && libjava for cygwin

Ok.  I did a little more on this.  
 * Switched from gcc 3.0 branch to trunk, and  _Jv_Sjlj_Throw error "went
 * Axed all reference to JNI_OnLoad from FirstThread, so that error went.  

Now when linking jv-convert.exe I get

./.libs/libgcj.a(natClass.o)(.text$_ZN4java4lang5ClassC1Ev+0x0): multiple
definition of `java::lang::Class::Class()'
./.libs/libgcj.a(Class.o)(.text+0x3a0): first defined here
collect2: ld returned 1 exit status
make[2]: *** [jv-convert] Error 1
Any ideas?

> -----Original Message-----
> From:	Tom Tromey []
> Sent:	Thursday, 19 April 2001 14:27
> To:	Jeff Sturm
> Cc:	Anthony Green; Billinghurst, David (CRTS); 'Robert Collins';
> Subject:	Re: gcj && libjava for cygwin
> >>>>> "Jeff" == Jeff Sturm <> writes:
> Jeff> To get libgcj in sync, configure with --enable-sjlj-exceptions.
> Jeff> That could be done in (however I thought
> Jeff> _Jv_Sjlj_Throw was going away due to rth's work on EH
> Jeff> personalities... are you working on the branch, or mainline?)
> I'm told that the EH code is going to go in to the branch.  So fixing
> probably is a waste of time.  I assume this EH change
> means that Cygwin will suddenly start using the new EH code.  OTOH, if
> Cygwin still needs sjlj (and I don't know if they are even going to
> exist in the compiler after the EH merge) then fixing
> is fine.
> Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]