RE: gcj 4.6 on OpenBSD/x86
"Boehm, Hans" <[email protected]> Tue, 9 Oct 2012 17:21:40 +0000
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <A3E67C2071F49C4CBC4F17E6D77CDDD235F8B32F@G4W3296.americas.hpqcorp.net> |
It may be worth checking whether the garbage collector tests, particularly gctest, run correctly in your environment. If not, that might give you an easier debugging task. Hans > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Kurt Miller > Sent: Tuesday, October 09, 2012 6:06 AM > To: Andrew Haley > Cc: David Daney; [email protected] > Subject: Re: gcj 4.6 on OpenBSD/x86 > > On 10/8/12 8:51 PM, Andrew Haley wrote: > > On 10/08/2012 03:09 PM, Kurt Miller wrote: > >> Indeed. I've done that already and included the details in the > initial email. > >> Frame 3 is throwing an exception where obj->getClass()->getName() is > >> called. 'obj' is the likely source of the problem but the debugger > believes it is > >> an incomplete type and I can't inspect it; see the end of initial > email. > > I'd put a breakpoint earlier and step through. > > I don't think there's an easier way to do it. > > > > _Jv_Debug(obj) prints an object. > > > > Andrew. > > > > Thanks. It looks like the root of the problem lies in boehm-gc. Using > GC_DONT_GC=1 works-around the problem. Time to dig into boehm-gc ifdef > hell again... > > -Kurt