On 02/09/2020 04:22, Khem Raj wrote:
Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
.../recipes-devtools/elfutils/elfutils_0.180.bb | 1 +
.../elfutils/files/ldflags.patch | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
create mode 100644 meta/recipes-devtools/elfutils/files/ldflags.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.180.bb
b/meta/recipes-devtools/elfutils/elfutils_0.180.bb
index 9f8bfc24f3..d3ee750725 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.180.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.180.bb
@@ -20,6 +20,7 @@ SRC_URI =
"https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
file://run-ptest \
file://ptest.patch \
file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
+ file://ldflags.patch \
"
SRC_URI_append_libc-musl = " \
file://0001-musl-obstack-fts.patch \
diff --git a/meta/recipes-devtools/elfutils/files/ldflags.patch
b/meta/recipes-devtools/elfutils/files/ldflags.patch
new file mode 100644
index 0000000000..ef1d65e2c3
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/ldflags.patch
@@ -0,0 +1,17 @@
+Pass linker flags along to CCLD, this ensures proper linking
+w.r.t. hash_style selection during cross-compile
Did you re-run the test suite? That binary is explicitly compiled with
minimal flags, so adding the LDFLAGS might actually break the test. For
the same reason, you can set Upstream-Status to Inappropriate.
I've a fix here for the same issue that uses INSANE_SKIP instead.
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142103):
https://lists.openembedded.org/g/openembedded-core/message/142103
Mute This Topic: https://lists.openembedded.org/mt/76575778/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-