openzfs icon indicating copy to clipboard operation
openzfs copied to clipboard

Upstream: fix linkage on macOS 12

Open ilovezfs opened this issue 4 years ago • 2 comments

These changes prevent "dyld[678]: symbol not found in flat namespace" for several symbols.

Xcode 13 and/or Monterey has stricter checks for undefined symbols. Note that binaries running on macOS 12, but built on macOS 11 with Xcode 12, don't trigger these checks for some reason.

ilovezfs avatar Jun 11 '21 00:06 ilovezfs

I believe it is due to ZOL moving to "-fvisibility=hidden" for libraries, which appears to be ignored (not supported?) in XCode 12.

lundman avatar Jun 17 '21 00:06 lundman

We'll need to check if these changes are still necessary (and if any other changes are needed) with macOS Monterey 12.0.1, which was released today.

ilovezfs avatar Oct 26 '21 04:10 ilovezfs