[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
Duncan Sands
baldrick at free.fr
Fri Mar 13 05:58:08 PDT 2009
Hi,
> Ok, I 'synchronized' both of them, but now I am getting a different
> error. On running make, the output ends with the following error:
please don't only reply to me, please reply to the list too.
That way others can comment, and the discussion is archived.
> cc1: /home/gautam/code/llvm/llvm/include/llvm/Transforms/Utils/InlineCost.h:44:
> llvm::InlineCost::InlineCost(int, int): Assertion `Cost == C && "Cost
> exceeds InlineCost precision"' failed.
> ../../trunk/gcc/libgcov.c:644: internal compiler error: Aborted
> Please submit a full bug report,
your system compiler is broken, this is a known symptom.
> I also tried using the gcc-4.2 compiler (by changing the value of the
> environment variables CC and CXX), but got the same error.
This should work. Since it didn't, I guess you made a mistake
when trying to use gcc-4.2 and g++-4.2 and actually used the
4.1 versions instead.
Ciao,
Duncan.
More information about the llvm-dev
mailing list