From owner-freebsd-stable@FreeBSD.ORG Fri Mar 28 18:11:20 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 E3402430; Fri, 28 Mar 2014 18:11:20 +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 9DE2FFE0; Fri, 28 Mar 2014 18:11:20 +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 29D6D5C44; Fri, 28 Mar 2014 19:11:18 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_E099B458-BFD8-4B77-ACF2-ACD39ADCC978"; 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: <1396029772.81853.150.camel@revolution.hippie.lan> Date: Fri, 28 Mar 2014 19:11:16 +0100 Message-Id: References: <20140328165121.13797.qmail@mailgate.gta.com> <6F2AEDEC-4173-45B0-9C21-1D80E33660F6@FreeBSD.org> <1396029772.81853.150.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1874) Cc: Larry Baird , freebsd-stable@FreeBSD.org 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:11:21 -0000 --Apple-Mail=_E099B458-BFD8-4B77-ACF2-ACD39ADCC978 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 28 Mar 2014, at 19:02, Ian Lepore wrote: > On Fri, 2014-03-28 at 18:51 +0100, 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 >>=20 >> -Dimitry >>=20 >=20 > Something seems very wrong here. We now have a 10-stable in which you > can't debug an app that crashes without rebuilding the entire system > with different options or adding non-base tools? That seems... not > right for a branch with "stable" in its name. You need to rebuild the system anyway, if you want debug information, so nothing changed? If you insist on wanting to use the crummy gdb in base, which should have been axed years ago, then just use DEBUG_FLAGS=3D-gdwarf-2, otherwise use ports gdb, which any sensible person should do. -Dimitry --Apple-Mail=_E099B458-BFD8-4B77-ACF2-ACD39ADCC978 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) iEYEARECAAYFAlM1u0QACgkQsF6jCi4glqMwHACdFHSvidsQ9HrhQPIOQHcEkxWg ZFgAoLiTvZ/cDnpcXpua3ggDaQoPQBn5 =rmKF -----END PGP SIGNATURE----- --Apple-Mail=_E099B458-BFD8-4B77-ACF2-ACD39ADCC978--