From 54c00f606933d78324a2d66512ff3d68d7ed6930 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 27 Mar 2014 20:32:58 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.freebsd.org/base/stable/9@263838 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- UPDATING | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/UPDATING b/UPDATING index f9a95c5a2..7aa2f5a29 100644 --- a/UPDATING +++ b/UPDATING @@ -12,7 +12,16 @@ Items affecting the ports and packages system can be found in /usr/ports/UPDATING. Please read that file before running portupgrade. 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. 20140216: The nve(4) driver for NVIDIA nForce MCP Ethernet adapters has -- 2.45.0