diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-28 16:39:33 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-28 16:41:09 -0800 |
commit | 371b16a14e1131a8f8858a033596f4d7fe7499a5 (patch) | |
tree | f7e3eeaa524a8708d3519abdfa30cea2cf75b5b6 | |
parent | ae4adf2849eb23c7ea1dd53fe5d0c06c840a18a1 (diff) | |
download | meta-openembedded-371b16a14e1131a8f8858a033596f4d7fe7499a5.tar.gz |
fluentbit: Link with libatomic on riscv
jemalloc uses libatomic functions
Fixes
../lib/libjemalloc_pic.a(extent_dss.pic.o): in function `extent_dss_extend
ing_start':
| /usr/src/debug/fluentbit/1.3.5-r0/fluent-bit-1.3.5/lib/jemalloc-5.2.1/src/extent_dss.c:75: undefined reference to `__atomic_compare
_exchange_1'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb index d8cb8b5e8..06895a03a 100644 --- a/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb +++ b/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb | |||
@@ -43,6 +43,8 @@ EXTRA_OECMAKE += "-DFLB_SHARED_LIB=Off -DFLB_EXAMPLES=Off " | |||
43 | 43 | ||
44 | EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES','systemd','-DFLB_SYSTEMD=On','',d)}" | 44 | EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES','systemd','-DFLB_SYSTEMD=On','',d)}" |
45 | 45 | ||
46 | EXTRA_OECMAKE_append_riscv64 = " -DFLB_DEPS='atomic'" | ||
47 | |||
46 | # Kafka Output plugin (disabled by default): note that when | 48 | # Kafka Output plugin (disabled by default): note that when |
47 | # enabling Kafka output plugin, the backend library librdkafka | 49 | # enabling Kafka output plugin, the backend library librdkafka |
48 | # requires 'openssl' as a dependency. | 50 | # requires 'openssl' as a dependency. |