svn commit: r263692 - head

Dimitry Andric dim at FreeBSD.org
Mon Mar 24 19:21:15 UTC 2014


Author: dim
Date: Mon Mar 24 19:21:14 2014
New Revision: 263692
URL: http://svnweb.freebsd.org/changeset/base/263692

Log:
  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
  MFC after:	3 days

Modified:
  head/UPDATING

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Mon Mar 24 19:15:13 2014	(r263691)
+++ head/UPDATING	Mon Mar 24 19:21:14 2014	(r263692)
@@ -44,7 +44,16 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
 	to do so. Set WITHOUT_GPL_DTC if you require the BSDL compiler.
 
 20140216:
-	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.
 
 20140216:
 	The nve(4) driver has been removed.  Please use the nfe(4) driver


More information about the svn-src-head mailing list