svn commit: r263838 - in stable: 10 9

Dimitry Andric dim at FreeBSD.org
Thu Mar 27 20:32:59 UTC 2014


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


More information about the svn-src-all mailing list