From owner-svn-src-all@freebsd.org Thu Dec 3 16:12:48 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A838A40B2F; Thu, 3 Dec 2015 16:12:48 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFD691257; Thu, 3 Dec 2015 16:12:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::f415:879d:d8a4:552d] (unknown [IPv6:2001:7b8:3a7:0:f415:879d:d8a4:552d]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9068933922; Thu, 3 Dec 2015 17:12:45 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_F7E7F9CF-70D3-4C07-908C-924E7900328C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: svn commit: r291701 - head/contrib/llvm/tools/clang/tools/driver X-Pgp-Agent: GPGMail 2.6b2 From: Dimitry Andric In-Reply-To: <201512031541.tB3FfAna042742@repo.freebsd.org> Date: Thu, 3 Dec 2015 17:12:40 +0100 Message-Id: <98A73AB6-AE53-425B-826F-B6336F212E0C@FreeBSD.org> References: <201512031541.tB3FfAna042742@repo.freebsd.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-Mailer: Apple Mail (2.3096.5) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 16:12:48 -0000 --Apple-Mail=_F7E7F9CF-70D3-4C07-908C-924E7900328C Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 03 Dec 2015, at 16:41, Dimitry Andric wrote: > > Author: dim > Date: Thu Dec 3 15:41:10 2015 > New Revision: 291701 > URL: https://svnweb.freebsd.org/changeset/base/291701 > > Log: > In assembler mode, clang defaulted to DWARF3, if only -g was specified. > Change this to DWARF2, in the simplest way possible. Note that this problem caused some object files, such as /usr/lib/crt*.o to contain debug information with DWARF3 version markings. Since these are linked into almost all executables, gdb from base would therefore complain that it could not debug such executables. E.g, if you were building world with DEBUG_FLAGS=-g, you should rebuild and reinstall it, to make it debuggable with gdb from base. Also note that lldb and gdb from ports do support DWARF3 and higher, and are highly recommended above gdb from base. -Dimitry --Apple-Mail=_F7E7F9CF-70D3-4C07-908C-924E7900328C 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.28 iEYEARECAAYFAlZgaf0ACgkQsF6jCi4glqMW8gCgz1FjJefU/I/tY+nmOYt/akwX iqMAnRnsZ5cUtoY7QerhrCwJUXDq1VXJ =lBvl -----END PGP SIGNATURE----- --Apple-Mail=_F7E7F9CF-70D3-4C07-908C-924E7900328C--