There are several versions of glibc available, but not in all cases are new versions really better than the old ones. The best thing you can do to find out which works and which ones you should not use is to check out the different forums on the Internet. If you have someone to ask, talk to him about the topic. Maybe he already has installed the new version and might be able to tell you that version x.y.z is a PITA, but version a.b.c works really well!
I decided to install glibc-2.2.4, as I was told it works well, but it is your decision which one to choose.
Ok, now let's go to work:
Get the source from ftp.gnu.org/gnu/glibc/; as I said, I used version 2.2.4.
Unpack the source:
tar -xzvf glibc-2.2.4.tar.gz
In addition, you will need a package called "linuxthreads," found in the linuxthreads directory on ftp.gnu.org. The file is called:
Copy the linuxthreads package to your glibc source directory:
cp glibc-linuxthreads-2.2.4.tar.gz glibc-2.2.4
Change to the glibc directory:
tar xzvf linux-threads-2.2.4.tar.gz
Configure the package:
Afterwards, start the compilation of glibc:
Now that the library is compiled, everything is ready for the installation, but things are not as easy this time.