diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-17 00:04:37 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-21 22:51:41 +0100 |
commit | cf0cd9b2195750d2e19fd15d68fc631ec824c64e (patch) | |
tree | 74ea3138a98bc0db8a0e0423d2f0c4402e5bc700 /meta/recipes-devtools/binutils | |
parent | e5af467dde344165d828840421df4e6e07d1152c (diff) | |
download | poky-cf0cd9b2195750d2e19fd15d68fc631ec824c64e.tar.gz |
binutils: Disable gprofng when using clang
It does not yet compile with clang it comes with __ builtin___snprintf_chk Not Supported
formatted output of built-in functions check is failing with clang
somehow it seems to be compiler limitation. Therefore disable building
this component with clang for now
(From OE-Core rev: 5f4b6afb030fe75247cc2da09cdf0ec5259673df)
(From OE-Core rev: 0b3cff906c469bb9d6dfc7fafe385243d00f1c2b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.bb | 3 |
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 8eab78c330..863eedbcbd 100644 --- a/meta/recipes-devtools/binutils/binutils_2.39.bb +++ b/meta/recipes-devtools/binutils/binutils_2.39.bb | |||
@@ -14,6 +14,9 @@ EXTRA_OEMAKE:append:libc-musl = "\ | |||
14 | gt_cv_func_gnugettext1_libc=yes \ | 14 | gt_cv_func_gnugettext1_libc=yes \ |
15 | gt_cv_func_gnugettext2_libc=yes \ | 15 | gt_cv_func_gnugettext2_libc=yes \ |
16 | " | 16 | " |
17 | # libcollector/collector.c:547:15: error: no member named '__fprintf_chk' in 'struct CollectorUtilFuncs' | ||
18 | EXTRA_OECONF:append:toolchain-clang = " --disable-gprofng" | ||
19 | |||
17 | EXTRA_OECONF:class-native = "--enable-targets=all \ | 20 | EXTRA_OECONF:class-native = "--enable-targets=all \ |
18 | --enable-64-bit-bfd \ | 21 | --enable-64-bit-bfd \ |
19 | --enable-install-libiberty \ | 22 | --enable-install-libiberty \ |