-
Notifications
You must be signed in to change notification settings - Fork 21
avr-llvm compilation fails on OSX #192
Comments
@shepmaster: This sounds related to your recent change? @PeterZegelin: If you want, feel free to submit a PR with your fixes :) |
I think this is fixed in #191, but no, I don't believe it's related to any changes I've made. |
Hey @shepmaster, I checked out your branch, and it runs into slightly different compilation problem: |
@KarstenB to be sure, you mean this branch, right? Which SHA are you at? The branch compiled at last check, as you can see by the PR being green 😸 |
This happens to me with:
I essentially did:
|
Oh, I missed you were compiling clang! For my usecase, I don't need clang, so I haven't been doing anything with that. It's probably likely that you will need to update the clang and compiler-rt repositories to new(er) versions to correspond to the new(er) LLVM versions. |
I'm gonna update clang now. |
Clang now compiles, and is also a part of the Travis-CI build. |
Thanks, it now works for me :) |
After following all the instructions on the Wiki for building avr-llvm the make process failed about 31% in lib/Target/AVR/AVRFrameLowering.cpp
The specific error is: error: virtual function
'eliminateCallFramePseudoInstr' has a different return type ('void') than the function it overrides
(which has return type 'MachineBasicBlock::iterator' (aka
'MachineInstrBundleIteratorllvm::MachineInstr'))
I 'fixed' this by specifying the correct return type and returning MBB.erase(MI) and compilation continued only to fail again shortly after in AVRISelDAGToDAG.cpp with a another function having different return types:
error: virtual function 'Select' has a
different return type ('llvm::SDNode *') than the function it overrides (which has return type 'void')
SDNode *Select(SDNode *N) override;
The text was updated successfully, but these errors were encountered: