SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415
Rep:
Glibc 2.4 installation in Slackware 11
Hi,
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:
Quote:
cannot set up thread-local storage: set_thread_area failed when setting up thread-local storage
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761
Rep:
Quote:
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 2.6.18.2 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.