root-project / root

The official repository for ROOT: analyzing, storing and visualizing big data, scientifically
https://root.cern
Other
2.72k stars 1.3k forks source link

No graphics on MacOS 15.0 due to cocoa #16428

Closed meiyasan closed 2 months ago

meiyasan commented 2 months ago

Check duplicate issues.

Description

On MacOS Sequoia 15, I compiled using branch v6.32.00-patches using the following cmake commands :

$ root -l 
new TBroot [0] new TBrowser

 *** Break *** bus error
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] PNGReadPlugin::InitializePluginData(IIOImageReadSession*, IIODictionary*, IIODictionary*, CGImageMetadata*, CGColorSpace**, ReadPluginData&, PNGPluginData&, __CFDictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOReadPlugin::callInitialize() (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIO_Reader::initImageAtOffset(CGImagePlugin*, unsigned long, unsigned long, unsigned long) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::makeImagePlus(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::getPropertiesAtIndexInternal(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::copyPropertiesAtIndex(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] CGImageSourceCopyPropertiesAtIndex (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] ImageSourceOptionsForCGImageSource_index_ (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imagesWithData:hfsFileType:extension:zone:expandImageContentNow:includeAllReps:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imageRepsWithData:hfsFileType:extension:expandImageContentNow:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSImageRep _imageRepsWithContentsOfURL:expandImageContentNow:giveUpOnNetworkURLsWithoutGoodExtensions:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] -[NSImage initWithContentsOfURL:] (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libGCocoa.so] TGCocoa::SetApplicationIcon() (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libGCocoa.so] TGCocoa::MapWindow(unsigned long) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libGui.so] TGStatusBar::TGStatusBar(TGWindow const*, unsigned int, unsigned int, unsigned int, unsigned long) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libGui.so] TRootBrowser::CreateBrowser(char const*) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libGui.so] TRootBrowser::TRootBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*, bool) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libGui.so] TRootBrowser::NewBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*) (no debug info)
[<unknown binary>] (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libGui.so] long TPluginHandler::ExecPluginImpl<TBrowser*, char const*, unsigned int, unsigned int, char const*>(TBrowser* const&, char const* const&, unsigned int const&, unsigned int const&, char const* const&) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libGui.so] TRootGuiFactory::CreateBrowserImp(TBrowser*, char const*, unsigned int, unsigned int, char const*) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCore.so] TBrowser::TBrowser(char const*, char const*, TBrowserImp*, char const*) (no debug info)
[<unknown binary>] (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libRint.so] TRint::ProcessLineNr(char const*, char const*, int*) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libRint.so] TRint::HandleTermInput() (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCore.so] TUnixSystem::CheckDescriptors() (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCore.so] TMacOSXSystem::DispatchOneEvent(bool) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCore.so] TSystem::InnerLoop() (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCore.so] TSystem::Run() (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libCore.so] TApplication::Run(bool) (no debug info)
[/Users/marcomeyer/Software/root/20240914/lib/libRint.so] TRint::Run(bool) (no debug info)
[/Users/marcomeyer/Software/root/20240914/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)

I can't get any graphics due to issue with cocoa. So I also tried to disable cocoa, but then it loads x11 and compilation crash due to char* assigned with unsigned char*.

[ 54%] Built target ClangAttrHasAttributeImpl
/Users/marcomeyer/Software/root/20240710-src/graf3d/ftgl/src/FTVectoriser.cxx:143:15: error: cannot initialize a variable of type 'char *' with an rvalue of type 'unsigned char *'
  143 |         char* tagList = &outline.tags[startIndex];
      |               ^         ~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Would you have any idea how to fix that ?

Reproducer

cmake ../20240914-src -Dmathmore=ON -Dbuiltin_vdt=ON -Dbuiltin_glew=ON -DCMAKE_INSTALL_PREFIX=/Users/marcomeyer/Software/root/20240914 -Dccache=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang && make -j8

or

cmake ../20240914-src -DCMAKE_INSTALL_PREFIX=/Users/marcomeyer/Software/root/20240914 && make -j8

ROOT version

v6.32.00-patches

Installation method

build from source

Operating system

MacOSX Sequoia 15.0 Beta (24A5320a)

Additional context

No response

dpiparo commented 2 months ago

Hi @xkzl , thanks for the report. Macos15 is still in beta mode, therefore it could be that some features are not well established yet. However, this is odd. We continuously build the master and 6.32 branch on macos15 betas since months to be sure that everything works, xcode/os update after update. What is the exact version of macos you are using?

