This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch,libgomp] Make libgomp Fortran modules multilib-aware


Given lack of review of this Fortran-specific patch for libgomp, can a Fortran maintainer approve it please?

FX

Attachment: patch.txt
Description: Text document




> *ping*
> 
> This patch from May makes libgomp install its Fortran modules in the correct multilib-aware directories, following what libgfortran does.
> 
> 
> 
> 
>> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]