This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug linuxthreads/12300] [PATCH] RTLD_SINGLE_THREAD_P used unconditionally but only available on ports/NPTL
- From: "rmh at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 8 Dec 2010 19:59:20 +0000
- Subject: [Bug linuxthreads/12300] [PATCH] RTLD_SINGLE_THREAD_P used unconditionally but only available on ports/NPTL
- Auto-submitted: auto-generated
- References: <bug-12300-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12300
--- Comment #4 from Robert Millan <rmh at gnu dot org> 2010-12-08 19:59:07 UTC ---
(In reply to comment #3)
> The directories I suggested removing were the sysdeps/unix/sysv/linux
> ones, not the other linuxthreads directories in ports that are nominally
> applicable to non-Linux targets. Your patch was also for a
> sysdeps/unix/sysv/linux directory.
Note that as syscall ABI on kFreeBSD is the same as on Linux, sysdep-cancel.h
can be implemented by #including the Linux version (this is why I'm patching a
sysdeps/unix/sysv/linux directory).
> I don't think ports should be a dumping place for dead code someone thinks
> might conceivably be useful one day;
The missing definition is needed on mipsel-kfreebsd-gnu. Sorry for not making
this clear the first time.
> I would strongly advise those caring about the other targets to develop
> proper POSIX threads implementations for them that use whatever interfaces
> are most appropriate for each kernel (while making sure that all the
> headers included in generic glibc code present the same interface as the
> NPTL versions do, to avoid problems with generic code only working with
> NPTL) rather than relying on long-unmaintained code that does not work
> well with current libc. You might be able to use parts of the
> Linuxthreads code or the NPTL code in such implementations; I don't know.
Yeah, I know. Unfortunately manpower doesn't allow this for now (help is
welcome).
> The CVS repository (:pserver:anoncvs@sources.redhat.com:/cvs/glibc, module
> linuxthreads) still appears to exist.
Thanks for the pointer.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.