Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 20:32:59 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r263838 - in stable: 10 9
Message-ID:  <201403272032.s2RKWxuF067847@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Thu Mar 27 20:32:58 2014
New Revision: 263838
URL: http://svnweb.freebsd.org/changeset/base/263838

Log:
  MFC r263692:
  
  Add a note to UPDATING about customized kernel configuration files now
  requiring -gdwarf-2 for debug info, when using clang 3.4.
  
  Suggested by:	adrian

Modified:
  stable/10/UPDATING
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/9/UPDATING   (contents, props changed)

Modified: stable/10/UPDATING
==============================================================================
--- stable/10/UPDATING	Thu Mar 27 20:21:13 2014	(r263837)
+++ stable/10/UPDATING	Thu Mar 27 20:32:58 2014	(r263838)
@@ -18,7 +18,16 @@ older version of current is a bit fragil
 
 
 20140321:
-	Clang and llvm have been upgraded to 3.4 release.
+	Clang and llvm have been upgraded to 3.4 release.  Please note that
+	clang 3.4 now defaults to DWARF4 debug information format when you
+	specify -g.  Since kgdb(1) only supports DWARF2, you should update any
+	customized kernel configurations which include debug information to
+	explicitly use -gdwarf-2, e.g:
+
+	  makeoptions	DEBUG=-gdwarf-2
+
+	This has already been applied to the appropriate GENERIC configuration
+	files, so if you inherit from those, no changes are required.
 
 20140306:
 	If a Makefile in a tests/ directory was auto-generating a Kyuafile



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403272032.s2RKWxuF067847>