-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building with LLVM 10.0.1 installed via Homebrew fails #6087
Comments
A temporary (and super hacky hack hack that makes me cringe) solution to the problem is to:
This should get everyone with LLVM 10.0.1 installed via Homebrew on macOS going for now. |
Out of curiosity, I built upstream LLVM from source, and the future looks even bleaker, with the following output from
|
I have now filed an upstream bug report: https://bugs.llvm.org/show_bug.cgi?id=47226 |
UPDATE: Good news, this patch https://reviews.llvm.org/D86134#2224990 fixes this in upstream. Now we need to figure out if there is any plan to backport it to |
Looks like the patch got reverted: https://reviews.llvm.org/rGcdcb9ab10e53ff08293915af3cd897c42112bcc5 |
Try the solution..Still got failed. |
Ohai! New to zig, and ran into the same build problem. Got around it by replacing the broken lib reference in LLVM_LIBRARIES in the CMake config. |
Workaround MacOS build failure due to #6087
try
or remove |
I just built successfully on my macos with llvm 10.0.1_1. No hacks or workarounds were needed. Closing since it appears to be fixed by homebrew. |
Still failing on my mac w/ brew llvm 10.0.1_1. |
The LLVM 11 release is imminent. Let's see what happens. Until it gets packaged up you'll have to make do with building from source or using the binary distribution available on ziglang.org. |
As reported by @jbsolomon-fw in #4799, when building on macOS with LLVM 10.0.1 installed via Homebrew, linker trips with the following error:
This seems like an upstream problem with
llvm-config
which reports the following required system libraries to link properly with LLVM:The text was updated successfully, but these errors were encountered: