libjava test suite keeps getting stuck

Zack Weinberg zackw@Stanford.EDU
Thu Apr 19 22:41:00 GMT 2001

On Thu, Apr 19, 2001 at 10:24:28PM -0700, Zack Weinberg wrote:
> On Thu, Apr 19, 2001 at 11:05:03PM -0600, Tom Tromey wrote:
> > It would be worth experimenting on the trunk to see if we need
> > libsupc++ at all any more.  It is possible we could arrange things so
> > that we don't need libsupc++ at all.
> Looks like a one-line edit to  I'll give it a whirl.

On the up side, it does stop libtool inserting -lgcc_s -lc -lgcc_s
before -lpthread.

On the down side:

./.libs/ undefined reference to `operator new[](unsigned)'
./.libs/ undefined reference to `operator delete(void*)'
./.libs/ undefined reference to `__gxx_personality_v0'
./.libs/ undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status

new and delete are used all over the place in the C++ sources of
libjava, but it would be trivial to slurp them over from libsupc++
with rules like

new_op.o: $(srcdir)/../libstdc++/libsupc++/

__gxx_personality_v0 is another can of worms entirely.  It looks to be
referenced from all of the C++ source code.  It's deeply involved with
the new exception handling scheme.  I do not know whether it's
appropriate to keep using the C++ version or whether java should have
its own.

I wonder if it makes sense to rewrite all the C++ in C or Java...


More information about the Java mailing list