<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/60031>60031</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            mvapich2@2.3.7%clang (gfortran@9.3.0) on toss3
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          jennfshr
      </td>
    </tr>
</table>

<pre>
    ```
[+] /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/linux-rhel7-haswell/xkbdata/gcc-11.2.0/xkbdata-1.0.1-7vrbyihslyc7sizanmy7ryx6
yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/spack/installer.py:1267 ==> Installing mvapich2-2.3.7-a5fhwt5x6taq
yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/spack/installer.py:317 ==> No binary for mvapich2-2.3.7-a5fhwt5x6t
yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/spack/fetch_strategy.py:579 ==> Using cached archive: /usr/project
yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/spack/package_base.py:1502 ==> No patches needed for mvapich2
yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/spack/installer.py:2042 ==> mvapich2: Executing phase: 'autoreconf
yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/spack/installer.py:2042 ==> mvapich2: Executing phase: 'configure'
yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/spack/error.py:54 ==> Error: ProcessError: Command exited with sta
 '/tmp/jgreen/spack-stage/spack-stage-mvapich2-2.3.7-a5fhwt5x6taqv6eiuqkfesqxyph37cga/spack-src/configure' '--prefix=/yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_

2 errors found in build log:
     140    checking how to hardcode library paths into programs... immediate
     141    checking whether we are using the GNU Fortran compiler... no
     142    checking whether /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/env/clang/gfor
 tran accepts -g... no
     143    checking if libtool supports shared libraries... yes
     144    checking whether to build shared libraries... yes
     145    checking whether to build static libraries... yes
  >> 146    libtool.m4: error: problem compiling FC test program
 147    checking for /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/env/clang/gfortran
 option to produce PIC...
     148    checking if /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/env/clang/gfortran
 static flag  works... no
     149    checking if /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/env/clang/gfortran
 supports -c -o file.o... no
     150    checking if /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/env/clang/gfortran
 supports -c -o file.o... (cached) no
     151    checking whether the /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/env/clang/
 gfortran linker (/yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/linux-rhel7-broadwell/binutils
 /gcc-9.3.0/binutils-2.36.1-2xbg6dq4vcqhxbl7dpjfruxd6bgkrw3y/bin/ld -m elf_x86_64) supports shared libraries... yes
     152    checking dynamic linker characteristics... (cached) GNU/Linux ld.so

 ...

     598    checking for Fortran 77 libraries of /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/
 spack/env/clang/gfortran...
     599    checking whether /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/env/clang/gfor
 tran accepts the FLIBS found by autoconf... no
     600 checking for valid entries in FLIBS...
     601    checking whether /yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spack/env/clang/clan
 g links with FLIBS found by autoconf... yes
     602 checking whether Fortran 77 and C objects are compatible... no
     603 checking for file... file
  >> 604    configure: error: ****  Incompatible Fortran and C Object File Types!  ****
     605    F77 Object File Type produced by "/yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spa
 ck/env/clang/gfortran   -g" is : : cannot open (No such file or directory).
     606     C  Object File Type produced by "/yellow/usr/projects/hpcsoft/tce-dev/linux-rhel7-x86_64_v3-omnipath-none_________/linux-rhe/spack/lib/spa
 ck/env/clang/clang    -g -O0" is : : ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped.

See build log for details:
 /tmp/jgreen/spack-stage/spack-stage-mvapich2-2.3.7-a5fhwt5x6taqv6eiuqkfesqxyph37cga/spack-build-out.txt

```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzcWFuPozoS_jXOSwkEhkB4yENPT3M00mjOkXpnpX1qGVMBTxtM2yaX_fUrOyQdunNmd3WkmcyJUCwuLtf31cVVZsaIpkdck-UHsvy4YKNtlV5_w77fmFYvKlUf1iSLpiv6SKI79yl1XwOh5QGlVDtCy9FoQstBq2_IrSG0bAdu1MYSWlqOQY1bQksp-nEf6BZlHuxX2VOWPm2TQHW9GJhtg171-HT6XX7-ZmrLzA6lJLTcP1c1s4zQsuE8iOOQh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