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

            Bug ID: 18508
           Summary: Segmentation Fault during linking
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: gold-plugin
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 11879
  --> http://llvm.org/bugs/attachment.cgi?id=11879&action=edit
Source to reproduce the issue

The LLVM gold plugin causes a segmentation during linking from bitcode into
elf. The same issue does not happen if the code is compiled directly to binary
code from clang.

skyel$ clang -c -flto p1.c -o p1.o
skyel$ ld.gold -plugin /opt/llvm/lib/LLVMgold.so p1.o -o file
error: expected section directive before assembly directive
        .align 4
               ^
Segmentation fault (core dumped)

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