I got this working using a CDDL copy of the elf headers for Mac OS X (from Dtrace) but it looks like we should probably just disable it on Mac?
Sam On Jan 23, 2011, at 4:44 PM, Stephen Bannasch wrote: > At 11:04 AM -0800 1/23/11, Greg Lewis wrote: >> G'day all, >> >> It's reported that this update breaks the MacOS X build. So be careful >> updating. The main problem seems to be a lack of elf.h. If you have an >> OCA on file, please feel free to send patches -- if not then don't, since >> I won't be able to commit them. >> > > FYI: > > It's this commit in hotspot: > > http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/2d4762ec74af > > 7003748: Decode C stack frames when symbols are presented (PhoneHome project) > Summary: Implemented in-process C native stack frame decoding when symbols > are available. > Reviewed-by: coleenp, never > > Which is disabled on Windows. > > hotspot/src/share/vm/utilities/decoder.cp:32 #ifndef _WINDOWS > > More details here: > Good News: C stack frames now decoded on crash > http://mail.openjdk.java.net/pipermail/hotspot-dev/2010-December/003659.html > > >