internal compiler error problem in build llvm-gcc

Hi,

When i wanted to build the llvm-gcc, i got the problem as following.

Hi,

gcc: gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)

most likely the version of gcc you are using is broken.
See Getting Started with the LLVM System — LLVM 18.0.0git documentation

Ciao,

Duncan.

It very well may be. It's a slightly older version of the GCC (Red Hat 4.1.2-42) than on the installation I have access to, where the default GCC cannot compile LLVM. I'd suggest downloading the LLVM GCC binaries from <http://llvm.org/releases/download.html#2.4&gt; and use them as a bootstrap compiler.