Problem Building llvm-gcc 4.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem Building llvm-gcc 4.2

John Criswell
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.

Is anyone else seeing this?  I get a similar error when compiling
mainline llvm-gcc 4.0.

-- John T.

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Problem Building llvm-gcc 4.2

John Criswell
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
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>  

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev