Skip to contentSkip to conversation

gdb: Fix build with latest clang

PATCH New Khem Raj 1 participant 1 message Aug 28, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gdb: Fix build with latest clang

This patch is already proposed upstream and perhaps landing soon in gdb master.

---
 meta/recipes-devtools/gdb/gdb.inc             |   1 +
 ...constexpr-conversion-in-enum-flags.h.patch | 313 ++++++++++++++++++
 2 files changed, 314 insertions(+)
 create mode 100644 meta/recipes-devtools/gdb/gdb/0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch
meta/recipes-devtools/gdb/gdb.inc +1 -0
index 6fdf11d3944..6aa9dced869 100644
@@ -12,5 +12,6 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
            file://0005-Change-order-of-CFLAGS.patch \
            file://0006-Fix-invalid-sigprocmask-call.patch \
            file://0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
+           file://0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch \
            "
 SRC_URI[sha256sum] = "38254eacd4572134bca9c5a5aa4d4ca564cbbd30c369d881f733fb6b903354f2"
meta/recipes-devtools/gdb/gdb/0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch new file +313 -0

313 lines not on this page · raw message