HEADS UP: merged llvm/clang 3.4

Craig Rodrigues rodrigc at FreeBSD.org
Fri Mar 28 18:03:17 UTC 2014


On Fri, Mar 28, 2014 at 10:51 AM, Dimitry Andric <dim at freebsd.org> wrote:
> On 28 Mar 2014, at 17:51, Larry Baird <lab at maxwell.gta.com> wrote:
> ...
>> This GDB was configured as "i386-marcel-freebsd"...Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr2/lab/6.2/sw/src/hello]
>
> The default debug info format for clang 3.4 is now DWARF4, which gdb
> from base cannot handle.  So please use gdb from ports, which is much
> better anyway, or compile with -gdwarf-2.
>
> -Dimitry
>

Is this also true for kernel debugging with kgdb?

--
Craig


More information about the freebsd-stable mailing list