ctfconvert broken for C++ objects?

Justin T. Gibbs gibbs at FreeBSD.org
Thu Feb 20 17:11:07 UTC 2014


I noticed that ctfmerge was warning about missing CTF data when compiling “PROG_CXX” programs.  I tracked this down to missing ctfconvert calls when compiling C++ objects.  Unfortunately, ctfconvert segfaults in libdwarf on all of the C++ code I tried.  Attached is a quick hack to avoid the segfault, but I’m hoping someone here with more dwarf experience can point me in the right direction for a real fix.  Is this a known issue?

I’m testing this on a FreeBSD stable/9 from ~November of last year.

Thanks,
Justin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctf_for_c++.diffs
Type: application/octet-stream
Size: 2841 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20140219/9262afef/attachment.obj>


More information about the freebsd-toolchain mailing list