[llvm-bugs] [Bug 43748] New: Cannot link to Open MPI with ld.lld

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 21 09:55:21 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43748

            Bug ID: 43748
           Summary: Cannot link to Open MPI with ld.lld
           Product: lld
           Version: unspecified
          Hardware: HP
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mwglass at sandia.gov
                CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org

I have not been able to link with Open MPI using ld.lld as a drop in
replacement for ld on RHEL6/7 with a variety of compilers (gcc, intel, and
clang) since v6.0. Using Open MPI 1.10.2 or 4.0.1 I get error messages like:

ld: error: corrupt input file: version definition index 0 for symbol
mpi_fortran_argv_null is out of bounds

>>> defined in /projects/openmpi/1.10.2/lib/libmpi_usempif08.so

I am linking a C++ executable but it also include a few FORTRAN libraries so I
need to also link in the MPI FORTRAN libraries.

-- 
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/20191021/bb26074e/attachment-0001.html>


More information about the llvm-bugs mailing list