Linking IOAPI 3-2 large fails with errors like m3combo.f90:(.text+0x5c2): relocation truncated to fit: R_X86_64_PC32 against `.bss'

Using the tarball autogenerated from your GitHub commit 3490a48 I get me further along, but the install phase fails now.

==> Executing phase: 'install'
==> [2019-12-02-12:47:42.054466] 'make' '-j12' 'install'
cd /home/yul18051/CMAQ/master/spack/opt/spack/linux-rhel6-x86_64/gcc-9.1.0/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq; mkdir -p /home/yul18051/CMAQ/master/spack/opt/spack/linux-rhel6-x86_64/gcc-9.1.0/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/lib
echo "Installing I/O API and M3TOOLS in /home/yul18051/CMAQ/master/spack/opt/spack/linux-rhel6-x86_64/gcc-9.1.0/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/lib and "
Installing I/O API and M3TOOLS in /home/yul18051/CMAQ/master/spack/opt/spack/linux-rhel6-x86_64/gcc-9.1.0/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/lib and 
(cd /tmp/spack-stage/yul18051/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/spack-src/ioapi   ; make BIN=Linux2_x86_64gfort_medium INSTDIR=/home/yul18051/CMAQ/master/spack/opt/spack/linux-rhel6-x86_64/gcc-9.1.0/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/lib install)
make[1]: Entering directory `/tmp/spack-stage/yul18051/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/spack-src/ioapi'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
echo "Installing in /home/yul18051/CMAQ/master/spack/opt/spack/linux-rhel6-x86_64/gcc-9.1.0/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/lib" ; cd /tmp/spack-stage/yul18051/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/spack-src/Linux2_x86_64gfort_medium; cp libioapi.a m3utilio.mod modgctp.mod modwrfio.mod modmpasfio.mod modatts3.mod modncfio.mod modpdata.mod /home/yul18051/CMAQ/master/spack/opt/spack/linux-rhel6-x86_64/gcc-9.1.0/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/lib
Installing in /home/yul18051/CMAQ/master/spack/opt/spack/linux-rhel6-x86_64/gcc-9.1.0/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/lib
make[1]: Leaving directory `/tmp/spack-stage/yul18051/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/spack-src/ioapi'
(cd /tmp/spack-stage/yul18051/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/spack-src/m3tools ; make BIN=Linux2_x86_64gfort_medium INSTDIR= install)
make[1]: Entering directory `/tmp/spack-stage/yul18051/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/spack-src/m3tools'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
echo "Installing M3TOOLS in "
Installing M3TOOLS in 
cd /tmp/spack-stage/yul18051/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/spack-src/Linux2_x86_64gfort_medium; cp airs2m3         bcwndw          camxtom3        datshift        dayagg factor          findwndw        greg2jul        gregdate        gridprobe insertgrid      jul2greg        juldate         juldiff         julshift kfxtract        latlon          m3agmax         m3agmask        m3cple m3combo         m3diff          m3edhdr         m3fake          m3hdr m3interp        m3mask          m3merge         m3pair          m3probe m3stat          m3totxt         m3tproc         m3tshift        m3wndw m3xtract        mtxblend        mtxbuild        mtxcalc         mtxcple presterp        presz           projtool        selmrg2d        timeshift vertot          vertimeproc     vertintegral    wrfgriddesc     wrftom3 mpasdiff        mpasstat        mpastom3 
cp: target `mpastom3' is not a directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/tmp/spack-stage/yul18051/ioapi-3.2-large-z6yl2gueys6xxhwcpwpkreupbtu7cswq/spack-src/m3tools'
make: *** [install] Error 2

Full logs and installation script:

Build: spack-build-out.txt (199.4 KB)
Package: package.py (2.6 KB)
Dependency tree:

$ spack spec -I ioapi@3.2-large ^netcdf+parallel-netcdf
Input spec
--------------------------------
 -   ioapi@3.2-large
 -       ^netcdf+parallel-netcdf

Concretized
--------------------------------
 -   ioapi@3.2-large%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]      ^netcdf@4.7.0%gcc@9.1.0~dap~hdf4 maxdims=1024 maxvars=8192 +mpi+parallel-netcdf patches=10a1c3f7fa05e2c82457482e272bbe04d66d0047b237ad0a73e87d63d848b16c +pic+shared arch=linux-rhel6-x86_64
[+]          ^autoconf@2.69%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]              ^m4@1.4.18%gcc@9.1.0 patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00,fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8 +sigsegv arch=linux-rhel6-x86_64
[+]                  ^libsigsegv@2.11%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]              ^perl@5.26.2%gcc@9.1.0+cpanm patches=0eac10ed90aeb0459ad8851f88081d439a4e41978e586ec743069e8b059370ac +shared+threads arch=linux-rhel6-x86_64
[+]                  ^gdbm@1.18.1%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]                      ^readline@7.0%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]                          ^ncurses@6.1%gcc@9.1.0~symlinks~termlib arch=linux-rhel6-x86_64
[+]                              ^pkgconf@1.6.1%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]          ^automake@1.16.1%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]          ^hdf5@1.10.5%gcc@9.1.0~cxx~debug~fortran+hl+mpi patches=b61e2f058964ad85be6ee5ecea10080bf79e73f83ff88d1fa4b602d00209da9c +pic+shared~szip~threadsafe arch=linux-rhel6-x86_64
[+]              ^openmpi@3.1.4%gcc@9.1.0~cuda+cxx_exceptions fabrics=none ~java~legacylaunchers~memchecker~pmi schedulers=none ~sqlite3~thread_multiple+vt arch=linux-rhel6-x86_64
[+]                  ^hwloc@1.11.11%gcc@9.1.0~cairo~cuda~gl+libxml2~nvml+pci+shared arch=linux-rhel6-x86_64
[+]                      ^libpciaccess@0.13.5%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]                          ^libtool@2.4.6%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]                          ^util-macros@1.19.1%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]                      ^libxml2@2.9.9%gcc@9.1.0~python arch=linux-rhel6-x86_64
[+]                          ^libiconv@1.15%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]                          ^xz@5.2.4%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]                          ^zlib@1.2.11%gcc@9.1.0+optimize+pic+shared arch=linux-rhel6-x86_64
[+]                      ^numactl@2.0.12%gcc@9.1.0 arch=linux-rhel6-x86_64
[+]          ^parallel-netcdf@1.11.2%gcc@9.1.0+cxx+fortran+pic arch=linux-rhel6-x86_64
[+]      ^netcdf-fortran@4.4.5%gcc@9.1.0+pic arch=linux-rhel6-x86_64
[+]      ^sed@4.2.2%gcc@9.1.0 arch=linux-rhel6-x86_64