-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
llvm-3.9.0_threads.patch breaks the build on FreeBSD #19769
Comments
try taking this section out of the patch julia/deps/patches/llvm-3.9.0_threads.patch Lines 331 to 337 in d7b6ac3
distclean ing llvm)
|
For reference, the more complete log from building LLVM is here. I'll try your suggestion and see what happens. Thanks as always, Tony! |
Looks like your suggestion plus the removal of this section got it building. 🎉 |
I'm getting a ton of messages that say that libjulia.so contains undefined references to LLVM things. For example, here are the first few such messages:
For the full section of the log, see here. Though I should note that these messages occur even when this patch is not applied at all, which may indicate that they aren't related to this particular issue. I can open a separate issue for that if that would be better. |
do the linker errors happen if you don't apply any of our patches to llvm at all? |
Actually yes, they do. I guess those errors probably has more to do with LLVM 3.9 on FreeBSD in general than with our patches. Edit: LLVM 3.9 is available from FreeBSD's |
It would be good to put together a Vagrantfile for the FreeBSD build at some point so it's easier to test against. |
Ooh, I think I know why this is FreeBSD-specific. Apparently when Line 432 in c38a5a3
|
Scratch that, looks like busybox-based systems don't support |
Thanks, Tony! |
Our patched LLVM 3.7 built fine on FreeBSD, but it seems that LLVM 3.9 refuses to build on FreeBSD when llvm-3.9.0_threads.patch is applied. The following message is displayed, along with several other similar messages referencing other LLVM files:
The build works fine if the application of this patch is commented out.
This is with CMake 3.7.1. I guess the patch was copied from Rust's fork of LLVM, so this issue may not be unique to Julia.
The text was updated successfully, but these errors were encountered: