[LLVMbugs] [Bug 22564] New: have_ld_plugin_support in test/lit.cfg doesn't work properly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 12 05:23:28 PST 2015


            Bug ID: 22564
           Summary: have_ld_plugin_support in test/lit.cfg doesn't work
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvmbugs at cs.uiuc.edu, rafael.espindola at gmail.com
    Classification: Unclassified

have_ld_plugin_support in test/lit.cfg has 2 issues:

1. It expects gold:

    ld_version = subprocess.Popen(['ld', '--version'], stdout =
    if not 'GNU gold' in ld_version.stdout.read():
        return False

Ld on binutils master branch supports LLVM plugin.

2. It expects elf32ppc support:

  emulations = fields[2].split()
    if 'elf32ppc' not in emulations or 'elf_x86_64' not in emulations:
        return False

Even my gold doesn't have elf32ppc support.

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/20150212/ce814852/attachment.html>

More information about the llvm-bugs mailing list