Skip to content

*-ld.lld linker not recognized as "lld" #117834

Closed
@androm3da

Description

@androm3da

clang provides hexagon-link specific link arguments such as -mcpu=hexagonv65 and -march=hexagon when hexagon-unknown-linux-musl-ld.lld is found. lld rejects this with the following error:

hexagon-unknown-linux-musl-ld.lld: error: unknown emulation: cpu=hexagonv65

clang should instead handle this as it does for the case when ld.lld is found in the PATH when hexagon-unknown-linux-musl-clang -fuse-ld=lld ... is invoked.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions