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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to