LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   error in configure glibc-2.3.4 (https://www.linuxquestions.org/questions/linux-software-2/error-in-configure-glibc-2-3-4-a-321255/)

isilinux 05-08-2005 06:19 AM

error in configure glibc-2.3.4
 
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

Komakino 05-09-2005 03:01 PM

I don't know if it's related, but there is something called libunwind. Perhaps that's what you need.

mhearn 05-10-2005 11:48 AM

Do not attempt to upgrade glibc, instead upgrade your distribution

Komakino 05-10-2005 02:30 PM

Quote:

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.

mhearn 05-10-2005 06:44 PM

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.

isilinux 05-10-2005 11:25 PM

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

evil_empire 05-11-2005 05:28 AM

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.

mhearn 05-11-2005 07:56 AM

There's a difference between updating it via up2date and building from source.

isilinux, see this thread:

http://archives.linuxfromscratch.org...ly/001835.html

wjyaries 06-01-2005 10:19 AM

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


host kernel: 2.6.8 (SuSE 9.2)
target kernel: 2.6.9
gcc-3.3.4
glibc-2.3.5
glibc-linuxthreads-2.3.5


Although I installed libunwin, result is the same. Would somebody can advise me?

Thank you!


Aries Wang

madluther 06-01-2005 10:37 AM

Quote:

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.
From chapter 5.2 of the LFS - 6.0 book

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.

infobits 06-04-2009 05:40 PM

Quote:

Originally Posted by madluther (Post 1671997)
From chapter 5.2 of the LFS - 6.0 book

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.

Mr. Majestic 07-07-2010 12:04 PM

Quote:

Originally Posted by isilinux (Post 1631337)
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.


All times are GMT -5. The time now is 05:28 AM.