Thanks a lot!<br><br>
<div class="gmail_quote">2009/3/4 Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>
<div class="im"><br>> While attempting to compile llvm-gcc on Intel x86_64 2-way 4-core machine,<br>> i got the following errors:<br><br></div>this is the second report of this, see <a href="http://llvm.org/bugs/show_bug.cgi?id=3710" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=3710</a><br>
<div class="im"><br>> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)<br><br></div>gcc 4.1 has endless problems compiling LLVM, see<br><a href="http://llvm.org/docs/GettingStarted.html#brokengcc" target="_blank">http://llvm.org/docs/GettingStarted.html#brokengcc</a><br>
<br>Here's an extract:<br><br>GCC 4.1.1: GCC fails to build LLVM with template concept check errors compiling some files. At the time of this writing, GCC mainline (4.2) did not share the problem.<br>GCC 4.1.1 on X86-64/amd64: GCC miscompiles portions of LLVM when compiling llvm itself into 64-bit code. LLVM will appear to mostly work but will be buggy, e.g. failing portions of its testsuite.<br>
GCC 4.1.2 on OpenSUSE: Seg faults during libstdc++ build and on x86_64 platforms compiling md5.c gets a mangled constant.<br>GCC 4.1.2 (20061115 (prerelease) (Debian 4.1.1-21)) on Debian: Appears to miscompile parts of LLVM 2.4. One symptom is ValueSymbolTable complaining about symbols remaining in the table on destruction.<br>
GCC 4.1.2 20071124 (Red Hat 4.1.2-42): Suffers from the same symptoms as the previous one. It appears to work with ENABLE_OPTIMIZED=0 (the default).<br><br>Try building with gcc-4.2 or newer.<br><br>Ciao,<br><font color="#888888"><br>
Duncan.<br></font></blockquote></div><br>