-
Notifications
You must be signed in to change notification settings - Fork 781
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
arm builds are linked against wrong library #1317
Comments
Thanks for the report @errnoh This looks like this might be a case of this issue.. golang/go#12443 I'll try the solutions they discuss there and see what I can come up with. |
@errnoh Could you run these and paste the output here. Thanks.
|
Thank for the reply @eikenb, here you go:
|
I think what is going on is that the docs I read and based my compiles on must have not been 100% right or complete. According to it a binary compiled with That issue I mentioned (golang/go#12443) seems to indicate it should work, but I've tried with the settings they suggest (-mfloat-abi=hard) and it didn't change the linking with I'm thinking I'll just change the 32bit ARM support to be 6+ and use I'm going to be doing a minor release soon and will include the change in the ARM compiler setup then as it sounds like you have a workaround for now. If you need a build before then, I can look into doing a one-off for you. |
The 32 bit arm build that was supposed to work on both arm5 and arm6 won't run on systems without moving files around due to linking/naming clashes. So we're changing the arm6 build to use arm-linux-gnueabihf-gcc, which links against the expected libraries. At this point we're just going to drop support for arm5 as I don't think anyone is using it and it's starting to become obsolete. Fixes #1317
ARM builds for
consul-template
are linked against non-arm library, resulting in them not being executable.Comparison of dynamically linked
nomad
build and dynamically linkedconsul-template
build:There's a workaround for this: copy/symlink the armhf library to the location consul-template expects it to be at, but that's not solving the real issue.
NOTE: Probably only affects
arm
and notarm64
:arm64:
consul-template: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, stripped
The text was updated successfully, but these errors were encountered: