michaeleisel / zld

A faster version of Apple's linker
MIT License
1.19k stars 50 forks source link

Add support for Apple Silicon #75

Closed thii closed 3 years ago

thii commented 3 years ago

Closes https://github.com/michaeleisel/zld/issues/73.

michaeleisel commented 3 years ago

Nice. Does it pass all unit tests when run on an arm Mac? (With the make job we have). I’d heard that the arm linker was at least planned to sign binaries during linking, so it seems like that’d mean we have to imitate it.

We can save that stuff for another PR, just curious

thii commented 3 years ago

It does, but I had to force building for arm only because abseil and tbb don't build when cross-compiling from an arm Mac.

thii commented 3 years ago

Not sure about the signing part, but a version built from this patch was able to link our app binary without any issue so far.

michaeleisel commented 3 years ago

👍