Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 19:21:15 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263692 - head
Message-ID:  <201403241921.s2OJLFuh050413@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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