ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/README.linux-glibc
(Generate patch)

Comparing Coro/README.linux-glibc (file contents):
Revision 1.3 by root, Thu May 8 00:55:28 2003 UTC vs.
Revision 1.4 by root, Fri May 9 01:16:12 2003 UTC

4Glibc contains a bug that causes any program linked against pthreads AND 4Glibc contains a bug that causes any program linked against pthreads AND
5using coroutines (of any kind, not only Coro, but including most userspace 5using coroutines (of any kind, not only Coro, but including most userspace
6thread libraries like gnu-pth) or alternate stacks to segfault on calls to 6thread libraries like gnu-pth) or alternate stacks to segfault on calls to
7pthread functions. And glibc happens to do a lot of these calls. 7pthread functions. And glibc happens to do a lot of these calls.
8 8
9(Even if you pelr is not compiled against pthreads, Time::HiRes links 9(Even if you perl is not compiled against pthreads, Time::HiRes links
10against -lrt, which drags in pthreads. The same is true for other modules, 10against -lrt, which drags in pthreads. The same is true for other modules,
11so watch out). 11so watch out).
12 12
13The bug is rather difficult to fix. This is not a problem, however, since 13The bug is rather difficult to fix. This is not a problem, however, since
14glibcs compiled for linux-2.4 use a much more efficient method to locate 14glibcs compiled for linux-2.4 use a much more efficient method to locate
21 21
22UPDATE: I am no longer able to compile glibc-2.3.2 in this way. The reason 22UPDATE: I am no longer able to compile glibc-2.3.2 in this way. The reason
23is most probably that the glibc folks work on an enhanced thread local 23is most probably that the glibc folks work on an enhanced thread local
24storage facility, and it might be that you need a 2.5 or 2.6 kernel to 24storage facility, and it might be that you need a 2.5 or 2.6 kernel to
25make it work. Glibc-2.3.1 works fine, though. 25make it work. Glibc-2.3.1 works fine, though.
26
27UPDATE: Time::HiRes in current perl snapshots does no longer link against
28-lrt. That still means you need to patch it until 5.9.x gets out.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines