Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 09:00:57 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        dtrace@freebsd.org
Subject:   Re: ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(229)]
Message-ID:  <ZIcXCV9A5z3DNmqJ@nuc>
In-Reply-To: <3p0rs824-qo1q-pr8s-195r-51s22nrq3634@yvfgf.mnoonqbm.arg>
References:  <3p0rs824-qo1q-pr8s-195r-51s22nrq3634@yvfgf.mnoonqbm.arg>

index | next in thread | previous in thread | raw e-mail

On Sat, Jun 10, 2023 at 10:10:15PM +0000, Bjoern A. Zeeb wrote:
> Hi,
> 
> compiling with gcc I see a lot of:
> 
> ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(229)]
> 
> I wonder "Unsupported version" of what?  and can we improve it?

It's referring to the DWARF version.  Assuming you're compiling with
gcc12, the kernel build is emitting DWARF 5 by default, which our
libdwarf does not handle.  Earlier this year I worked on extending
libdwarf to support the new standard, at least well enough for
ctfconvert's purposes.  I'll try to get back to it shortly.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZIcXCV9A5z3DNmqJ>