-
Notifications
You must be signed in to change notification settings - Fork 10
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
Calypso won't link after ldc-0.16.1 update #36
Comments
Hi Kelly, The first error means that it's linking Calypso built in Currently building Calypso in release mode against my system's LLVM 3.6 to see if it happens to me as well. |
It works for me, and if I try to build Calypso in Debug mode while LLVM is in Release mode cmake tells me that it's not possible. Could you go in build/deps/clang and check if cmake is using the correct LLVM setup with Mine are:
|
I have tried to build 'six ways to Sunday' and I just can't get things working here in Debug, Release or RelWithDebInfo mode! Same problems with undefined refs. Here is my 'cmake -L' info:
|
That's very weird. Could you check the failing |
|
The llvm::coverage symbols should be in libLLVMProfileData (regardless of CMAKE_BUILD_TYPE) which is being linked so I don't get it.. |
Kelly could you check |
Hey Elie, Yeah, I checked llvm-config --version long ago and it is version 3.6.2. I tried linking with g++ and I still get the same dozens (or hundreds really) of undefined references. I don't get it. |
Could you check if |
Everything looks fine with the ld call. llvm-config --version is 3.6.2 and it is in /usr/local/bin. The LLVM libs are in /usr/local/lib and they are all 'succeeding', the libclang libs are being 'successfully' picked?!?!? I don't get it and I am getting extremely frustrated, unfortunately. .
. The only failures I see are when looking for libpthread in some directories before it finally finds the right dir...this makes no sense!!!! |
Looks like this has been fixed now Elie. I just built a new Calypso today and things built fine since the ldc-0.17.1 update. |
Hi Kelly, glad to hear it's gone and to see you back! |
Hey Elie,
I just did a pull (which went fine) and a submodule update and then tried to remake Calypso by removing the entire bulid dir and running cmake. It all compiles but it just won't link. I get dozens of undefined references when trying to link ldc2? Some examples:
Missing libs? I wonder how your version built? I am still on llvm-3.6.2 if that matters?
The text was updated successfully, but these errors were encountered: