Closed mouse07410 closed 1 month ago
Found the culprit. :-(
My build script was adding -D_LIBCPP_DISABLE_AVAILABILITY
flag - I don't recall now when or why it was added.
Removing it restored the build. Sorry for the noise!
P.S. If you understand what was going on, could you please kindly enlighten me?
Something changed with the upgrade from Xcode-15.x to Xcode-16.0. As a result, I cannot link
botan
anymore:build:
and attempt to run the created executable (I install it as
botan3
to avoid collision withbotan
from Botan-2 package):MacOS Sonoma 14.7, Xcode-16.0.
Update
I forgot the most important part: the underlying hardware is Apple Silicon M2 Max. In other words, Apple ARM. On Intel-based Mac it compiles and works OK. It also compiles fine on M2 with Xcode-15.4. But Apple Silicon with Xcode-16.0 or Xcode-16.1-beta2 manifest this problem.