Skip to content

Print contents of linker_param_file if --verbose_failures is enabled #15221

@jfirebaugh

Description

@jfirebaugh

Description of the feature request:

When a build with --verbose_failures fails on a link step which uses linker_param_file, the contents of linker_param_file should be printed as a regular command line would be.

This should include support for pretty printing the contents if --subcommands=pretty_print is enabled.

What underlying problem are you trying to solve with this feature?

Debugging the failure of a link action.

Which operating system are you running Bazel on?

macOS

What is the output of bazel info release?

release 5.0.0-homebrew

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

n/a

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

Labels

P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)not staleIssues or PRs that are inactive but not considered staleteam-Rules-CPPIssues for C++ rulestype: feature request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions