FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 12-06-2010, 04:22 PM
Orion Poplawski
 
Default Issues with Fortran modules

See https://bugzilla.redhat.com/show_bug.cgi?id=660035 for the spark for this.

Apparently there is a "GFORTRAN module version" number assigned to Fortran
modules created by gfortran:

==> /usr/lib/gfortran/modules/hdf5.mod <==
GFORTRAN module version '4' created from ../../../fortran/src/HDF5.f90 on Thu
Oct 28 14:43:23 2010

==> /usr/lib/gfortran/modules/netcdf.mod <==
GFORTRAN module version '0' created from netcdf4.f90 on Mon Apr 19 20:30:19 2010

Now, apparently from gcc 4.4.3 -> 4.5.1 this changed from 0 to 4, and
apparently there is no backwards compatibility:

Fatal Error: Wrong module version '0' (expected '4') for file 'netcdf.mod'
opened at (1)

So, it makes sense to me to encode this into the rpm dependencies somehow.
Perhaps gcc-gfortran can provides a gfortran-abi(VERSION) and the gfortran
module packages can require it. rpm would need to automatically generate the
requires though.

Thoughts? Suggestions?

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 09:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org