[Bug libgomp/96661] configure:16984: error: unsupported system, cannot find Fortran int kind=16

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 28 13:16:12 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96661

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:

https://gcc.gnu.org/g:1f0a57bd54aed558e0167016dd980177f88f8480

commit r12-3927-g1f0a57bd54aed558e0167016dd980177f88f8480
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Sep 28 15:15:47 2021 +0200

    libgomp: Only check for 2*sizeof(void*) int type with Fortran [PR96661]

    The depend type is a struct with two pointer members for C/C++ - but for
    Fortran OpenMP requires an integer type with kind = omp_depend_kind. Thus,
    libgomp's configure checks that an integer type/kind with size
2*sizeof(void*)
    is available. However, this integer type/kind is not needed when building
without
    Fortran support. Thus, only check this when Fortran is enabled.

    libgomp/
            PR libgomp/96661
            * configure.ac: Only check for int-type = 2*size_t support when
            building with Fortran support.
            * configure: Regenerate.


More information about the Gcc-bugs mailing list