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

Map file support for cc_binary rule #6718

Open
lisaonduty opened this issue Nov 20, 2018 · 5 comments
Open

Map file support for cc_binary rule #6718

lisaonduty opened this issue Nov 20, 2018 · 5 comments
Labels
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

@lisaonduty
Copy link

Description of the problem / feature request:

We request support of map file as implicit output target for the cc_binary rule.
According to documentation only name.stripped and name.dwp are supported output targets. But it also seems to accept name.pdb files.
We use the sandbox-build and want to continue with that.

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

We need map-files in our builds so as a work-around we call it name.pdb instead of name.map in this way it can be used by Bazel rules.

What operating system are you running Bazel on?

Linux

What's the output of bazel info release?

0.18.0

Have you found anything relevant by searching the web?

https://groups.google.com/forum/#!topic/bazel-discuss/A00d7Ui1f8s

@dslomov dslomov added team-Rules-CPP Issues for C++ rules untriaged labels Nov 26, 2018
@hlopko hlopko added type: feature request P3 We're not considering working on this, but happy to review a PR. (No assignee) and removed untriaged labels Jan 14, 2019
@hlopko hlopko self-assigned this Jan 14, 2019
@hlopko hlopko removed their assignment Dec 6, 2019
@c-mita c-mita added P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) and removed P3 We're not considering working on this, but happy to review a PR. (No assignee) labels Nov 23, 2020
@DhanalakshmiDurairaj
Copy link

Hi
Greetings to all,
I am working on GHS toolchain. Ccarm compiler generates “per object debug info file” by providing the flag -G and the extension of the file is .dbo. Debug info file for the archive is .dba. GCC toolchain generates per object debug info file with the extension of .dwo and .dwp (for archive) by providing the flag -gsplit-dwarf. Moreover, I am trying to produce .map file also. How to get these outputs (.dbo,.dba and .map)? Please guide me, is there any way to achieve this without using custom rules?

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. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.

@github-actions github-actions bot added the stale Issues or PRs that are stale (no activity for 30 days) label May 28, 2024
@adzenith
Copy link
Contributor

This is still relevant!

@t-8ch
Copy link
Contributor

t-8ch commented May 31, 2024

This should be implemented

@adzenith
Copy link
Contributor

Ah, look at that! Thank you!
#20966

@github-actions github-actions bot removed the stale Issues or PRs that are stale (no activity for 30 days) label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

7 participants