dpiparo commented 2 months ago

@couet

meiyasan commented 2 months ago

Yes agree, you are right. MacOSX Sequoia 15.0 Beta (24A5320a)

Here are the git information I can extract in case it helps.

[16:38:14] marcomeyer@MarcoMacBook-Pro:~/Software/root/20240914-src $ 
$ git status
On branch v6-32-00-patches
Your branch is up to date with 'origin/v6-32-00-patches'.

I use a MacBook Pro Apple M1 Max with XCode SDK 15.0

$ ls -ls /Library/Developer/CommandLineTools/SDKs/    
total 0
0 lrwxr-xr-x  1 root  wheel   14 Jul 21 08:29 MacOSX.sdk -> MacOSX15.0.sdk
[...]

Here is the result of the cmake command.

cmake ../20240914-src -DCMAKE_INSTALL_PREFIX=/Users/marcomeyer/Software/root/20240914 -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang && make -j8
-- The C compiler identification is AppleClang 16.0.0.16000022
-- The CXX compiler identification is AppleClang 16.0.0.16000022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ROOT version 6.32.04
-- Checking internet connectivity
-- Checking internet connectivity - found
-- The default C++ standard in use by the detected compiler (/usr/bin/clang++) is lower than C++17. Setting C++17 as the minimum standard.
-- Performing Test HAS_LIBCXX11
-- Performing Test HAS_LIBCXX11 - Success
-- Found a macOS system 15.0
-- Found an AArch64 system
-- ROOT default compression algorithm: zlib
-- Cannot enable cudnn without enabling cuda or tmva-gpu: cudnn is disabled.
-- Looking for ZLib
-- Building freetype version 2.12.1 included in ROOT itself
-- Looking for PCRE
-- Looking for LZMA
-- Looking for ZSTD
-- Looking for LZ4
-- Building AfterImage library included in ROOT itself
-- Looking for Python
-- Found Python3: /opt/homebrew/bin/python3.12 (found suitable version "3.12.6", minimum required is "3.8") found components: Interpreter Development NumPy Development.Module Development.Embed 
-- Looking for OpenGL
-- Looking for LibXml2
-- Looking for SQLite
-- Looking for XROOTD
-- Checking for module 'davix>=0.6.4'
--   Found davix, version 0.8.7
-- Looking for BLAS for optional parts of TMVA
-- PyROOT: development package found. Building for version 3.12.6
-- Building LLVM in 'Release' mode.
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/clang
-- bolt project is disabled
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- lld project is disabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
-- Found libtool - /Library/Developer/CommandLineTools/usr/bin/libtool
-- Found Python3: /opt/homebrew/bin/python3.12 (found suitable version "3.12.6", minimum required is "3.0") found components: Interpreter 
-- The xar file format has been deprecated: LLVM_HAVE_LIBXAR might be removed in the future.
-- Native target architecture is AArch64
-- Threads disabled.
-- Doxygen disabled.
-- Found ld64 - /Library/Developer/CommandLineTools/usr/bin/ld
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- LLVM host triple: arm64-apple-darwin24.0.0
-- LLVM default target triple: arm64-apple-darwin24.0.0
-- Building with -fPIC
-- Targeting AArch64
-- Targeting NVPTX
-- Clang version: 16.0.6
-- Host linker version: 1115.6.2
-- Building Cling as part of ROOT
-- Cling version (from VERSION file): ROOT_1.1~dev
-- Cling will look for C++ headers in '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1' at runtime.
-- And then fallback to: 'clang++'
-- Found arc4random_buf in stdlib.h
CMake Warning at net/http/CMakeLists.txt:90 (MESSAGE):
  Not able to recognize SSL version 3.3.2, disable SSL

-- Distributed RDataFrame enabled
-- RapidYAML not found, only compiling RooFit with nlohmann-json parser
-- Found CHROME executable /Applications/Google Chrome.app/Contents/MacOS/Google Chrome major version 128
-- ROOT Configuration 

System:            Darwin-24.0.0
ROOT Platform:     macosx
ROOT Architecture: macosxarm64
Processor:         10 core Apple M1 Max (arm64)
Build type:        Release
Install path:      /Users/marcomeyer/Software/root/20240914
Compiler:          AppleClang 16.0.0.16000022
C++ standard:      17
Compiler flags:
 - C:                          -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread
 - C (built type specific):   -O3 -DNDEBUG
 - C++:                        -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++
 - C++ (built type specific): -O3 -DNDEBUG
