mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
@@ -16,6 +16,9 @@ EXTRA_OEMAKE:append:libc-musl = "\
|
||||
"
|
||||
# libcollector/collector.c:547:15: error: no member named '__fprintf_chk' in 'struct CollectorUtilFuncs'
|
||||
EXTRA_OECONF:append:toolchain-clang = " --disable-gprofng"
|
||||
# | ../../../gprofng/libcollector/../src/collector_module.h:78:13: error: duplicate member 'pwrite'
|
||||
# | ../../../gprofng/libcollector/dispatcher.c:578:8: error: 'struct sigevent' has no member named '_sigev_un'
|
||||
EXTRA_OECONF:append:libc-musl = " --disable-gprofng"
|
||||
|
||||
EXTRA_OECONF:class-native = "--enable-targets=all \
|
||||
--enable-64-bit-bfd \
|
||||
|
||||
Reference in New Issue
Block a user