[patch,libgomp] Make libgomp Fortran modules multilib-aware
FX
fxcoudert@gmail.com
Wed May 11 08:25:00 GMT 2016
ping
> Le 3 mai 2016 à 23:25, FX <fxcoudert@gmail.com> a écrit :
>
> The attached patch allows libgomp to install its Fortran modules in the correct multilib-aware directories, just like libgfortran does.
> Without it, multilib Fortran OpenMP code using the modules fails to compile because the modules are not found:
>
> $ gfortran -fopenmp a.f90
> $ gfortran -fopenmp a.f90 -m32
> a.f90:1:6:
>
> use omp_lib
> 1
> Fatal Error: Can't open module file ‘omp_lib.mod’ for reading at (1): No such file or directory
> compilation terminated.
>
>
>
> Bootstrapped and tested on x86_64-apple-darwin15. OK to commit?
>
> FX
>
>
>
>
>
>
> 2016-05-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
>
> PR libgomp/60670
> * Makefile.am: Make fincludedir multilib-aware.
> * Makefile.in: Regenerate.
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20160511/4ebc3918/attachment.txt>
More information about the Gcc
mailing list