diff options
| author | Xiaozhan Li <Xiaozhan.Li.CN@windriver.com> | 2026-04-23 09:32:51 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-23 07:54:07 -0700 |
| commit | b5a792e209ed3e4b25c9a2a81f60f8737656f295 (patch) | |
| tree | baa899e8c1d2d80ccb41438144a95ca0934443c8 /meta-oe/recipes-devtools | |
| parent | 8c9adcfadb5fd99335f5b18059f49357e39736af (diff) | |
| download | meta-openembedded-b5a792e209ed3e4b25c9a2a81f60f8737656f295.tar.gz | |
jemalloc: fix always_inline build failure
Enable debug build flag in jemalloc to avoid error as below:
inlining failed in call to 'always_inline' 'heap_ph_cmp':
function not considered for inlining
Signed-off-by: Xiaozhan Li <Xiaozhan.Li.CN@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
| -rw-r--r-- | meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb index aa1f417604..edaaea26b6 100644 --- a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb +++ b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb | |||
| @@ -29,6 +29,8 @@ EXTRA_OECONF:append:libc-musl = " --with-jemalloc-prefix=je_" | |||
| 29 | # For some reason VERSION file populated only in tarball distribution. | 29 | # For some reason VERSION file populated only in tarball distribution. |
| 30 | # Adding jemalloc version since this recipe is using source code from git tag | 30 | # Adding jemalloc version since this recipe is using source code from git tag |
| 31 | EXTRA_OECONF:append = " --with-version=${PV_LONG} --enable-xmalloc" | 31 | EXTRA_OECONF:append = " --with-version=${PV_LONG} --enable-xmalloc" |
| 32 | # Enable jemalloc debug build flag if DEBUG_BUILD is enabled | ||
| 33 | EXTRA_OECONF:append = " ${@oe.utils.vartrue('DEBUG_BUILD', '--enable-debug=yes', '', d)}" | ||
| 32 | 34 | ||
| 33 | do_install:append() { | 35 | do_install:append() { |
| 34 | sed -i -e 's@${STAGING_DIR_HOST}@@g' \ | 36 | sed -i -e 's@${STAGING_DIR_HOST}@@g' \ |
