bug-glibc
[Top][All Lists]
Advanced

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

Re: pthread in glibc2.2.2


From: Bratislav ILICH
Subject: Re: pthread in glibc2.2.2
Date: Wed, 4 Apr 2001 00:51:17 +0200

> > Glibc 2.2.2 and linuxthreads *compiled with LDT enabled* cause any
program
> > that is linked to libpthread.so to SEGV immediately on startup.
>
> That's not true. The problem is that you are using outdated binutils
> or something like that which causes libpthread to not be built with
> DF_1_INITFIRST set.
I followed discussion Dan and Ulrich had on this subject and I must add that
they are both, well, correct.
Quite a few people are having problems with this so I feel it needs clearing
out.
If you do run ‘configure --enable-kernel=2.4.x --enable-add-ons’ on i686
(and subsequently enabling LDT segment register based code) building glibc
2.2.2 (and 2.2.3pre1 also) linuxthreads will always fail if you are using
latest RELEASED (available at ftp.gnu.org) version 2.10.1 of binutils
because it lacks needed features, so stop trying. You MUST use PATCHED
version or recent SNAPSHOT (I presume maintainers are using snapshots, which
is why checking gas version is commented out in configure.in). Recent
snapshots will also cure few other obscure bugs for you.
May be it would be good idea for maintainers to clearly state this issue and
ease the pain for those of us effortlessly trying, and release ld patch (or
point where to find it) or speed up new release of binutils (come on Urlich
be a sport!).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]