From e874e9b95d2e90c7f821c4859c8d7c68c99da2f3 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Wed, 7 Dec 2022 19:54:49 -0500 Subject: [PATCH] Add lack Dwarf5 support to release notes Part of #198 --- NewAndNoteworthy/CDT-11.0.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NewAndNoteworthy/CDT-11.0.md b/NewAndNoteworthy/CDT-11.0.md index 80343f03d30..8053a95eba2 100644 --- a/NewAndNoteworthy/CDT-11.0.md +++ b/NewAndNoteworthy/CDT-11.0.md @@ -34,6 +34,11 @@ Please see the corresponding issue for more details. - `org.eclipse.cdt.lsp.cquery` - `org.eclipse.cdt.lsp.ui` +## Dwarf Versions + +Starting with GCC 11, GCC will default to using Dwarf5 in most circumstances. CDT does not yet support Dwarf5 and therefore to ensure compatibility with CDT compile your programs with `-gdwarf-4`. +For more information, refer to the [GCC 11 release notes](https://gcc.gnu.org/gcc-11/changes.html) and see CDT's tracking issue https://github.com/eclipse-cdt/cdt/issues/198. + # Build ## Scanner Discovery able to consider all flags