[LLVMbugs] [Bug 11639] Trunk clang on Redhat Linux configured with --enable-optimized --with-c-include-dirs=/usr/include:/usr/include/c++/4.1.1

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 21 22:11:38 PST 2011


Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Anton Korobeynikov <asl at math.spbu.ru> 2011-12-22 00:11:38 CST ---
(In reply to comment #4)
> I just retried a clean build, same error, so compiler-rt trunk is broken. 
> Might want to see who's recently pushed to trunk.
Once again: you're seeing that compiler-rt build is broken. This seems to be
due to assertion in clang. Which is triggerred (most probably) due to
miscompilation of *clang* by your system gcc. So it does not help whether
you're using "clean checkout" or something else.

> This gcc (4.1.2) works fine (was working all day today).
Note the following line from the link I posted:
"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)."

So, some RedHat-provided version of gcc (which appears to be the same version
of yours) is already known to be broken.

Before reopen please try two things:

1. Check the debug build (make ENABLE_OPTIMIZED=0) of llvm/clang
2. Check with other version of gcc (not 4.1.x at least)

If this is still reproduces with 2. - then please reopen. Otherwise, please
upgrade your gcc.

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