[LLVMbugs] [Bug 1262] NEW: LTO example in the LTO docs fails to build

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Mar 19 15:22:00 PDT 2007


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

           Summary: LTO example in the LTO docs fails to build
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr


Near the start of http://llvm.org/docs/LinkTimeOptimization.html there is
"Example of link time optimization".  I gave it a whirl and got:
$ gcc --emit-llvm -c a.c -o a.o
$ gcc -c main.c -o main.o
$ gcc a.o main.o -o main
a.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list