summaryrefslogtreecommitdiffstats
path: root/debian/patches/dwarf5-revert-default-doc.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dwarf5-revert-default-doc.diff')
-rw-r--r--debian/patches/dwarf5-revert-default-doc.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/dwarf5-revert-default-doc.diff b/debian/patches/dwarf5-revert-default-doc.diff
new file mode 100644
index 0000000..c8a6e4b
--- /dev/null
+++ b/debian/patches/dwarf5-revert-default-doc.diff
@@ -0,0 +1,14 @@
+# DP: Don't turn on DWARF 5 by default, where GCC 11 is not the default.
+
+--- a/src/gcc/doc/invoke.texi
++++ b/src/gcc/doc/invoke.texi
+@@ -9630,6 +9630,9 @@ version for most targets is 5 (with the
+ Darwin/Mac OS X, which default to version 2, and AIX, which defaults
+ to version 4).
+
++NOTE: On Ubuntu release, where GCC 11 is not used as the default (21.04
++and earlier releases), it defaults to version 4.
++
+ Note that with DWARF Version 2, some ports require and always
+ use some non-conflicting DWARF 3 extensions in the unwind tables.
+