Skip to content

Commit

Permalink
Needs discussion: Mac Workaround for “symbol not found in flat namesp…
Browse files Browse the repository at this point in the history
…ace”

error and
ld: warning: -undefined dynamic_lookup may not work with chained fixups.

python/cpython#97524 (comment) Ronald Oussoren
> Another workaround is to target an older deployment target (before 11.0), but that's also not a long term solution.

This works and seems needed on my ARM M1 MacOS 12.7 21G816, when compiling with either Apple clang-1400.0.29.202
or Homebrew clang version 16.0.5.  The discussion there suggests that the Clang in Xcode 14.3 might fix this, but that
won’t run on my MacOS.
  • Loading branch information
FlashSheridan committed Oct 17, 2023
1 parent d2ff751 commit 7c64277
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.8)
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0" CACHE STRING "")
include(ProcessorCount)

project(Alive2)
Expand Down

0 comments on commit 7c64277

Please sign in to comment.