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

Add as_executable to CcToolchainInfo #10344

Open
IljaKroonen opened this issue Dec 2, 2019 · 4 comments
Open

Add as_executable to CcToolchainInfo #10344

IljaKroonen opened this issue Dec 2, 2019 · 4 comments
Labels
not stale Issues or PRs that are inactive but not considered stale P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) team-Rules-CPP Issues for C++ rules type: feature request

Comments

@IljaKroonen
Copy link

Description of the feature request:

Like we have an ld_executable and an ar_executable on the CcToolchainInfo API, add an as_executable, which gives a string to the assembler executable.

Feature requests: what underlying problem are you trying to solve with this feature?

When calling the graalvm native-image executable, that executable does, in turn, call the compiler. The path to the compiler can be specified with an option. However, gcc then tries to call ld (which is fine because it is already present in the toolchain), followed by as, which is not exposed in the toolchain API.

Relevant issue here.

What operating system are you running Bazel on?

The graal rules support mac OS and linux.

Have you found anything relevant by searching the web?

This issue asks for the same thing on the legacy api. However, it's not clear why it was closed when the new API was introduced, since the new API seemingly also does not have it.

#5494

@irengrig irengrig added team-Rules-CPP Issues for C++ rules untriaged labels Dec 2, 2019
@scentini
Copy link
Contributor

cc @oquenchil

@scentini scentini added P2 We'll consider working on this in future. (Assignee optional) and removed untriaged labels Dec 11, 2019
@oquenchil oquenchil added P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) type: feature request and removed P2 We'll consider working on this in future. (Assignee optional) labels Nov 19, 2020
@googleson78
Copy link

Also hitting this when trying to do remote builds.

@github-actions
Copy link

Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team (@bazelbuild/triage) if you think this issue is still relevant or you are interested in getting the issue resolved.

@github-actions github-actions bot added the stale Issues or PRs that are stale (no activity for 30 days) label Aug 12, 2023
@googleson78
Copy link

bump

@brentleyjones brentleyjones added not stale Issues or PRs that are inactive but not considered stale and removed stale Issues or PRs that are stale (no activity for 30 days) labels Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not stale Issues or PRs that are inactive but not considered stale P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) team-Rules-CPP Issues for C++ rules type: feature request
Projects
None yet
Development

No branches or pull requests

6 participants