This nearly mirrors ld64's error for this case:
ld: warning: ignoring file path/to/file, file is universal (armv7,arm64) but does not contain the x86_64 architecture: path/to/file
Paths
| Differential D141729
[lld-macho] Improve invalid fat binary warning ClosedPublic Authored by keith on Jan 13 2023, 2:18 PM.
Details
Summary This nearly mirrors ld64's error for this case: ld: warning: ignoring file path/to/file, file is universal (armv7,arm64) but does not contain the x86_64 architecture: path/to/file
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 13 2023, 2:18 PM Comment Actions Thanks!! FWIW we don't usually strive for 1:1 matching of ld64's error messages, if anything we try to be more similar to the other LLD ports, but this seems good This revision is now accepted and ready to land.Jan 13 2023, 4:55 PM Closed by commit rGe46d939c0fe1: [lld-macho] Improve invalid fat binary warning (authored by keith). · Explain WhyJan 14 2023, 3:22 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 489318 lld/MachO/InputFiles.cpp
lld/test/MachO/fat-arch.s
|