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: 4.5 regular build for 64-bit (x86_64): trouble with GLIBC_2.11


I heartily second the request. I reported this issue on 26-Jan-2010
but received no response.   Perhaps not many people other than the
regular developers want to use or care about the nightly builds?

Since these 64-bit linux nightly builds rely on a version of GLIBC not
present on even the most recent releases of most linux distributions,
this severely restricts their utility.  If my goal is to test gfortran
on my regular production boxes my only choices are (a) complile glibc
from source and run a nonstandard, unsupported system, (b) switch linux
distributions and run a "bleeding edge" Fedora or (c) complile gcc &
gfortran from source.  (c) is by far the least painful, but unless I set
up my own automated nightly build is too much effort to do frequently.

Anyway, we now have at least three members of this list who would
welcome a nightly build they could run. Is this enough incentive
to set one up?

Keith Refson

On Fri, 2010-04-09 at 07:04 -0700, Jerry DeLisle wrote:
> On 04/09/2010 04:30 AM, Kay Diederichs wrote:
> > jdelia@intec.unl.edu.ar schrieb:
> >> Jerry DeLisle<jvdelisle@verizon.net>  ha escrito:
> >>
> >>> On 04/08/2010 03:22 PM, jdelia@intec.unl.edu.ar wrote:
> >>>> Dear gfortran developers,
> >>>>
> >>>> Last night I tried to install the (experimental) Gfortran 4.5 release in
> >>>> an Intel Xeon machine:
> >>>>
> >>>> # cat /proc/version
> >>>> Linux version 2.6.24 (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
> >>>> ) #1 SMP Thu Nov 20 13:21:28 ARST 2008
> >>>>
> >>>> # cat /proc/cpuinfo
> >>>> vendor_id : GenuineIntel
> >>>> cpu family : 6
> >>>> model : 15
> >>>> model name : Intel(R) Xeon(R) CPU E5335 @ 2.00GHz
> >>>> cpu MHz : 1995.000
> >>>> cache size : 4096 KB
> >>>> siblings : 4
> >>>> cpu cores : 4
> >>>> cpuid level : 10
> >>>> wp : yes
> >>>> bogomips : 3992.34
> >>>> clflush size : 64
> >>>> cache_alignment : 64
> >>>> address sizes : 38 bits physical, 48 bits virtual
> >>>> ...
> >>>>
> >>>>
> >>>> After the 64-bit AMD-compatible processors (x86_64) compiler is
> >>>> installed from
> >>>>
> >>>> http://users.physik.fu-berlin.de/~tburnus/gcc-trunk/gcc-trunk-x86_64.tar.gz
> >>>>
> >>>>
> >>>> $ which gfortran
> >>>> /usr/local/gfortran/bin/gfortran
> >>>>
> >>>> there is a trouble with the missing library:
> >>>>
> >>>> $ gfortran --version
> >>>> gfortran: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by
> >>>> gfortran)
> >>>>
> >>>> However,
> >>>>
> >>>> # yum install glib
> >>>> Loaded plugins: refresh-packagekit
> >>>> Excluding Packages in global exclude list
> >>>> Finished
> >>>> Setting up Install Process
> >>>> Parsing package install arguments
> >>>> Package 1:glib-1.2.10-29.fc9.x86_64 already installed and latest version
> >>>> Nothing to do
> >>>>
> >>>> # yum install glib2
> >>>> Loaded plugins: refresh-packagekit
> >>>> Excluding Packages in global exclude list
> >>>> Finished
> >>>> Setting up Install Process
> >>>> Parsing package install arguments
> >>>> Package glib2-2.16.6-3.fc9.x86_64 already installed and latest version
> >>>> Nothing to do
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Please, how can fix this problem?
> >>>>
> >>> I think you want glibc and glibc-devel packages. (Not glib)
> >>>
> >>> Jerry
> >>
> >>
> >>
> >> OK, thanks for noting the difference with these libraries.
> >>
> >> Anyway, it seems that not enough to install those packages since:
> >>
> >> # yum install glibc
> >> Loaded plugins: refresh-packagekit
> >> updates-newkey                                           | 3.4 kB     00:00
> >> fedora                                                   | 2.4 kB     00:00
> >> updates                                                  | 2.6 kB     00:00
> >> Excluding Packages in global exclude list
> >> Finished
> >> Setting up Install Process
> >> Parsing package install arguments
> >> Package glibc-2.8-8.x86_64 already installed and latest version
> >> Nothing to do
> >>
> >> # yum install glibc-devel
> >> Loaded plugins: refresh-packagekit
> >> Excluding Packages in global exclude list
> >> Finished
> >> Setting up Install Process
> >> Parsing package install arguments
> >> Package glibc-devel-2.8-8.x86_64 already installed and latest version
> >> Nothing to do
> >>
> >>
> >> Any other idea?
> >>
> >> Regards,
> >>
> >> Jorge.
> >> --
> >
> > Jorge,
> >
> > the reason for the failure is that those people who build gfortran
> > binaries do so on relatively new versions of Linux distros, with a
> > fairly recent glibc (which defines GLIBC_2.11).
> >
> > People like you (and me) would thus be forced to upgrade to a newer
> > distro, which in my case is not possible (we'll only upgrade all our
> > workstations from RHEL5 to RHEL6 when the latter is available).
> >
> > I tried to come up with a script for self-compiling gfortran and posted
> > it to this newsgroup on January 29. It may not be perfect but could
> > serve as a starting point for you.
> >
> > It would be great if the "gfortran builders" who make binaries available
> > would produce the binaries on a long-lived, not too recent version of a
> > Linux distro (which could even run in a virtual machine).
> >
> > HTH,
> >
> > Kay
> 
> Hmm, I will have to think about this a bit.
> 
> Jerry



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