[LLVMbugs] [Bug 9897] "File format not recognized" when compiling with -O4

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 11 02:12:18 PDT 2011


Duncan Sands <baldrick at free.fr> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |baldrick at free.fr
         Resolution|                            |INVALID

--- Comment #1 from Duncan Sands <baldrick at free.fr> 2011-05-11 04:12:18 CDT ---
This is a feature not a bug :)  At -O4 clang outputs LLVM bitcode rather than
object code.  If your system linker does not know how to handle LLVM bitcode
then linking will fail, as you saw.  See http://llvm.org/docs/GoldPlugin.html

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