[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

glibc 2.3.2 reinstalling from sources failed



Hello debians team!

I am want to install glibc 2.3.2
from sources on sarge distributive.

installed:
Sarge and then mc.
sources glibc and linuxthreads 2.3.2 downloaded from www.gnu.org.

then i unpack sources and linuxthreads in directory glibc-2.3.2
and run script configure from directory glibc-build.
implement sscanf patch for glibc 2.3.2
then I run configure script
/////////////////////////////////////////////////////
a)
 ../glibc-2.3.2/configure --enable-add-ons=linuxthreads --prefix=/usr

result - no errors

then
  make
result - no errors
make check one error - *inet* down know.
than
make check whitout error
then make install - cannot handle TLS data
if I replace  /lib/ld-2.3.2.so with ../elf/ld.so
than some binutils utils such as make, gcc and etc
fail with message cannot handle TLS data
/////////////////////////////////////////////////////
b)
../glibc-2.3.2/configure --enable-add-ons=linuxthreads
--prefix=/usr --with-tls

make has error first in
tls.h
(__builtin_expect(GL(dl_osversion) < 131939, 0)
? "kernel to old for thread-local storage support\n":
with message
"kernel to old for thread-local storage support"
Default kernel version 2.4.26 -> 132122
when i del lines
- (__builtin_expect(GL(dl_osversion) < 131939, 0)
- ? "kernel to old for thread-local storage support\n":
I has error when linuxthreads was linking
_ERRNO unresolved externals
and
if I replace  /lib/ld-2.3.2.so with glibc-build/elf/ld.so
than some binutils utils such as make, gcc and etc
fail with message cannot handle TLS data
/////////////////////////////////////////////////////
c)
if
../glibc-2.3.2/configure --enable-add-ons=linuxthreads
--prefix=/usr --without-tls

then
  make
result - no errors
then if
make install
install failed with message  cannot handle TLS data
or
if I replace  /lib/ld-2.3.2.so with glibc-build/elf/ld.so
than some binutils utils such as make, gcc and etc
fail with message cannot handle TLS data
/////////////////////////////////////////////////////
b)

if O install glibc 2.3.3 I have equal result
../glibc-2.3.3/configure --enable-add-ons=ntpl
--prefix=/usr --without-tls
make has error

PS: each installation glibc I made from clean installation Sarge
under VMWare ver 4.5.2.

Q: How reinstall glibc 2.3.2 in Sarge?
Q: What kind of thread package (nptl or linuxthreads)  uses
in Sarge distributive by default?
Q: How install glibc 2.3.3 in Sarge?
Q: what kinf of command string to script configure I need to
type for compile default glibc?
Q: Are addititional patch needed for glibc sources for install glibcs?
(Now I am use only sscanf patch).

Great Sanks for attention!

-- 
Best regards,
 Dmitry                          mailto:assad@agava.ru



Reply to: