From owner-freebsd-stable@FreeBSD.ORG Fri Mar 28 18:08:10 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA97D259; Fri, 28 Mar 2014 18:08:10 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A4124F2E; Fri, 28 Mar 2014 18:08:10 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::3921:ab0d:c24c:508b] (unknown [IPv6:2001:7b8:3a7:0:3921:ab0d:c24c:508b]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 3A7585C44; Fri, 28 Mar 2014 19:08:08 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_C597C67C-A1DB-45FD-9D0F-D975FF5F7947"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: HEADS UP: merged llvm/clang 3.4 From: Dimitry Andric In-Reply-To: Date: Fri, 28 Mar 2014 19:08:03 +0100 Message-Id: <2DAD7A95-E396-444A-B380-54259D27039D@FreeBSD.org> References: <20140328165121.13797.qmail@mailgate.gta.com> <6F2AEDEC-4173-45B0-9C21-1D80E33660F6@FreeBSD.org> To: Craig Rodrigues X-Mailer: Apple Mail (2.1874) Cc: Larry Baird , FreeBSD stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2014 18:08:11 -0000 --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 wrote: > On Fri, Mar 28, 2014 at 10:51 AM, Dimitry Andric = wrote: >> On 28 Mar 2014, at 17:51, Larry Baird 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--