Closed santiagorr closed 2 weeks ago
The committers listed above are authorized under a signed CLA.
Name | Link |
---|---|
Latest commit | 3b6d64a7b627c3e97a9bf7f2889874749f0e9462 |
Latest deploy log | https://app.netlify.com/sites/opentelemetry-cpp-api-docs/deploys/672d2ffc9d57ce0008cab190 |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.85%. Comparing base (
497eaf4
) to head (3b6d64a
). Report is 157 commits behind head on main.
Changes
The yield instruction was introduced in ARM processors more recent than armel. So building in armel ends up in "Error: selected processor does not support `yield' in ARM mode". Also, the __yield() intrinsic instruction is not understood for armel by g++. So let's do nothing for armel.
This armel build CI job has the patch applied: https://salsa.debian.org/science-team/opentelemetry-cpp/-/jobs/6543996
Ref: https://developer.arm.com/documentation/ddi0406/b/Application-Level-Architecture/Application-Level-Programmers--Model/Exceptions--debug-events-and-checks/The-Yield-instruction?lang=en
Fixes #3128
P.S. Example of other project handling similar instructions in different architectures: https://github.com/geidav/spinlocks-bench/blob/master/os.hpp#L31