-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
question: how to fix bazel errors when cross-compiling for arm64? #11446
Comments
I have looked into |
More specifically, what I don't get is:
|
This comment has been minimized.
This comment has been minimized.
I have managed to overcome the LDFLAGS issue with a fairly simple fix (bazel-contrib/rules_foreign_cc#407). I'll share an update if I run into anything else, or will be sure to close the issue otherwise. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
For the record, bazel-contrib/rules_foreign_cc#407 has been merged and I'll open a PR here to update the dependency. |
Good news: I have built Envoy successfully now, yet with quite a few tweaks, which can be found in my branch. I'd like to open a PR at some point, but it would help if someone could help me to resolve some of the underlying issues that I've managed to bypass. |
The aim is to fix one of the issues encountered while cross-compiling Envoy (see envoyproxy#11446 and bazel-contrib/rules_foreign_cc#407). Signed-off-by: Ilya Dmitrichenko <[email protected]>
The aim is to fix one of the issues encountered while cross-compiling Envoy (see envoyproxy#11446 and bazel-contrib/rules_foreign_cc#407). Signed-off-by: Ilya Dmitrichenko <[email protected]>
The aim is to fix one of the issues encountered while cross-compiling Envoy (see #11446 and bazel-contrib/rules_foreign_cc#407). Signed-off-by: Ilya Dmitrichenko <[email protected]>
The aim is to fix one of the issues encountered while cross-compiling Envoy (see envoyproxy#11446 and bazel-contrib/rules_foreign_cc#407). Signed-off-by: Ilya Dmitrichenko <[email protected]> Signed-off-by: yashwant121 <[email protected]>
The aim is to fix one of the issues encountered while cross-compiling Envoy (see envoyproxy#11446 and bazel-contrib/rules_foreign_cc#407). Signed-off-by: Ilya Dmitrichenko <[email protected]>
The aim is to fix one of the issues encountered while cross-compiling Envoy (see envoyproxy#11446 and bazel-contrib/rules_foreign_cc#407). Signed-off-by: Ilya Dmitrichenko <[email protected]> Signed-off-by: yashwant121 <[email protected]>
There had been a few issue regarding arm64 (#10512, #7686 & #1861), but this one is not a feature request.
I have attempted to configure Bazel to cross-compile for arm64, but I am facing a roadblock.
Here is what I did:
When I test my changes, I get this:
I'm using a container image for this, so anyone should be able to reproduce easily:
I'd love some help here, would be happy to contribute back once I have it working!
The text was updated successfully, but these errors were encountered: