<br>
<div class="gmail_quote">
<div>While attempting to compile llvm-gcc on Intel x86_64 2-way 4-core machine, i got the following errors:</div>
<div>configure line i used is:</div>
<div>../llvm-gcc4.2-2.5.source/configure --enable-llvm=`pwd`/../../llvm-2.5 --program-prefix=llvm- --enable-languages=c,c++ --host=x86_64-redhat-linux --build=x86_64-redhat-linux --disable-multilib --disable-shared</div>

<div> </div>
<div>Errors:</div>
<div>lvm-gcc4.2-2.5.source/gcc/. -I../../llvm-gcc4.2-2.5.source/gcc/../include -I../../llvm-gcc4.2-2.5.source/gcc/../libcpp/include  -I../../llvm-gcc4.2-2.5.source/gcc/../libdecnumber -I../libdecnumber -I/home/huyabin/llvm/llvm-gcc/obj/../../llvm-2.5/include -I/home/huyabin/llvm/llvm-2.5/include  -fexceptions -c ../../llvm-gcc4.2-2.5.source/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o<br>
cc1: /home/huyabin/llvm/llvm-2.5/include/llvm/Transforms/Utils/InlineCost.h:44: llvm::InlineCost::InlineCost(int, int): Assertion `Cost == C && "Cost exceeds InlineCost precision"' failed.<br>../../llvm-gcc4.2-2.5.source/gcc/unwind-dw2.c:1527: internal compiler error: Aborted<br>
Please submit a full bug report,<br>with preprocessed source if appropriate.<br>See <<a href="http://developer.apple.com/bugreporter" target="_blank">URL:http://developer.apple.com/bugreporter</a>> for instructions.<br>
make[4]: *** [libgcc/./unwind-dw2.o] Error 1<br>make[4]: Leaving directory `/home/huyabin/llvm/llvm-gcc/obj/gcc'<br>make[3]: *** [stmp-multilib] Error 2<br>make[3]: Leaving directory `/home/huyabin/llvm/llvm-gcc/obj/gcc'<br>
make[2]: *** [all-stage1-gcc] Error 2<br>make[2]: Leaving directory `/home/huyabin/llvm/llvm-gcc/obj'<br>make[1]: *** [stage1-bubble] Error 2<br>make[1]: Leaving directory `/home/huyabin/llvm/llvm-gcc/obj'<br>make: *** [all] Error 2</div>

<div> </div>
<div>My gcc version is </div>
<div>Using built-in specs.<br>Target: x86_64-redhat-linux<br>Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux<br>
Thread model: posix<br>gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)</div>
<div> </div>
<div>my cpu is</div>
<div>processor       : 0<br>vendor_id       : GenuineIntel<br>cpu family      : 6<br>model           : 15<br>model name      : Intel(R) Xeon(R) CPU           E5310  @ 1.60GHz<br>stepping        : 7<br>cpu MHz         : 1595.956<br>
cache size      : 4096 KB<br>physical id     : 0<br>siblings        : 1<br>core id         : 0<br>cpu cores       : 1<br>fpu             : yes<br>fpu_exception   : yes<br>cpuid level     : 10<br>wp              : yes<br>flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm<br>
bogomips        : 3991.95<br>clflush size    : 64<br>cache_alignment : 64<br>address sizes   : 36 bits physical, 48 bits virtual<br>power management:</div>
<div> </div>
<div> </div>
<div>can somebody helps? Thanks a lot!</div>
<div>i can't update my gcc right now, for someone else is also running other tests on the same machine.</div></div><br>Yabin