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 match host Go toolchain on linux/ppc64 #3335

Closed
mahiuchun opened this issue Oct 31, 2022 · 1 comment · Fixed by #3336
Closed

Fails to match host Go toolchain on linux/ppc64 #3335

mahiuchun opened this issue Oct 31, 2022 · 1 comment · Fixed by #3336

Comments

@mahiuchun
Copy link
Contributor

What version of rules_go are you using?

Git master

What version of gazelle are you using?

None

What version of Bazel are you using?

5.3.2

Does this issue reproduce with the latest releases of all the above?

Yes?

What operating system and processor architecture are you using?

linux/ppc64

Any other potentially useful information about your toolchain?

Go 1.19.2 toolchain for linux/ppc64 built from source

What did you do?

Basic usage with go_register_toolchains(version = "host") and go_binary targets.
The same WORKSPACE and BUILD files have been tested on other platforms such as darwin/arm64 and windows/amd64.
See: https://github.com/mahiuchun/adventofcode-2018

What did you expect to see?

It works like other platforms.

What did you see instead?

It errors with something like While resolving toolchains for target //day01:part2: no matching toolchains found for types @io_bazel_rules_go//go:toolchain

@fmeum
Copy link
Member

fmeum commented Oct 31, 2022

Could you run with '--toolchain_resolution_debug=.*' and post the log messages here?

Nvm, just saw your PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants