Bug#791676: libmpich-dev 3.4~a2+really3.3.2-2 has broken Fortran due to gfortran-10 specific flags
Alastair McKinstry
alastair.mckinstry at sceal.ie
Tue Aug 11 10:15:05 BST 2020
This looks like it should be fixed by requiring gfortran >= 10 on the
libmpich-dev control, yes?
Sorry I'm slow in responding - on holiday
Alastair
On 11/08/2020 02:46, Drew Parsons wrote:
> 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
>
--
Alastair McKinstry, email: alastair at sceal.ie, matrix: @alastair:sceal.ie, phone: 087-6847928
Green Party Councillor, Galway County Council
More information about the debian-science-maintainers
mailing list