Re: elftoolchain update?

2014-10-02 Thread Kai Wang
Hello, Thanks for the backtrace and analysis. I attached a patch for libdwarf and ctfconvert to fix the crash issue. The libdwarf patch is the same as Will submitted, it adds check for NULL attribute. The ctfconvert patch fixes some issue with die_name(). We can't let die_name() return NULL

Re: elftoolchain update?

2014-10-02 Thread Will Andrews
Hi Kai, Thanks for checking in. On Thu, Oct 2, 2014 at 3:11 AM, Kai Wang kai...@gmail.com wrote: Thanks for the backtrace and analysis. I attached a patch for libdwarf and ctfconvert to fix the crash issue. The libdwarf patch is the same as Will submitted, it adds check for NULL attribute.

Re: elftoolchain update?

2014-09-30 Thread Kai Wang
Hello Will, My apologies for the delayed reply. I've totally missed these few emails. I can investigate the C++ object files issue and make fixes for them ASAP. Regarding elfdefinitions.h header, it was used for elftoolchain to build on various OS independently. When merging elftoolchain back

Re: elftoolchain update?

2014-09-26 Thread Will Andrews
Hi, I've created a git-svn clone of the current elftoolchain, and applied some fixes in a branch: https://github.com/wca/elftoolchain/tree/freebsd Any objections if I update the copy in head using this branch? I've heard nothing from either Kai or Joseph. I'm not done testing yet -- it looks

Re: elftoolchain update?

2014-09-18 Thread Dimitry Andric
On 18 Sep 2014, at 01:01, Will Andrews w...@freebsd.org wrote: I see there have been a lot of updates fixes to elftoolchain since the last import into FreeBSD/head nearly 8 months ago. Are there any plans to update the import? I'm asking because it appears that ctfconvert currently crashes