Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on ARMEL #3128

Closed
santiagorr opened this issue Nov 6, 2024 · 0 comments · Fixed by #3129
Closed

Fails to build on ARMEL #3128

santiagorr opened this issue Nov 6, 2024 · 0 comments · Fixed by #3129
Labels
bug Something isn't working

Comments

@santiagorr
Copy link
Contributor

Describe your environment
Debian unstable on armel (32-bit little-endian ARM architecture using the Embedded ABI - v5te instruction set)

Steps to reproduce
Build opentelemetry-cpp on armel.

What is the expected behavior?
Successful build.

What is the actual behavior?

The build fails because of:

[  8%] Building CXX object api/test/trace/CMakeFiles/api_provider_test.dir/provider_test.cc.o
cd /home/santiago/opentelemetry-cpp-1.17.0/obj-arm-linux-gnueabi/api/test/trace && /usr/bin/c++ -DHAVE_ABSEIL -DOPENTELEMETRY_ABI_VERSION_NO=1 -I/home/santiago/opentelemetry-cpp-1.17.0/obj-arm-linux-gnueabi/generated/third_party/opentelemetry-proto -I/home/santiago/opentelemetry-cpp-1.17.0/api/include -g -O2 -ffile-prefix-map=/home/santiago/opentelemetry-cpp-1.17.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=deprecated-declarations -DGTEST_HAS_PTHREAD=1 -MD -MT api/test/trace/CMakeFiles/api_provider_test.dir/provider_test.cc.o -MF CMakeFiles/api_provider_test.dir/provider_test.cc.o.d -o CMakeFiles/api_provider_test.dir/provider_test.cc.o -c /home/santiago/opentelemetry-cpp-1.17.0/api/test/trace/provider_test.cc 
/tmp/cc6SyTzU.s: Assembler messages:
/tmp/cc6SyTzU.s:18172: Error: selected processor does not support `yield' in ARM mode
/tmp/cc6SyTzU.s:22037: Error: selected processor does not support `yield' in ARM mode
make[3]: *** [api/test/trace/CMakeFiles/api_provider_test.dir/build.make:79: api/test/trace/CMakeFiles/api_provider_test.dir/provider_test.cc.o] Error 1

You can see a build full log (with parallel jobs) at: https://buildd.debian.org/status/fetch.php?pkg=opentelemetry-cpp&arch=armel&ver=1.17.0-1&stamp=1730821961&raw=0

Additional context
N/A

I will propose a fix for this.

@santiagorr santiagorr added the bug Something isn't working label Nov 6, 2024
@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Nov 6, 2024
@marcalff marcalff removed the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants