[LLVMdev] VMKit build broken
Nicolas Geoffray
nicolas.geoffray at gmail.com
Tue May 22 05:37:07 PDT 2012
Hi Balachandran,
If this is a bug, it should be filed to clang, since you're compiling a
file located in the clang project. But it looks like your llvm tree and
clang tree are not in sync. Could you svn update both and see if that fixes
it?
Nicolas
On Mon, May 21, 2012 at 8:21 PM, Balachandran Sivakumar <
benignbala at gmail.com> wrote:
> Hi,
>
> I just thought of trying vmkit and checked out the source
> from the svn repo a few minutes back. The build is failing with the
> following error.
>
> llvm[4]: Compiling CGCleanup.cpp for Release+Asserts build
> CGCleanup.cpp:507:36: error: no member named 'getCaseSuccessor' in
> 'llvm::SwitchInst'; did you mean 'getSuccessor'?
> llvm::BranchInst::Create(si->getCaseSuccessor(0), si);
> ^~~~~~~~~~~~~~~~
> getSuccessor
> /home/ganapathy/projects/llvm/include/llvm/Instructions.h:2727:15:
> note: 'getSuccessor' declared here
> BasicBlock *getSuccessor(unsigned idx) const {
> ^
> 1 error generated.
> make[4]: ***
> [/home/ganapathy/projects/llvm/tools/clang/lib/CodeGen/Release+Asserts/CGCleanup.o]
> Error 1
> make[4]: Leaving directory
> `/home/ganapathy/projects/llvm/tools/clang/lib/CodeGen'
> make[3]: *** [CodeGen/.makeall] Error 2
> make[3]: Leaving directory `/home/ganapathy/projects/llvm/tools/clang/lib'
>
>
> I have filed a bug for this as well. I might have categorised it wrong
> as there was no category for vmkit there. Can someone help me with
> this ? If people can give pointers, I can try to fix this as well.
> Thanks
>
>
> --
> Thank you
> Balachandran Sivakumar
>
> Arise Awake and stop not till the goal is reached.
> - Swami
> Vivekananda
>
> Mail: benignbala at gmail.com
> Blog: http://benignbala.wordpress.com/
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120522/06c1ed2d/attachment.html>
More information about the llvm-dev
mailing list