Hi, Jeff. On Tuesday, 21 January 2020 at 21:16, Jeff Law wrote: > > > So this is another issue that's going to be seen with gcc-10. I'd been > hoping to get the time to fix packages correctly, but I think it's > ultimately going to have to fall to the package maintainers. > > gcc has traditionally allowed certain type mismatches for arguments in > Fortran code. GCC would issue a diagnostic under -Wargument-mismatch > for these cases, but the issue was not considered fatal. > > Starting with gcc-10, these are now fatal errors which look something > like this: > > > > Error: Rank mismatch in argument ‘array’ at (1) (rank-1 and scalar) Could you give some example(s) how to fix such errors? Is there an entry for this in the gcc-10 porting guide? > While gcc-10 has an option to disable this diagnostic, the potential > for codegen issues in this space was significant enough that I didn't > think an opt-out or advertising magic flag workaround was advisable. > > A partial list of the affected packages (generated back in October from > a partial run of my tester): Are there any build logs with errors available? > R-deldir > R > atlas > cgnslib > cp2k > elk > elpa > exciting > ga > getdata > grib_api > hdf > libccp4 > mpich > hwchem > psblas3 > qrmumps > qrupdate > quantum-espresso > scalapack > scipy > scorep > wannier90 > wsjtx > xfoil > xrotor Could you copy all the affected maintainers on this announcement? I'll see what I can do for cp2k and elpa. atlas, hdf, mpich, R, scalapack and scipy are core scientific computing packages, so they should be fixed first. > One of the upstream GCC developers looked at wannier90. It turns out > we're using a fairly old version (2.0.1, 2015). Newer versions (3.0 > Feb 2019) already have this problem fixed. > > So consider this a heads-up that roughly 30-40 Fortran packages are > going to start failing. When is that happening? Already? Could you copy all the affected maintainers on this announcement? Regards, Dominik -- Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx