Open
Description
On macOS Sonoma (arm64), using binaries from LLVM 17.0.6 Release:
% cat test.cpp
int main() {}
% /opt/clang-17.0.6/bin/clang++ -L/opt/clang-17.0.6/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -o test test.cpp
ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/opt/clang-17.0.6/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly
% /opt/clang-17.0.6/bin/clang++ -fsanitize=fuzzer -L/opt/clang-17.0.6/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -o test test.cpp
ld: warning: ignoring duplicate libraries: '-lc++'
ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/opt/clang-17.0.6/lib/libunwind.1.0.dylib' couldn't be matched with
The same issue is reproducible with the llvm
, llvm@17
, and llvm@16
packages installed via the Homebrew package manager.