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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to