Yocto Project

Fluent Bit source code provides Bitbake recipes to configure, build and package the software for a Yocto based image. Note that specific steps of usage of these recipes in your Yocto environment (Poky) is out of the scope of this documentation.

We distribute two main recipes, one for testing/dev purposes and other with the latest stable release.

Version Recipe Description
devel fluent-bit_git.bb Build Fluent Bit from GIT master. This recipe aims to be used for development and testing purposes only.
v1.0.6 fluent-bit_1.0.6.bb Build latest stable version of Fluent Bit.

It’s strongly recommended to always use the stable release of Fluent Bit recipe and not the one from GIT master for production deployments.

Notes about AArch64

When Fluent Bit series v1.0.x is build for an AArch64 target platform, the default backend mechanism for co-routines will be sigaltstack(2), if the compiler flags specified _FORTIFY_SOURCE, it will generate an explicit crash with an error message similar to this one:

  1. *** longjmp causes uninitialized stack frame ***: ...

the workaround for this problem is to remove the _FORTIFY_SOURCE from the build system.

Fluent Bit v1.1.0 (dev) and native AArch64 support

Fluent Bit v1.1.0 which is under active development on GIT Master, already integrates native AArch64 support where stack switches for co-routines are done through native ASM calls, on this scenario there is no issues as the one faced with _FORTIFY_SOURCE in previous 1.0.x series.