From: Khem Raj Date: Thu, 18 Aug 2022 20:27:57 +0000 (-0700) Subject: binutils: Disable gprofng on musl systems X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3220 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41869d81347f43aa0e4d625aec88c551321dcded;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 (); | | ^ Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/binutils/binutils_2.39.bb b/meta/recipes-devtools/binutils/binutils_2.39.bb index 863eedbcbd9..67240383f72 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 = "\ " # 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 \