links - glibc [links - soft] [links] [home] [search

src (Icelandic mirror)

build instructions:
  1. mkdir glibc-2.7-build
  2. cd glibc-2.7-build
  3. echo "CFLAGS += -march=i586" > configparms (otherwise one gets undefined reference to `__sync_bool_compare_and_swap_4` and similar errors)
  4. ../glibc-2.7/configure --prefix=/usr/local/glibc-2.7 --with-headers=/usr/src/linux-2.6.25/include
  5. make
  6. export TIMEOUTFACTOR=2 (otherwise crypt/sha256c-test timeouts on my slow machine)
  7. export LD_PRELOAD="/usr/local/gcc/lib/libgcc_s.so.1 /usr/local/gcc/lib/libstdc++.so.6" (otherwise in some tests it complains about lack of these libraries no matter what)
  8. make check
  9. env LANGUAGE=C LC_ALL=C make install
to get glibc version, simply run /lib/libc.so.6 (sic!)

an error like *** glibc detected *** free(): invalid pointer: 0x081c80f0 *** indicates an application fault in memory management. glibc allows to supress (but not to remedy!) such an error by setting environment variable MALLOC_CHECK_ to 0 or 1 (see man malloc).


created Apr 20 2008
last updated Tue Apr 22 04:34:27 UTC 2008