aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-13 10:40:47 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-13 10:40:47 +0000
commitceb27555a1f637c048c7ec65a01f8122c3e79bf3 (patch)
tree22f0e0977687947da81e7238c80da8c5b9587728
parentb1209f90659953782d856a77819be13e51ef5b5e (diff)
downloadglibc-ceb27555a1f637c048c7ec65a01f8122c3e79bf3.zip
glibc-ceb27555a1f637c048c7ec65a01f8122c3e79bf3.tar.gz
glibc-ceb27555a1f637c048c7ec65a01f8122c3e79bf3.tar.bz2
Update.
1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> * Examples/ex6.c: Include <unistd.h> for usleep.
-rw-r--r--FAQ.in13
-rw-r--r--elf/rtld.c3
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/Examples/ex6.c1
4 files changed, 19 insertions, 2 deletions
diff --git a/FAQ.in b/FAQ.in
index 0a94435..5ec49c3 100644
--- a/FAQ.in
+++ b/FAQ.in
@@ -57,7 +57,7 @@ GNU CC is found, like all other GNU packages, on
and the many mirror sites. ftp.gnu.org is always overloaded, so try to find
a local mirror first.
-You always should try to use the latest official release. Older versions
+You should always try to use the latest official release. Older versions
may not have all the features GNU libc requires. The current releases of
egcs (1.0.2) and GNU CC (2.8.1) should work with the GNU C library (for
powerpc see question ?powerpc).
@@ -158,6 +158,17 @@ on a recent kernel) does not necessarily work. For example you can't use
new kernel features when using old kernel headers for compiling the GNU C
library.
+{ZW} Even if you are using a 2.0 kernel on your machine, we recommend you
+compile GNU libc with 2.1 kernel headers. That way you won't have to
+recompile libc if you ever upgrade to kernel 2.1 or 2.2. To tell libc which
+headers to use, give configure the --with-headers switch
+(e.g. --with-headers=/usr/src/linux-2.1.107/include).
+
+Note that you must configure the 2.1 kernel if you do this; otherwise libc
+will be unable to find <linux/version.h>. Just copy .config from your 2.0
+kernel sources to the 2.1 tree, do `make oldconfig', and say no to all the
+new options.
+
?? The compiler hangs while building iconvdata modules. What's
wrong?
diff --git a/elf/rtld.c b/elf/rtld.c
index f1b6121..f60a357 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -65,6 +65,7 @@ static void process_envvars (enum mode *modep, int *lazyp);
int _dl_argc;
char **_dl_argv;
+unsigned int _dl_skip_args; /* Nonzero if we were run directly. */
const char *_dl_rpath;
int _dl_verbose;
const char *_dl_platform;
@@ -269,7 +270,6 @@ match_version (const char *string, struct link_map *map)
return 0;
}
-static unsigned int _dl_skip_args; /* Nonzero if we were run directly. */
static const char *library_path; /* The library search path. */
static const char *preloadlist; /* The list preloaded objects. */
static int version_info; /* Nonzero if information about
@@ -982,6 +982,7 @@ process_dl_debug (const char *dl_debug)
_dl_debug_bindings = 1;
_dl_debug_versions = 1;
any_debug = 1;
+ continue;
}
break;
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index aef77ed..fb309c7 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * Examples/ex6.c: Include <unistd.h> for usleep.
+
1998-06-13 11:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Examples/ex4.c (main): Use exit, not pthread_exit.
diff --git a/linuxthreads/Examples/ex6.c b/linuxthreads/Examples/ex6.c
index 32621d3..7853376 100644
--- a/linuxthreads/Examples/ex6.c
+++ b/linuxthreads/Examples/ex6.c
@@ -2,6 +2,7 @@
#include <stdio.h>
#include <string.h>
#include <pthread.h>
+#include <unistd.h>
void *
test_thread (void *v_param)