[LLVMbugs] [Bug 18508] New: Segmentation Fault during linking

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 16 10:22:37 PST 2014


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: unassignedbugs at nondot.org
          Reporter: razvan.ghitulete at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140116/6cfbdcec/attachment.html>


More information about the llvm-bugs mailing list