The glibc-xen package has not available for slackware. so we have to rebuild the glibc.

My remote server has installed with Xen kernel, i have created my instance as Slackware12.1 image.

After uploading the instance, I am getting below error, i have referred some urls and they suggested that need to rebuild the glibc to enable the tls support.

************************************************** *************
************************************************** *************
** WARNING: Currently emulating unsupported memory accesses **
** in /lib/tls glibc libraries. The emulation is **
** slow. To ensure full performance you should **
** install a 'xen-friendly' (nosegneg) version of **
** the library, or disable tls support by executing **
** the following as root: **
** mv /lib/tls /lib/tls.disabled **
** Offending process: init (pid=1) **
************************************************** *************
************************************************** *************

ftp://ftp.linuxforum.hu/mirrors/zenw...ibc.SlackBuild

I rebuild the glibc with option as CFLAGS = "-g $ OPTIMIZ-mno-tls-direct-seg-refs" but still getting same error. there is no file created /lib/tls. I have tried this for 2 weeks.

Then i tried with another slackbuild for 2.3.5 , the packages has created with so many warnings but created.. while installing rebuilt package getting package corruption error


rm: /lib/libc.so.6: version `GLIBC_2.4' not found (required by rm)
rm: /lib/libc.so.6: version `GLIBC_2.4' not found (required by rm)
rm: /lib/libc.so.6: version `GLIBC_2.4' not found (required by rm)
rm: /lib/libc.so.6: version `GLIBC_2.4' not found (required by rm)

http://ftp.lanet.lv/ftp/mirror/Slack...ibc.SlackBuild

Please Can you suggest me how to create the glibc with supporting xen?