Linker flags:
 - Executable:      -mmacosx-version-min=15.0
 - Module:         
 - Shared:         

-- Enabled support for:  asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_nlohmannjson builtin_openui5 builtin_tbb builtin_vdt builtin_xxhash clad cocoa dataframe davix gdml http imt libcxx opengl pyroot roofit webgui root7 rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd
-- Configuring done (17.6s)
-- Generating done (3.7s)
-- Build files have been written to: /Users/marcomeyer/Software/root/20240914-build
-- Building ROOT version 6.32.04
-- Checking internet connectivity
-- Checking internet connectivity - found
-- The default C++ standard in use by the detected compiler (/usr/bin/clang++) is lower than C++17. Setting C++17 as the minimum standard.
-- Found a macOS system 15.0
-- Found an AArch64 system
-- ROOT default compression algorithm: zlib
-- Cannot enable cudnn without enabling cuda or tmva-gpu: cudnn is disabled.
-- Looking for ZLib
-- Building freetype version 2.12.1 included in ROOT itself
-- Looking for PCRE
-- Looking for LZMA
-- Looking for ZSTD
-- Looking for LZ4
-- Building AfterImage library included in ROOT itself
-- Looking for Python
-- Found Python3: /opt/homebrew/bin/python3.12 (found suitable version "3.12.6", minimum required is "3.8") found components: Interpreter Development NumPy Development.Module Development.Embed 
-- Looking for OpenGL
-- Looking for LibXml2
-- Looking for SQLite
-- Looking for XROOTD
-- Checking for module 'davix>=0.6.4'
--   Found davix, version 0.8.7
-- Looking for BLAS for optional parts of TMVA
-- PyROOT: development package found. Building for version 3.12.6
-- Building LLVM in 'Release' mode.
-- bolt project is disabled
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- lld project is disabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
-- Found libtool - /Library/Developer/CommandLineTools/usr/bin/libtool
-- Found Python3: /opt/homebrew/bin/python3.12 (found suitable version "3.12.6", minimum required is "3.0") found components: Interpreter 
-- The xar file format has been deprecated: LLVM_HAVE_LIBXAR might be removed in the future.
-- Native target architecture is AArch64
-- Threads disabled.
-- Doxygen disabled.
-- Found ld64 - /Library/Developer/CommandLineTools/usr/bin/ld
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- LLVM host triple: arm64-apple-darwin24.0.0
-- LLVM default target triple: arm64-apple-darwin24.0.0
-- Building with -fPIC
-- Targeting AArch64
-- Targeting NVPTX
-- Clang version: 16.0.6
-- Host linker version: 1115.6.2
-- Building Cling as part of ROOT
-- Cling version (from VERSION file): ROOT_1.1~dev
-- Cling will look for C++ headers in '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1' at runtime.
-- And then fallback to: 'clang++'
-- Found arc4random_buf in stdlib.h
CMake Warning at net/http/CMakeLists.txt:90 (MESSAGE):
  Not able to recognize SSL version 3.3.2, disable SSL

-- Distributed RDataFrame enabled
-- RapidYAML not found, only compiling RooFit with nlohmann-json parser
-- Found CHROME executable /Applications/Google Chrome.app/Contents/MacOS/Google Chrome major version 128
-- ROOT Configuration 

System:            Darwin-24.0.0
ROOT Platform:     macosx
ROOT Architecture: macosxarm64
Processor:         10 core Apple M1 Max (arm64)
Build type:        Release
Install path:      /Users/marcomeyer/Software/root/20240914
Compiler:          AppleClang 16.0.0.16000022
C++ standard:      17
Compiler flags:
 - C:                          -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread
 - C (built type specific):   -O3 -DNDEBUG
 - C++:                        -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++
 - C++ (built type specific): -O3 -DNDEBUG
Linker flags:
 - Executable:      -mmacosx-version-min=15.0
 - Module:         
 - Shared:         

-- Enabled support for:  asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_nlohmannjson builtin_openui5 builtin_tbb builtin_vdt builtin_xxhash clad cocoa dataframe davix gdml http imt libcxx opengl pyroot roofit webgui root7 rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd
dpiparo commented 2 months ago

Thanks. We have slightly different systems and configs

System:            Darwin-24.1.0
ROOT Platform:     macosx
ROOT Architecture: macosxarm64
Processor:         8 core Apple M2 (arm64)
Build type:        Release
Install path:      /install/
Compiler:          AppleClang 16.0.0.16000026
C++ standard:      20
Compiler flags:
-- 
 - C:                          -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread
 - C (build type specific):   -O3 -DNDEBUG
 - C++:                        -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++
 - C++ (build type specific): -O3 -DNDEBUG
