|
Home > Archive > Debian Developers > June 2004 > glibc 2.3.2 reinstalling from sources failed
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
glibc 2.3.2 reinstalling from sources failed
|
|
| Dmitry M. Chepel 2004-06-28, 9:14 am |
| Hello debian,
I am working with Debian "Sarge" distributive.
I want to patch the ld-2.3.2.so.
The compilation the packege glibc 2.3.2 was needed for this.
the only ld-2.3.2.so was needed me in the output after make.
this file must be equalent for the ld-2.3.2.so in the dir /lib
for the Sarge by Default. (if I can compile this file Than I changes if needed for me this
sources this file and recompile its.)
for configure and make the glibc package I am use the command line
.../glibc-2.3.2/configure --disable-profile --prefix=/usr \
--enable-add-ons=nptl --libexecdir=/usr/bin --with-tls \
--with-headers=/usr/include
after this I see message:
configure: error: CFI directive support in assembler is required
I am change the files confiure and configure.in in nptl/sysdeps/pthread/
for skip this error.
and then
make
after I see message version GLIBC_2.3.3 not defined for libthread.
than I remove
GLIBC_2.3.3 {
....
} from file nptl/Version and nptl_db/Version
and then I see error .../pthread.h:381: error: parse error before "cpu_set_t"
The Sarge contains:
kernel v 2.4.26.
glibc v 2.3.2 with nptl (in the /lib/tls/libthread-0.60.so
I reed some nptl signatures. ) forever.
glibc_2.3.3.ds1.orig.tar.gz from the debian site.
binutils v 2.14.90.
I am probe do it with this enviroment, and
I proble make the glibc in the /tools/lib dir,
and than compile all utilites with this glibc
(such as gcc, ar, as, and etc as show in Scratch linux project).
In this case
binutils v 2.15.91.
gcc - 3.3.3
I wrote some letter yet.
And Receive letter for Reading instlall notes or
find information in google.
I was Read instlall notes and I find info in google,
but not find.
I can reinstall glibc 2.3.2 without nptl on the kernel 2.4.26,
but with enable-add-ons=linuxthreads and
I was Reading that for kernel 2.5/2.6 needed,
but in default Sarge nptl is work.
And I am need to change DEFAULT ld-2.3.2.so for "Sarge".
Q:How make glibc if I want change only ld-2.3.2.so.
--
Best regards,
Dmitry mailto:assad@agava.ru
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| GOTO Masanori 2004-06-29, 3:17 am |
| At Mon, 28 Jun 2004 17:44:07 +0400,
Dmitry M. Chepel <assad@agava.ru> wrote:
> after I see message version GLIBC_2.3.3 not defined for libthread.
> than I remove
> GLIBC_2.3.3 {
> ...
> } from file nptl/Version and nptl_db/Version
It simply breaks glibc.
> I can reinstall glibc 2.3.2 without nptl on the kernel 2.4.26,
> but with enable-add-ons=linuxthreads and
> I was Reading that for kernel 2.5/2.6 needed,
> but in default Sarge nptl is work.
> And I am need to change DEFAULT ld-2.3.2.so for "Sarge".
NPTL needs 2.6 kernel. There's no other option. In default, on 2.4
kernel, pthread library is linuxthreads. BTW, patching ld-2.3.2.so is
different stuff from nptl issue. I guess you may be confused with
other things.
> Q:How make glibc if I want change only ld-2.3.2.so.
If you use debian, I recommend you to try building debian glibc
package in first, and to investigate the result:
apt-get update && apt-get build-dep
apt-get source libc6 && cd glibc-2.3.2.ds1 && debuild
Regards,
-- gotom
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
|