-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
targeting java language level 17 or using a java_runtime_level 17 causes build failures on arm64 linux #14937
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Rules-Java
Issues for Java rules
type: feature request
Comments
comius
added
P3
We're not considering working on this, but happy to review a PR. (No assignee)
type: feature request
and removed
untriaged
type: bug
labels
Mar 10, 2022
linux on arm64 is becoming a more mainstream platform with docker on Apple silicon macs as well as Amazon's Graviton offerings. It is unfortunate that specifying java language level 17 with the latest released versions of bazel will fail with a fairly cryptic error message "no matching toolchains found". Java 17 is an LTS release that was released almost a year ago. |
nresare
added a commit
to nresare/bazel
that referenced
this issue
Aug 13, 2022
nresare
added a commit
to nresare/bazel
that referenced
this issue
Aug 15, 2022
nresare
added a commit
to nresare/bazel
that referenced
this issue
Sep 6, 2022
nresare
added a commit
to nresare/bazel
that referenced
this issue
Sep 6, 2022
nresare
added a commit
to nresare/bazel
that referenced
this issue
Sep 6, 2022
nresare
added a commit
to nresare/bazel
that referenced
this issue
Sep 6, 2022
aiuto
pushed a commit
to aiuto/bazel
that referenced
this issue
Oct 12, 2022
Closes bazelbuild#14937 Closes bazelbuild#16103. PiperOrigin-RevId: 472802039 Change-Id: I4125d542bc52c30c3040939d3ad40b47dd664643
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Rules-Java
Issues for Java rules
type: feature request
Description of the problem / feature request:
seems that there's no jdk for linux arm64 for java 17...I didn't find any open or closed issues about this so opening this one
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
see below for examples...
What operating system are you running Bazel on?
can fail on any system if targeting linux arm64, but will always fail on an arm64 linux host not cross-compiling for jdk 17 or using the java 17 runtime.
What's the output of
bazel info release
?5.0
Have you found anything relevant by searching the web?
nothing in the issue tracker
Any other information, logs, or outputs that you want to share?
forcing linux x86_64 works fine:
forcing linux arm64 does not:
The text was updated successfully, but these errors were encountered: