summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-08-08 00:38:31 +0000
committerUlrich Drepper <drepper@redhat.com>1997-08-08 00:38:31 +0000
commitd31dff5d5bf5377fe159e3c8d33356ce95e8db5a (patch)
tree7a182d817466934d475b029287eb6f4c8580c94e
parente1ee8d3a684e4ed8e14197ca9c513a98cbd49a2a (diff)
-rw-r--r--ChangeLog110
-rw-r--r--FAQ80
2 files changed, 186 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d2c835cdbf..5bac1ca386 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,107 @@
+1997-08-08 02:25 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
+ for storage class.
+ * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
+
+ * login/Makefile (routines): Add updwtmp.
+ * login/logwtmp.c: Move definition of updwtmp to ...
+ * login/updwtmp.c: here. New file.
+
+ * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
+ * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
+ * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
+
+1997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu>
+
+ * libio/stdfiles.c (_libio_using_thunks): Define if
+ _G_USING_THUNKS is defined.
+
+ * libio/_G_config.h: Moved to
+ * sysdeps/generic/_G_config.h: ...here.
+
+ * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
+
+1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
+ right place.
+
+1997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
+ PC's in long long to avoid overflow.
+
+1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
+ New macros.
+
+1997-08-06 13:54 Ulrich Drepper <drepper@cygnus.com>
+
+ * gmon/gmon.c (_mcleanup): Fix typos.
+
+ * gmon/sys/gmon.h: Add prototype for write_profiling.
+
+1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
+ loop, to avoid dragging stdio into the dynamic linker.
+
+1997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
+ (_mcleanup): Use write_gmon.
+ (write_profiling): This function can be safely called at any time
+ to write a current histogram without interfering with ongoing
+ profiling.
+
+ * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
+
+1997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
+ not be vm_deallocated; it's a stack buffer.
+ (profil_vm_deallocate): Delete prototype.
+ (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
+ inclusion.
+ * sysdeps/mach/hurd/Makefile
+ ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
+ this rule.
+
+ * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
+ from profile_waiter.
+ (profile_waiter): Use fetch_samples.
+ (profil): When turning off profiling, fetch the last bunch of
+ samples before disabling PC sampling.
+ (fetch_samples): Add prototype.
+
+1997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
+ source included by profil.c instead of trying to use
+ before-compile grot.
+
+1997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
+ after releasing lock. Use special RPC stubs and avoid assert,
+ thus making this function entirely independent of the threadvar
+ mechanism and of cthreads.
+ (lock): Convert to be a spin lock instead of a mutex, so that the
+ waiter thread need not use cthreads. Use a fork prepare hook
+ instead of _hurd_fork_locks to make sure we are clean before
+ forking.
+ (fork_profil_child): Renamed from fork_profil.
+ (profil_reply_port): New variable.
+ (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
+ stubs made by special hacks.
+ * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
+ source files that profil.c needs if we are in the gmon directory.
+
+ * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
+ cthreads bug that hasn't existed for two years.
+
1997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/localedef.c (main): Set bit in avail for those
@@ -94,6 +198,12 @@
install-info with a different command line interface from the
canonical GNU texinfo version.
+1997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
+ * posix/unistd.h: Likewise.
+ * sysdeps/stub/ttyname_r.c: Likewise.
+
1997-06-22 Paul Eggert <eggert@twinsun.com>
* time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
diff --git a/FAQ b/FAQ
index f8a638fd3b..df2686e243 100644
--- a/FAQ
+++ b/FAQ
@@ -77,6 +77,16 @@ please let me know.
[Q21] ``On Linux I've got problems with the declarations in Linux
kernel headers.''
+
+[Q22] ``When I try to compile code which uses IPv6 header and
+ definitions on my Linux 2.x.y system I am in trouble.
+ Nothing seems to work.''
+
+[Q23] ``When compiling GNU libc I get lots of errors saying functions
+ in glibc are duplicated in libgcc.''
+
+[Q24] ``I have set up /etc/nis.conf, and the Linux libc 5 with NYS
+ works great. But the glibc NIS+ doesn't seem to work.''
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
[Q1] ``What systems does the GNU C Library run on?''
@@ -173,7 +183,12 @@ Library.
slow.
* plenty of time (approx 1h for i?86-linux on i586@133 or 2.5h on
- i486@66 or 4.5h on i486@33). For Hurd systems times are much higher.
+ i486@66 or 4.5h on i486@33), both for shared and static only).
+ For Hurd systems times are much higher.
+
+ For Atari Falcon (Motorola 68030 @ 16 Mhz, 14 Mb memory) James Troup
+ <J.J.Troup@comp.brad.ac.uk> reports for a full build (shared, static,
+ and profiled) a compile time of 45h34m.
If you have some more measurements let me know.
@@ -417,7 +432,7 @@ ship the cryptographic function together with the libc.
But of course we provide the code and there is an very easy way to use
this code. First get the extra package. People in the US way get it
from the same place they got the GNU libc from. People outside the US
-should get the code from ftp.uni-c.dk [129.142.6.74], or another
+should get the code from ftp://ftp.ifi.uio.no/pub/gnu, or another
archive site outside the USA. The README explains how to install the
sources.
@@ -568,6 +583,10 @@ something like this:
GROUP ( libc.so.6 ld.so.1 libc.a )
+or in ix86/Linux and alpha/Linux:
+
+GROUP ( libc.so.6 ld-linux.so.2 libc.a )
+
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
[Q18] ``The prototypes for `connect', `accept', `getsockopt',
@@ -599,7 +618,13 @@ invalid. I.e., an emulated FPU is for the libc as good as a real one.
glibc 2.x?
[A20] {AJ} There's only support for glibc 2.0 in gcc 2.7.2.2 or later.
-For 2.7.2.2 you should use the following patch and configure for
+
+gcc 2.7.2.2 has also a nasty bug. It installs its own version of
+assert.h into /usr/<machine>/include that is not compatible with
+glibc. Please remove this file - otherwise you get lots of problems
+with configure.
+
+For 2.7.2.2 you should also use the following patch and configure for
e.g. i486-linux.
-----------------------------------------------------------------------
--- configure Tue Feb 11 15:57:17 1997
@@ -637,13 +662,60 @@ results because of type conflicts.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
+[Q22] ``When I try to compile code which uses IPv6 header and
+ definitions on my Linux 2.x.y system I am in trouble.
+ Nothing seems to work.''
+
+[A22] {UD} The problem is that the IPv6 development still has not reached
+a point where it is stable. There are still lots of incompatible changes
+made and the libc headers have to follow.
+
+Currently (as of 970401) according to Philip Blundell <pjb27@cam.ac.uk>
+the required kernel version is 2.1.30.
+
+
+~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
+[Q23] ``When compiling GNU libc I get lots of errors saying functions
+ in glibc are duplicated in libgcc.''
+
+[A23] {EY} This is *exactly* the same problem that I was having. The
+problem was due to the fact that the autoconfigure didn't correctly
+detect that linker flag --no-whole-archive was supported in my linker.
+In my case it was because I had run ./configure with bogus CFLAGS, and
+the test failed.
+
+One thing that is particularly annoying about this problem is that
+once this is misdetected, running configure again won't fix it unless
+you first delete config.cache.
+
+{UD} Starting with glibc-2.0.3 there should be a better test to avoid
+some problems of this kind. The setting of CFLAGS is checked at the
+very beginning and if it is not usable `configure' will bark.
+
+
+
+~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
+[Q24] ``I have set up /etc/nis.conf, and the Linux libc 5 with NYS
+ works great. But the glibc NIS+ doesn't seem to work.''
+
+[A24] The glibc NIS+ implementation uses a /var/nis/NIS_COLD_START
+ file for storing information about the NIS+ server and their
+ public keys, because the nis.conf file do not contain all
+ necessary information. You have to copy a NIS_COLD_START file
+ from a Solaris client (the NIS_COLD_START file is byte order
+ independend) or generate it new with nisinit from the nis-tools
+ (look at http://www-vt.uni-paderborn.de/~kukuk/linux/nisplus.html).
+
+
+~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Answers were given by:
{UD} Ulrich Drepper, <drepper@cygnus.com>
{DMT} David Mosberger-Tang, <davidm@AZStarNet.com>
{RM} Roland McGrath, <roland@gnu.ai.mit.edu>
{HJL} H.J. Lu, <hjl@gnu.ai.mit.edu>
-{AJ} Andreas Jaeger, <aj@arthur.pfalz.de>
+{AJ} Andreas Jaeger, <aj@arthur.rhein-neckar.de>
+{EY} Eric Youngdale, <eric@andante.jic.com>
Local Variables:
mode:text