QA issue - ELF binary has relocations in .text

Hi,

When I’m doing the fresh Yocto build, I’m getting the below warning:

WARNING: mender-2.0.0-r0 do_package_qa: QA Issue: ELF binary ‘<build_dir>/tmp/work/aarch64-poky-linux/mender/2.0.0-r0/packages-split/mender/usr/bin/mender’ has relocations in .text [textrel]

I would like to know whether anyone has faced this similar warning during the build. Also, I would like to know how to avoid this warning.

Looking forward to your reply.
Thank you in advance,
Ajith P V

Are you building with a custom recipe? This check is already disabled in the official recipe.

1 Like

Thank you for your reply.

I’m using the sumo branch and see that this changes are not present:

I believe it should be present in all the branches :slight_smile:

I see. We would very much like a pull request to fix that! :slight_smile:

1 Like

I have created a PR for sumo :+1: