Skip to content

cmd/link: add more clang driver flags when testing flag [freeze exception] #76878

@cerisier

Description

@cerisier

This is a request for a freeze exception for https://go-review.googlesource.com/c/go/+/730561.

Patch https://go-review.googlesource.com/c/go/+/730561 implemented #76825 via #76858, adds more clang driver configuration flags to the list of allowed flags used when testing if a particular flag is supported by the external linker.
The linker behaviour is changed only if those flags are passed.

Given the small size and low risk of the change, I think that it's worth giving https://go-review.googlesource.com/c/go/+/730561 a freeze exception to support fully hermetic LLVM-only toolchains when cross-compiling CGO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Incoming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions