summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-18 13:27:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-21 22:51:41 +0100
commit7ab2366d1608a5311e26295613759b04254090aa (patch)
tree2a0232b30174ac7ac04a8a9ba0034fa2c592a69c /meta/recipes-devtools/binutils
parent72aae2674a66f3f7b2e0dd003f15efee8d77aef2 (diff)
downloadpoky-7ab2366d1608a5311e26295613759b04254090aa.tar.gz
binutils: Disable gprofng on musl systems
disable gprofng, as it depends on few glibc apis | ../../../gprofng/libcollector/../src/collector_module.h:78:13: error: duplicate member 'pwrite' | 78 | ssize_t (*pwrite64)(); | | ^~~~~~~~ | ../../../gprofng/libcollector/dispatcher.c: In function 'collector_timer_create': | ../../../gprofng/libcollector/dispatcher.c:578:8: error: 'struct sigevent' has no member named '_sigev_un' | 578 | sigev._sigev_un._tid = __collector_gettid (); | | ^ (From OE-Core rev: 41869d81347f43aa0e4d625aec88c551321dcded) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.39.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.39.bb b/meta/recipes-devtools/binutils/binutils_2.39.bb
index 863eedbcbd..67240383f7 100644
--- a/meta/recipes-devtools/binutils/binutils_2.39.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.39.bb
@@ -16,6 +16,9 @@ EXTRA_OEMAKE:append:libc-musl = "\
16 " 16 "
17# libcollector/collector.c:547:15: error: no member named '__fprintf_chk' in 'struct CollectorUtilFuncs' 17# libcollector/collector.c:547:15: error: no member named '__fprintf_chk' in 'struct CollectorUtilFuncs'
18EXTRA_OECONF:append:toolchain-clang = " --disable-gprofng" 18EXTRA_OECONF:append:toolchain-clang = " --disable-gprofng"
19# | ../../../gprofng/libcollector/../src/collector_module.h:78:13: error: duplicate member 'pwrite'
20# | ../../../gprofng/libcollector/dispatcher.c:578:8: error: 'struct sigevent' has no member named '_sigev_un'
21EXTRA_OECONF:append:libc-musl = " --disable-gprofng"
19 22
20EXTRA_OECONF:class-native = "--enable-targets=all \ 23EXTRA_OECONF:class-native = "--enable-targets=all \
21 --enable-64-bit-bfd \ 24 --enable-64-bit-bfd \