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.1 by root, Mon Dec 23 19:30:34 2002 UTC vs.
Revision 1.2 by root, Sat Mar 22 18:50:31 2003 UTC

1If Coro causes segfaults a lot on calls to libc functions, the cause is 1If Coro causes segfaults a lot on calls to libc functions, the cause is
2probably a glibc compiled for i386 and kernel 2.2. 2probably a glibc compiled for i386 and kernel 2.2.
3 3
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) or alternate stacks to 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
6segfault on calls to pthread functions. And glibc happens to do a lot of 7pthread functions. And glibc happens to do a lot of these calls.
7these calls.
8 8
9The bug is rather difficult to fix. This is not a problem, however, since 9The bug is rather difficult to fix. This is not a problem, however, since
10glibcs compiled for linux-2.4 use a much more efficient method to locate 10glibcs compiled for linux-2.4 use a much more efficient method to locate
11their data, which happens to work tiwh coroutines. 11their data, which happens to work with coroutines.
12 12
13So the easy fix is to install a libc which was compiled for linux-2.4, 13So the easy fix is to install a libc which was compiled for linux-2.4,
14using the --enable-kernel=2.4 configure option. WARNING: This kernel will 14using the "--enable-kernel=2.4 i586-pc-linux-gnu" configure options.
15
15no longer run on linux-2.2 or lower! 16WARNING: This libc will no longer run on linux-2.2 or lower!

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines