Bug#791676: libmpich-dev 3.4~a2+really3.3.2-2 has broken Fortran due to gfortran-10 specific flags
Drew Parsons
dparsons at debian.org
Tue Aug 11 02:46:35 BST 2020
Thanks Jed. I think you're replying here in response to discussion
raised elsewhere. Could you provide a url link if its publicly
accessible so we can catch the rest of the context?
Drew
On 2020-08-11 06:43, Jed Brown wrote:
> I'm replying here because I think it's part of this bug, but more
> severe
> in practice. It was evidently built with gfortran-10, but depends on
> gfortran-9, which doesn't recognize these arguments.
>
> $ cat > a.f90
> program main
> end
> ^D
> $ mpifort a.f90
> f95: error: unrecognized command line option ‘-fallow-invalid-boz’
> f95: error: unrecognized command line option
> ‘-fallow-argument-mismatch’; did you mean ‘-Wno-argument-mismatch’?
>
> This can be worked around if one has gfortran-10 installed:
>
> $ MPICH_CC=gfortran-10 mpifort a.f90
> $
>
>
> $ mpifort -show
> f95 -O2
> -fdebug-prefix-map=/build/mpich-Aiaw9P/mpich-3.4~a2+really3.3.2=.
> -fstack-protector-strong -fallow-invalid-boz -fallow-argument-mismatch
> -Wl,-z,relro -I/usr/include/x86_64-linux-gnu/mpich
> -I/usr/include/x86_64-linux-gnu/mpich -L/usr/lib/x86_64-linux-gnu
> -lmpichfort -lmpich
More information about the debian-science-maintainers
mailing list