Skip to content

ld64.lld doesn't seem to support arm64e #79543

Open
@glandium

Description

@glandium
$ echo "int main() { return 0; }" > foo.c
$ clang --target=arm64e-apple-darwin -o foo foo.c -isysroot /path/to/MacOSX14.2.sdk -fuse-ld=lld
$ file foo
foo: Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>

When using plain ld64:

$ clang --target=arm64e-apple-darwin -o foo foo.c -isysroot /path/to/MacOSX14.2.sdk
$ file foo
foo: Mach-O 64-bit arm64e 00) executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions