Skip to contentSkip to conversation

elfutils: ignore new error from gcc-9

PATCH In review Martin Jansa 2 participants 2 messages Jun 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 elfutils: ignore new error from gcc-9

---
 recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-devtools/elfutils/elfutils_0.148.bb +4 -0
index a03b74e..1f07a28 100644
@@ -57,6 +57,10 @@ SRC_URI += "\
 "
 inherit autotools gettext
 
+# There is a fix in 0.175 version (https://sourceware.org/bugzilla/show_bug.cgi?id=23884)
+# but 0.175 has different license, so to be safe don't backport the fix, just ignore the issue
+CFLAGS += "-Wno-error=missing-attributes"
+
 EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
 EXTRA_OECONF_append_class-native = " --without-bzlib"
 EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc"
Signature · 1 line
2.17.1
#1 lore raw

Pushed, thanks.

Ross

Quoted 29 lines · Martin Jansa
---
 recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-devtools/elfutils/elfutils_0.148.bb +4 -1
index a03b74e..1f07a28 100644
@@ -57,6 +57,10 @@ SRC_URI += "\
 "
 inherit autotools gettext
 
+# There is a fix in 0.175 version (https://sourceware.org/bugzilla/show_bug.cgi?id=23884)
+# but 0.175 has different license, so to be safe don't backport the fix, just ignore the issue
+CFLAGS += "-Wno-error=missing-attributes"
+
 EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
 EXTRA_OECONF_append_class-native = " --without-bzlib"
 EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc"
--

2.17.1

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto