diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2022-06-09 16:51:08 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-06-30 13:39:27 -0400 |
| commit | be8c2c6df9bd49eeef8417fd83c53703b9f8e53d (patch) | |
| tree | b8e8d7e724441e99218275f6788dece5bb58eb4c /meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch | |
| parent | bb37bf94c65db49520bdf8a6c93cf40225270154 (diff) | |
| download | meta-openembedded-be8c2c6df9bd49eeef8417fd83c53703b9f8e53d.tar.gz | |
kronosnet: Fix build with gcc-12
Fix the build failure when debug build is enabled.
Add DEBUG_BUILD = "1" in conf/local.conf.
$ bitbake kronosnet
| /build/tmp-glibc/work/corei7-64-wrs-linux/kronosnet/1.22-r0/recipe-sysroot/usr/include/bits/string_fortified.h:59:10: error: 'link' may be used uninitialized [-Werror=maybe-uninitialized]
| 59 | return __builtin___memset_chk (__dest, __ch, __len,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 60 | __glibc_objsize0 (__dest));
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../../git/libknet/links.c: In function 'knet_link_set_config':
| ../../git/libknet/links.c:108:27: note: 'link' was declared here
| 108 | struct knet_link *link;
| | ^~~~
| cc1: all warnings being treated as errors
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch')
0 files changed, 0 insertions, 0 deletions
