Date: Fri, 28 Mar 2014 19:08:03 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: Larry Baird <lab@maxwell.gta.com>, FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: HEADS UP: merged llvm/clang 3.4 Message-ID: <2DAD7A95-E396-444A-B380-54259D27039D@FreeBSD.org> In-Reply-To: <CAG=rPVdEaoQf0jwCAy3NNzUTVGQ8Gr6aTNc0N3mhHpuw_cZqaQ@mail.gmail.com> References: <20140328165121.13797.qmail@mailgate.gta.com> <6F2AEDEC-4173-45B0-9C21-1D80E33660F6@FreeBSD.org> <CAG=rPVdEaoQf0jwCAy3NNzUTVGQ8Gr6aTNc0N3mhHpuw_cZqaQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_C597C67C-A1DB-45FD-9D0F-D975FF5F7947 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 28 Mar 2014, at 19:03, Craig Rodrigues <rodrigc@FreeBSD.org> wrote: > On Fri, Mar 28, 2014 at 10:51 AM, Dimitry Andric <dim@freebsd.org> = wrote: >> On 28 Mar 2014, at 17:51, Larry Baird <lab@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] >>=20 >> 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. >=20 > Is this also true for kernel debugging with kgdb? Please read UPDATING, which mentions this. Another MFC will be done soon, which automagically sets -gdwarf-2 for kernel builds, until somebody ports the kgdb extensions to e.g. lldb or ports gdb. -Dimitry --Apple-Mail=_C597C67C-A1DB-45FD-9D0F-D975FF5F7947 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlM1uocACgkQsF6jCi4glqMp3QCg1QW7g5WLBmMGGQfIlCQwzBpu KH0AmgNdxp+k+zEdSFkKvV9uF7rdGCTa =4aUF -----END PGP SIGNATURE----- --Apple-Mail=_C597C67C-A1DB-45FD-9D0F-D975FF5F7947--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2DAD7A95-E396-444A-B380-54259D27039D>