Open calvin2021y opened 11 months ago
Got same error when building latest ungoogled-chromium-macos from source for Intel Core i5:
dyld[57934]: Symbol not found: (__ZNSt3__122__libcpp_verbose_abortEPKcz)
Referenced from: '~/workpsace/ungoogled-chromium-macos/build/src/third_party/llvm-build/Release+Asserts/bin/clang-17'
Expected in: '/usr/lib/libc++.1.dylib'
ninja: build stopped: subcommand failed.
@ykfq did you find a fix, i have the same problem
I use cmake build now, this will skip IOS related files:
cmake -S llvm -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_PROJECTS="clang;lld" \
-DCMAKE_INSTALL_PREFIX=/opt/local/llvm \
-DLLVM_TARGETS_TO_BUILD='AArch64' \
-DLLVM_DEFAULT_TARGET_TRIPLE='aarch64-apple-darwin23' \
-DLLVM_ENABLE_RUNTIMES="compiler-rt;libcxx;libcxxabi;libunwind;openmp" \
-DLLVM_CREATE_XCODE_TOOLCHAIN=OFF \
-DDEFAULT_SYSROOT="$(xcrun --show-sdk-path)" \
-DLLVM_ENABLE_LIBCXX=ON \
-DLIBCXX_PSTL_CPU_BACKEND=libdispatch
build with
arm64-apple-darwin22
get the same error.macOS 13.2.1 with xcode 14.3.1