-- Linker flags:
 - Executable:      -mmacosx-version-min=15.1
 - Module:         
 - Shared:         

For the moment, I cannot yet reproduce the issue on our devel/build nodes. As you saw, I added in the loop our Apple and graphics expert in the loop. Do you manage to start a browser when starting root in batch mode, i.e. root -b (as a test, of course it's not overly useful for the user experience)? I can propose a temporary workaround to unblock you: could you try to boot root enabling web graphics (still experimental): root --web?

meiyasan commented 2 months ago

I will try to mimic your configuration in the next days. Thank you for the suggestion Danilo, indeed root --web looks like good alternative for the moment.

Here is the outcome of your suggestions:

root [0] new TBrowser
Warning in <TBrowser::TBrowser>: The ROOT browser cannot run in batch mode
(TBrowser *) 0x600000d8db20
root [1] .q
[20:29:06] marcomeyer@MarcoMacBook-Pro:~/Software/root $ 
$ root --web
   ------------------------------------------------------------------
  | Welcome to ROOT 6.32.04                        https://root.cern |
  | (c) 1995-2024, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for macosxarm64 on Sep 14 2024, 02:12:02                   |
  | From tags/6-32-04@6-32-04                                        |
  | With Apple clang version 16.0.0 (clang-1600.0.22.7)              |
  | Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q'  |
   ------------------------------------------------------------------

root [0] new TBrowser

ROOT comes with a web-based browser, which is now being started. 
Revert to TBrowser by setting "Browser.Name: TRootBrowser" in rootrc file or
by starting "root --web=off"
Find more info on https://root.cern/for_developers/root7/#rbrowser
Info in <THttpEngine::Create>: Starting HTTP server on port 127.0.0.1:9223
(TBrowser *) 0x6000008f8000
meiyasan commented 2 months ago

@dpiparo could you please confirm the version of the macOS SDK tools you’re using? Are you perhaps using version 14.0?

couet commented 2 months ago

@xkzl @dpiparo .

MacOS 15 has two versions/branches (don't ask me why). 15.0 and 15.1. We have these two versions available on our build machines. I just built the master head version of ROOT on both of them and I have tested TBrowser with both the Cocoa Version ( option -web=off) and the web version (without the web off):

On both versions with both options, all is fine on our build machines (macphsft34 for 15.0 and macphsft35 for 15.1).

meiyasan commented 2 months ago

I see, thank you for the check. I can't debug this issue with cocoa. I will try to switch to 15.1 soon.

Alternatively, is there any chance to switch back to x11 ? I believe this is not the standard option anymore, but compiling with cocoa disabled gives some issue in my case. (char vs unsigned char issue's aforementioned)

dpiparo commented 2 months ago

Hi @xkzl, @couet : are we sure we are using the same (latest) xcode?

couet commented 2 months ago

The X11 version has not been working on Mac for several years now. You can use either Cocoa or Web. I just reinstalled 6.32 on both versions (15.0 and 15.1), and they work fine, like the master version. My Xcode version is 16.0.0.0.1.1723780521. The machines I am using have ARM-based M2 processors.

meiyasan commented 2 months ago

May I ask your version of MacOS CLI SDK installed alongside Xcode ? I just installed the official Sequoia 15.0 released today.

$ xcode-select --version
xcode-select version 2409.

$ /usr/bin/cc --version
Apple clang version 16.0.0 (clang-1600.0.22.7)
Target: arm64-apple-darwin24.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

$ ls -ls /Library/Developer/CommandLineTools/SDKs/
total 0
0 lrwxr-xr-x  1 root  wheel   14 Jul 21 08:29 MacOSX.sdk -> MacOSX15.0.sdk
0 drwxr-xr-x  7 root  wheel  224 May  1 07:16 MacOSX14.5.sdk
0 lrwxr-xr-x  1 root  wheel   14 Jul 21 08:29 MacOSX14.sdk -> MacOSX14.5.sdk
0 drwxr-xr-x  7 root  wheel  224 Jul  3 05:33 MacOSX15.0.sdk
0 lrwxr-xr-x  1 root  wheel   14 Jul 21 08:29 MacOSX15.sdk -> MacOSX15.0.sdk
meiyasan commented 2 months ago

Thank you for your support, I believe I just found the issue. Runtime linking issue with libpng.dylib linked from a custom brew package.