[LLVMdev] Problem Building llvm-gcc 4.2

John Criswell criswell at cs.uiuc.edu
Tue Feb 5 14:25:02 PST 2008


John Criswell wrote:
> Dear All,
>
> I'm getting the following error building mainline llvm-gcc 4.2 (LLVM and
> llvm-gcc are up to date):
>
> cc1: /home/vadve/criswell/src/llvm22/lib/VMCore/Instructions.cpp:290:
> void llvm::CallInst::init(llvm::Value*, llvm::Value*): Assertion
> `(FTy->getNumParams() == 1 || (FTy->isVarArg() && FTy->getNumParams() ==
> 0)) && "Calling a function with bad signature"' failed.
>   

On further inspection, I realized I had updated my LLVM tree but hadn't 
done a new Release build (only new debug builds).  I'll retry with a 
Release build and see if that fixes it.

-- John T.

> Is anyone else seeing this?  I get a similar error when compiling
> mainline llvm-gcc 4.0.
>
> -- John T.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>   




More information about the llvm-dev mailing list