[LLVMbugs] [Bug 3710] llvm-gcc fails to build: Assertion `Cost == C && " Cost exceeds InlineCost precision"' failed

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Mar 4 00:32:04 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3710


Duncan Sands <baldrick at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #3 from Duncan Sands <baldrick at free.fr>  2009-03-04 02:32:04 ---
gcc 4.1 is know to be broken, see
http://llvm.org/docs/GettingStarted.html#brokengcc

Here's an extract:

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.
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.
GCC 4.1.2 on OpenSUSE: Seg faults during libstdc++ build and on x86_64
platforms compiling md5.c gets a mangled constant.
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.
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).

Please try a different version of gcc, like gcc 4.2.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list