Closed Crazor closed 8 years ago
Similar experience here. That error can be resolved by adding StringRef() as a single argument for the call to PrintStackTraceOnErrorSignal.
Then an error occurs in tools/clang/lib/CodeGen/CGBuiltin.cpp for symbols r600_rsq and AMDGPU_ldexp. Commenting out the legacy AMD section resolves the error (but obviously isn't a general solution).
Then an error occurs in tools/clang/lib/CodeGen/CGClass.cpp for llvm::Intrinsic::bitset_test, which does not appear to be defined anywhere. Presumably this is because of a version mismatch related to merging from upstream, as llvm/clang trunk compiles without problem but does not contain any reference to llvm::Intrinsic::bitset_test or the functions in CGClass.cpp that refer to llvm::Intrinsic::bitset_test.
Not sure where to go from there.
Should be able to be fixed by updating LLVM+clang, I'll do that tonight.
Similar experience here as well. I came up with a few hacky solutions to try and get the build working, but was stumped at the llvm::Intrinsic part too.
Updated LLVM and Clang, build went fine on my local machine :)
New issues with Xcode 8.
Could build on 10.11.6 with Xcode 8 today.
Am Donnerstag, 15. September 2016 schrieb Asher :
New issues with Xcode 8.
See: #12 https://github.com/avr-llvm/clang/issues/12
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/avr-llvm/clang/issues/11#issuecomment-247419304, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH1JwlOw9zcLfruxOFYpwwNnJgajMr5ks5qqZUKgaJpZM4Jt31I .
Any suggestions for what to try?
For some reason, git pull for clang had not properly updated. Trying again now, I'm guessing it will work. Will report back.
That was the problem. Success!
@dylanmckay thank you very much!
After successfully completing at 100%, the build somehow generates an empty clang-4.0
executable, and no clang
executable at all in llvm/build/bin
. Would any of you have an idea why? I'm on Linux, if that's any help.
What happens when you delete the executable and run make
again @RadhikaG?
Worked like a charm, thanks!
I'm compiling avr-llvm (06faf0a) as per the wiki, with clang (ee44fb6) checked out into the tools/ folder. I'm compiling on OS X 10.11.6 with Xcode 7.3.1. make stops with the following message: