SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Glibc 2.4 installation in Slackware 11
Why doesnt slackware 11 ship with glibc 2.4??? Well anyway I require it for SystemTap, now I'm trying to compile glibc 2.4 from the sources, but the make install fails (make and configure succeed), at this stage:
cannot set up thread-local storage: set_thread_area failed when setting up thread-local storage
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Why doesnt slackware 11 ship with glibc 2.4???
Search the changelog and you find:
"... Yes, I have seen that shiny-looking glibc-2.4 release on ftp.gnu.org, but glibc-2.4 completely drops support for
linuxthreads, and therefore will not support vanilla Linux 2.4.x kernels. I don't think we're quite ready for that yet around here."
"When working with Linux kernels, the GNU C Library version 2.4 is intended primarily for use with Linux kernel version 2.6.0 and later. We only support using the NPTL implementation of pthreads, which is now the default configuration. Most of the C library will continue to work on older Linux kernels and many programs will not require a 2.6 kernel to run correctly. However, pthreads and related functionality will not work at all on old kernels and we do not recommend using glibc 2.4 with any Linux kernel prior to 2.6"
If your using a 2.6 kernel and are able to successfully compile glibc-2.4, I suspect you'll probably have to re-build all the binaries that came with the default Slackware install so you won't run into problems, as they are built with glibc-2.3.6. Someone else on this list can probably confirm that.
EDIT: I should say this isn't really a stock slackware tho... I have installed 2.6.18 kernel headers with make headers_install along with my own custom built 126.96.36.199 kernel. I just installed a couple packages that needed 2.6 headers and forgot to remove the new headers. Xorg-7.1.1 is on here as well tho that shouldn't make a diff.
It also looks like your building inside the source tree, which you probably shouldn't be doing. ALSO.... Is there any info before that?. Just for refrence, you need to post what's before that as well in order to see what's going on. Even if it's just a block of code that had no errors. That's the customary starting point for posting errors.
Make sure your running a newer 2.6 kernel and then try again.