From 4dd2293c7653d20a16aefae27d41577b781dec56 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 24 Mar 2014 19:21:14 +0000 Subject: 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 --- UPDATING | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'UPDATING') diff --git a/UPDATING b/UPDATING index 51d0b05..e5b1d55 100644 --- a/UPDATING +++ b/UPDATING @@ -44,7 +44,16 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW: 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 -- cgit v1.1