Opened 6 years ago
Last modified 6 years ago
#57629 closed defect
CMake won't build on MacOS (i386 architecture is deprecated). — at Initial Version
Reported by: | hipcrime | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | highsierra | Cc: | |
Port: | cmake |
Description
Since the most recent update, CMake refuses to build on MacOS. The failure generates tons of output, but the important bit is this:
:info:configure ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS) :info:configure ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd :info:configure ld: dynamic main executables must link with libSystem.dylib for architecture i386 :info:configure clang: error: linker command failed with exit code 1 (use -v to see invocation)