Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Originally posted by mhearn Do not attempt to upgrade glibc, instead upgrade your distribution
That was also my first thought, but you don't know why he wants to upgrade glibc, it might be a learning exercise or it might be because he HAS to keep using red hat 9.
glibc is frequently impossible to build with a stock toolchain. It's a "magic" package in that regard: I'd never recommend somebody try to upgrade it. That's a good way to render your system unbootable.
Most software that appears, at first sight, to depend on a new glibc actually doesn't. Recompiling it makes this dependency magically disappear.
I dont want to update my glibc ,I want configure and compile it to make LFS System and then build a live CD form that. I use the LFS-BOOK6 but I stoped becuase of this Error.
thanks
I never had any problems updating glibc on my systems. I've done it before on RH9 without a prob.
Try updating gcc to a newer version first and then see.
error in compiling cross-compile tools, glibc-2.3.5
Hi,
When I make cross-compiler toolchain, I also encouter the same error
.....
checking for unistd.h... no
checking for long double... no
checking size of long double... 0
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/unix/sysv/linux
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... no
configure: error: forced unwind support is required
The host must be running at least a 2.6.2 kernel compiled with GCC-3.0 or higher.
Unfortunately you wont be able to build an LFS 6.0 on a system running a 2.4.x kernel.
Mad.
Hello, just encountered this error too trying to create arm-linux cross compiler. When attempting to run configure for glibc v2.10.1 using gcc 4.4.0 running Debian Linux lenny kernel 2.6.29.2-686.
It still happens! What the heck is with all these glibc packages that have so much trouble making and building them?
I even have errors just trying to build glibc libraries package for my native i686 PC compiler environment let alone trying to use it for cross compilers.
Developers have to fix this inconsistent building of glibc. Does not work for me.
hello.
I try to install glibc-2.3.4 in redhat 9. But while the configuration, this Error is apeared:
checking for forced unwind support... no
configure: error: forced unwind support is required
my kernel is 2.4.28 & my gcc is 3.2.2
thank you
Ali
I'm assuming that since you were doing this for LFS you were working on creating the tool chain to do the rest of the book? if thats the case you have to be sure to pass the following to the configure script:
Code:
libc_cv_forced_unwind=yes
The linker that was compiled with Binutils cannot be used with Glibc at that state, hence you have to pass this argument to get Glibc to configure properly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.