.Vectorized math library is now enabled for GNU Fortran in GCC Toolset 9
With this enhancement, GNU Fortran from GCC Toolset can now use routines from the vectorized math library `libmvec`. Previously, the Fortran compiler in GCC Toolset needed a Fortran header file before it could use routines from `libmvec` provided by the GNU C Library `glibc`.
We should backport these enhancements:
commit dc0afac3252d0c53716ccaf0b424f7769a66d695
Author: marxin <mliska>
Date: Wed Feb 20 14:54:35 2019 +0100
Add new Fortran vector math header file.
commit ae514971341dcc08ec7f8622493a65e7eb1ef9d2
Author: marxin <mliska>
Date: Thu Mar 7 09:39:55 2019 +0100
Fix location where math-vector-fortran.h is installed.
commit 27a2f2f34c9e77815c6367cf670e24cbac0db7c0
Author: Florian Weimer <fweimer>
Date: Thu Mar 7 17:28:13 2019 +0100
check-wrapper-headers test: Adjust Fortran include file directory
These also need to be backported into Fedora 30+.
I'm dropping the check-wrapper-headers changes from the backport because that is not a test we have downstream. I did backport it, but we lack various header cleanups, and the test fails as a result.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2020:1828
We should backport these enhancements: commit dc0afac3252d0c53716ccaf0b424f7769a66d695 Author: marxin <mliska> Date: Wed Feb 20 14:54:35 2019 +0100 Add new Fortran vector math header file. commit ae514971341dcc08ec7f8622493a65e7eb1ef9d2 Author: marxin <mliska> Date: Thu Mar 7 09:39:55 2019 +0100 Fix location where math-vector-fortran.h is installed. commit 27a2f2f34c9e77815c6367cf670e24cbac0db7c0 Author: Florian Weimer <fweimer> Date: Thu Mar 7 17:28:13 2019 +0100 check-wrapper-headers test: Adjust Fortran include file directory These also need to be backported into Fedora 30+.