We had got it backwards... the minimum version of the target
should be higher than the min version of the object files, presumably
since new platforms are backwards-compatible with older formats.
Fixes PR50078.
Paths
| Differential D101114
[lld-macho] Fix min version check ClosedPublic Authored by int3 on Apr 22 2021, 2:58 PM.
Details
Summary We had got it backwards... the minimum version of the target Fixes PR50078.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 22 2021, 3:13 PM This revision was landed with ongoing or failed builds.Apr 22 2021, 3:26 PM Closed by commit rGaa05439c9cde: [lld-macho] Fix min version check (authored by int3). · Explain Why This revision was automatically updated to reflect the committed changes. int3 added a reverting change: rG75ecb804b11f: Revert "[lld-macho] Fix min version check".Apr 22 2021, 4:08 PM Comment Actions I goofed and forgot to run the rest of the test suite before landing. Turns out we had silent version mismatches everywhere. I've temporarily made our tests target the older version in rG8c17a875150f8e736e8f9061ddf084397f45f4c5, but will follow up with a diff to make everything just target a modern version instead.
Revision Contents
Diff 339797 lld/MachO/InputFiles.cpp
lld/test/MachO/invalid/incompatible-arch.s
|