# Yocto Project

[Fluent Bit](https://fluentbit.io) 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](https://github.com/fluent/fluent-bit/blob/master/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](https://github.com/fluent/fluent-bit/blob/1.0/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:

```
*** 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](https://github.com/fluent/fluent-bit), 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fluentbit.io/manual/1.0/installation/yocto.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
