[LLVMbugs] [Bug 15408] New: undefined reference to '.Lline_table_start1' when generating .s from output of llvm-link

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 1 09:12:42 PST 2013


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

            Bug ID: 15408
           Summary: undefined reference to '.Lline_table_start1' when
                    generating .s from output of llvm-link
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Linker
          Assignee: mren at apple.com
          Reporter: mcurtis at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The version of clang I tested with includes r174445, r174479, and r174785,

The following sequence of commands:

  echo "int main() { return 0; }" | clang -g -x c -c - -emit-llvm -o main.bc
  echo "int foo() { return 0; }" | clang -g -x c -c - -emit-llvm -o foo.bc
  llvm-link main.bc foo.bc -o link.bc
  clang -g link.bc -save-temps

produces:
  /usr/bin/ld: link.o:(.debug_info+0x69): error: undefined reference to
'.Lline_table_start1'
  clang: error: linker command failed with exit code 1 (use -v to see
invocation)

Note that '-save-temps' is not required to reproduce the problem for targets
that do not have an integrated assembler.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130301/583cc70b/attachment.html>


More information about the llvm-bugs mailing list