Re: [PATCH v2 0/1] libgomp: Fix gfortran detection when program is found via PATH
Thomas Schwinge via Sourceware Forge <[email protected]> Wed, 29 Jul 2026 08:50:24 +0000
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <bmm.hkuaedtkw0.gcc.gcc.tschwinge.172.6950.CMT@forge-stage.sourceware.org> |
Thanks for the files, and I've now also reproduced the problem in a `--build= =3Dx86_64-unknown-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux= -gnu` configuration (using system GCC `x86_64-linux-gnu-gcc` etc., and approx= imately matching GCC sources). The proposed "libgomp: Fix gfortran detection when program is found via PATH"= patch has the issue that it picks up the "gfortran [...] found via PATH" als= o in the case when GCC is configured without `--enable-languages=3Dfortran` i= n effect, and it then still builds and installs the libgomp/Fortran support f= iles in GCC configurations without Fortran support enabled. Please test <https://inbox.sourceware.org/20260729084137.3657939-1-tschwinge@= baylibre.com> "libgomp: Revise libgomp/Fortran support conditionals", which s= hould achieve the same thing, but in a conceptually simpler way. -- https://forge.sourceware.org/gcc/gcc/pulls/172#issuecomment-6950