-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Jaeger agent arm support #1656
Comments
I will additionally note that I have successfully run the agent on arm64. It is only arm which has the problem. |
I believe there is a linter somewhere that verifies word alignment of struct fields used for synchronization. Having said that, uber-go/atomic looks fine as far as alignment https://github.com/uber-go/atomic/blob/master/atomic.go |
Yeah you are right. It's only one value. Alignment should not be an issue.
And the segfault it created in this method:
More information:
|
Hi there, just a update question: |
@arruda do you have any sources? We do not provide arm64 binaries for the operator (yet?) but I'd be interested in knowing what their plans are. |
@jpkrohling This were the places I've read this (not sure if this implementation indeed have a jaeger operator addon or not, but it sounds like it may have): And from another site a bit more detailed on the microk8 having the jaeger addon (just not sure how reliable the info from there is): |
Thanks for the reference! I wasn't aware of it, and it looks like it's indeed using the Jaeger Operator: https://microk8s.io/docs/addons As for the status, there is a PR that adds this to our CI, but it hasn't been merged yet: #1973. |
@jpkrohling I just tested building the all-in-one for the arm64 using |
I had intentions of contributing the arm64 support to travis CI, but still have yet to get around to #1973. |
Hi @jishminor! I am wondering will you propose a PR to add support for arm64 binary and container? If not, since I am working on another project which used jaeger tracing, I have a PR to support it :) Can I propose it? or I wait for yours? |
@MrXinWang If you have a PR ready to go, go ahead and propose it! |
@jishminor Thanks! PR #2176 created. |
Requirement - what kind of business use case are you trying to solve?
Run jaeger agent on armv7l architecture.
Problem - what in Jaeger blocks you from solving the requirement?
Running Jaeger agent on arm causes segfault in the go atomics library.
Line 99 here: https://golang.org/src/runtime/internal/atomic/atomic_arm.go
In go it is the responsibility of the developer to properly pad structs such that they are 64 bit aligned. Issue referenced here: golang/go#11891
Proposal - what do you suggest to solve the problem or improve the existing situation?
I have not identified the exact struct which is not properly mem aligned, but if found, rearranging the ordering of struct fields would solve the problem.
Stack Trace
The text was updated successfully, but these errors were encountered: