Objective

The idea for a page that lists different glibc versions of different Linux distributions came from TimRingenbach's post to the autopackage-dev mailing list.

Eventually, this page may be extended to include information other than just glibc version.

Apgcc

By default apgcc make the binaries portable back to glibc 2.2 (before RH 7.1 and Debian 3.0)

The C++ ABI Problem

For make the C++ programs works in system with ABI 1 and 2, automake can use an optional technique named "double compiling" it compiles the program with a ABI 1 compiler an latter with and ABI 2 compiler

Upstream

  • Glibc : Version 2.4 (stable) released on 2006-02-01 00:00:00.000
  • Gcc: Version 4.1.1 (stable) released on 2006-05-25 00:00:00.000

Distros

Distros ordered by Glibc and GCC version.

Linux DistributionsGlibc versionGCC version
openSUSE 10.2 2.5 4.1.3
Ubuntu 7.10 2.6.1 4.1.3
Fedora Core 6 2.5 4.1.1
Mandriva 2007 2.4 4.1.1
Gentoo ??? 2.3.6 3.4.6
Slackware 11.0 2.3.6 3.4.6
CentOS 4.4 2.3.4 3.4.6
RHEL 4 2.3.4 3.4.3
Debian 3.1 2.3.2 3.3.5

Old Data

CentosGlibc version
3.6 2.3.2
DebianGlibc version
3.1 2.3.2
3.0 2.2.5
UbuntuGlibc version
6.10 2.4
7.04 2.5
FedoraGlibc version
5 2.4
4 2.3.5
3 2.3.3
GentooGlibc version
1.6.14 2.3.6
1.11.15 2.4
Red HatGlibc version
7.1 2.2.2
SlackwareGlibc version
10.1 2.3.4
10.0 2.3.2
openSUSEGlibc version
10.0 2.3.5
9.3 2.3.4
9.1 2.3.3

Your glibc

Running /lib/libc.so.6 will tell you the version of glibc. Look at the first line of the output:

$ /lib/libc.so.6
GNU C Library stable release version 2.3.5 (20050802), by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.