summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/codeparser.py
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-07-09 15:31:58 +0800
committerSteve Sakoman <steve@sakoman.com>2024-07-23 06:05:47 -0700
commiteb7fde3372ace65b78809668b95022dfa6f07684 (patch)
tree6d7cd72fa53b80f12f4fa4c048ec984cc40972b7 /bitbake/lib/bb/codeparser.py
parent45080a022efdaa0b003609c182c241bbf558d7aa (diff)
downloadpoky-eb7fde3372ace65b78809668b95022dfa6f07684.tar.gz
vulkan-samples: fix do_compile error when -Og enabled
When debug build is enabled(-Og is used), vulkan-samples do_compile failed with error: In function 'ZSTD_compressBlock_lazy_generic', inlined from 'ZSTD_compressBlock_greedy' at TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21914:12: TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21551:30: error: inlining failed in call to 'always_inline' 'ZSTD_HcFindBestMatch_selectMLS': function not considered for inlining | FORCE_INLINE_TEMPLATE size_t ZSTD_HcFindBestMatch_selectMLS ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21736:32: note: called from here | size_t const ml2 = searchMax(ms, ip, iend, &offsetFound); Refer [1], always_inline is not suggested to use with indirect function call, replace always_inline with inline to fix the issue [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 (From OE-Core rev: cfff19bb3fae45e62f77e860a4413669a6dc0e81) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 246de52fe59de0612d1145357c5e904a51363c8c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'bitbake/lib/bb/codeparser.py')
0 files changed, 0 insertions, 0 deletions