[LLVMbugs] [Bug 492] NEW: Code Generated By llc Doesn't Assemble On Cygwin

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Dec 29 19:44:23 PST 2004


           Summary: Code Generated By llc Doesn't Assemble On Cygwin
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com

It doesn't matter which test case you use, the problem happens for all
compilations with llc on Cygwin. I'll use SingleSource/UnitTests/SetjmpLongjmp/C
as the test case here.

For the FarJump program, llc generates FarJump.llc.s that starts with:
        .align  16
        .globl  main
        .type   main, @function

The last line and all .type directives like it in the file produce:

Output/FarJump.llc.s:6: Warning: .type pseudo-op used outside of .def/.endef
Output/FarJump.llc.s:6: Error: junk at end of line, first unrecognized character
is `m'

Similar messages occur for the .size directive and it doesn't appear to
understand the .local directive.

I don't know what the issue is. I'm using binutils 2.15 on both Linux and
Cygwin. The assembly works fine with as 2.15 on Linux but produces the above
messages with as 2.15 on Cygwin.

This problem is why *all* the nightly tests on Cygwin fail.

------- 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