home *** CD-ROM | disk | FTP | other *** search
/ Plex 2 / Plex2.mdf / u_linux / libc4526.rel < prev    next >
Text File  |  1994-06-14  |  16KB  |  548 lines

  1. NOTE: If you miss ONE LINE in this documentation, this library may not
  2.       work for you.
  3.  
  4. Hi, Guys,
  5.  
  6. This is the public release of the Linux C library 4.5.26. You have to
  7. run the kernel and install the source code of 1.0 or above to
  8. use all the features in it. You also need gcc 2.5.8 or above to use it.
  9.  
  10. This release fixed a few major bugs. There are some other changes I like
  11. to see in the next public release. I suggest not to use the shared version
  12. of math, gdbm, curses and termcap since they will go away in the next release.
  13. Please remove libm.sa, libcurses.sa, libdbm.sa and libtermcap.sa in
  14. /usr/lib after the new libraries are installed.
  15.  
  16. The new locale may still not work very well for non-English languanges.
  17. I don't know when it will be improved.
  18.  
  19. If your kernel is older than specified, you should install libc 4.5.26
  20. as well as the suitable gcc to compile the new kernel with them first.
  21. While compiling the new kernel, your system should have as few
  22. processes running as possible since some of them may be broken with
  23. libc 4.5.26 and the old kernel. FYI, the compiler itself should work
  24. with 0.99 pl 13 or above.
  25.  
  26. You can get this package under pub/linux/packages/GCC from
  27. tsx-11.mit.edu. The file names are inc-4.5.26.tar.gz,
  28. inc-4.5.21-4.5.26.tar.gz, libc-4.5.26.tar.gz, libc-4.5.21-4.5.26.tar.gz,
  29. image-4.5.26.tar.gz and extra-4.5.26.tar.gz.
  30.  
  31. In linux-binutils-1.0.tar.gz, there are a new ar, a new ld with
  32. QMAGIC support, GNU make 3.70 and gas 2.2l. The source codes are under
  33. pub/linux/packages/GCC/src. You need to do
  34.  
  35.     cd /usr/bin
  36.     rm ld as
  37.  
  38. before untar linux-binutils-1.0.tar.gz under /. Otherwise, the
  39. symbolic links may fail.
  40.  
  41. I only make i486 binary versions this time.
  42.  
  43. WARNING: PLEASE READ THEM OR DONT USE THIS LIBRARY.
  44.  1)    There are some massive changes to Makefiles and the file
  45.     structures. Now you can do:
  46.  
  47.     ./configure
  48.     make
  49.     make install
  50.  
  51.     to get everything compiled and installed. Please check it out.
  52.  
  53.     There is some primitive support for m68k. Someone has to fill
  54.     the missing files.
  55.  
  56.     There are some bugs in gnu make 3.62 which prevents the
  57.     successfull compliation. Please use gnu make 3.70 or above
  58.     instead. I included one in binutils-1.9l.3-as-2.2l.tar.gz.
  59.  2)    The Linux C library 4.5.8 is very strict. It won't tolerate
  60.     any bugs in your applications. So it has exposed the
  61.     "fclose on the same file pointer twice" bugs in mailx
  62.     and pdksh. If you find something is wrong when using libc
  63.     4.5.8, please recompile it with -g and run gdb on it. You
  64.     should set break points in _IO_fclose () and _IO_fopen (),
  65.     then check if _IO_fclose () is called twice on the same
  66.     file pointer.
  67.  
  68.     In 4.5.26, I tried to relax the stdio a little bit. "fclose on
  69.     the same file pointer twice" may work if the memory used by
  70.     the file pointer does not happen to have a valid stdio
  71.     signature. Please check it out. But I discourage this practice.
  72.  3)    In this release, iostream is removed from the Linux C library.
  73.     That means all the previous C++ binaries using iostream linked
  74.     with the shared library will break.
  75.  4)    /usr/lib/libgcc.sa and  /usr/lib/libgcc.a must not be used with
  76.     libc 4.5.26. You have to remove/backup /usr/lib/libgcc.*.
  77.  5)    All binaries using "long long" output in iostream linked with
  78.     the shared library may be broken.
  79.  6)    inet_network () returns the network number and treats the
  80.      network address as
  81.  
  82.     a.b.c.d    (with each treated as 8-bits)
  83.     a.b.c    (with each treated as 8-bits)
  84.     a.b    (with each treated as 8 bits)
  85.     a    (with a treated as 8 bits)
  86.  7)    xdm may be miscompiled by early gcc. If it doesn't work with
  87.     this libc. Try to recompile it with gcc 2.5.x (x >= 7) or
  88.     contact Dave_Boyd@Sterling.COM for a working binary.
  89.  8)    You need tools 2.10 to make the shared library, which can be
  90.     ftped from tsx-11.mit.edu under pub/linux/packages/GCC/src.
  91.  9)    ld.so 1.4.3 or above is also required by this release. It is on
  92.     tsx-11.mit.edu under pub/linux/packages/GCC.
  93. 10)    _PATH_LASTLOG, _PATH_MAILDIR and WTMP_FILE have bee moved from
  94.     /usr to /var. _PATH_SENDMAIL is changed to /usr/sbin/sendmail.
  95.     be sure you make the appropriate symbolic links.
  96.  
  97.     You need to link /var/adm/utmp with /etc/utmp, /var/adm/lastlog
  98.     with /etc/lastlog, /var/spool/mail with /usr/spool/mail, maybe
  99.     /usr/lib/sendmail with /usr/sbin/sendmail.
  100. 11)    I am testing rx 0.03 from sed 2.03 used to replace regex 0.12.
  101.     You have to recompile your applications to take the advantage
  102.     of the fast regex. The old applications should work fine with
  103.     the old regex in the shared image.
  104.  
  105.     Rx 0.03 is too buggy. I have sent an email to the author asking
  106.     for new version. At the same time, the old GNU regex 0.12 is
  107.     restored.
  108. 12)    Please remove /usr/include/shadow.h if you don't use the shadow
  109.     password. I will try to add the shadow stuff after 4.5.xx
  110. 13)    A stdio bug is fixed. For fgets (), the buffer will be
  111.     unchanged and NULL is returned  when the EOF is seen. Before
  112.     that, the buffer was terminated by the null char, which
  113.     violates the ANSI C standard. But some programs may rely on
  114.     that bug.
  115. 14)    libm.so.x.y is moved to /usr/lib. Please clean up /lib.
  116. 15)    A new system call, getpgid (),  is added. It requries the
  117.     kernel 0.99 pl 15 or above.
  118. 16)    There is a new obstack.[hc]. Please check if it breaks any old
  119.     binaries compiled with old obstack.h.
  120. 17)     You have to remove "#include <linux/unistd.h>" from
  121.         <linux/timex.h> if it in there.
  122. 18)     Please check locale/*/Makefile for how to install the new
  123.         locale stuff. I expect it will change.
  124. 19)     I changed login/getlogin.c and posix/cuserid.c. I hope they
  125.         don't break anything.
  126.  
  127.  
  128. This release is compressed with gzip 1.2.4.
  129.  
  130. Please read ChangeLog for details of the bug fixes and changes.
  131.  
  132. The file list:
  133.  
  134. 1. inc-4.5.26.tar.gz
  135.  
  136.   REQUIRED. It is the header files for 4.5.26.
  137.  
  138.   cd /
  139.   rm /usr/include/regex.h /usr/include/rx.h
  140.   gzip -dc inc-4.5.26.tar.gz | tar xvvSof -
  141.   # Please be careful, I don't know what you have under /usr/include.
  142.   # If you have a problem with the header files, you may do 
  143.   #    rm -rf /usr/include
  144.   #    mkdir -p /usr/include
  145.   # before
  146.   #    gzip -dc inc-4.5.26.tar.gz | tar xSvvof -
  147.  
  148.   The header files in inc-4.5.26.tar.gz are not complete. You have to
  149.   install the kernel source for the rest of the header files. Please
  150.   get the version mentioned at the beginning of this release note.
  151.   Suppose you install the kernel source at "/foo/bar/src", you should
  152.   do as root
  153.  
  154.   cd /usr/include
  155.   ln -s /foo/bar/src/linux/include/asm .
  156.   ln -s /foo/bar/src/linux/include/linux .
  157.   
  158.   Since some programs need <linux/autoconf.h>, you may have to do
  159.               
  160.   cd /foo/bar/src/linux
  161.   make config
  162.                    
  163.   before you can compile them.
  164.  
  165. 2. inc-4.5.21-4.5.26.tar.gz
  166.  
  167.   Change of the header files from 4.5.21 to 4.5.26.
  168.  
  169.   cd /
  170.   rm  -f /usr/include/regex.h /usr/include/rx.h
  171.   gzip -dc inc-4.5.21-4.5.26.tar.gz | tar xSvvof -
  172.  
  173. 3. libc-4.5.26.tar.gz
  174.  
  175.   Source code for 4.5.26.
  176.  
  177.   cd src
  178.   rm -rf libc-linux
  179.   gzip -dc libc-4.5.26.tar.gz | tar xSvvof -
  180.  
  181. 4. libc-4.5.21-4.5.26.tar.gz
  182.  
  183.   Change of the source code from 4.5.21 to 4.5.26.
  184.  
  185.   cd src
  186.   gzip -dc libc-4.5.21-4.5.26.tar.gz | tar xSvvof -
  187.   cd libc-linux
  188.   rm -rf gmon
  189.  
  190. 5. image-4.5.26.tar.gz
  191.  
  192.   REQUIRED. The stub/static libraries and the shared images. To
  193.   install it, as root do
  194.  
  195.   cd /tmp
  196.   rm -rf ./lib
  197.   gzip -dc image-4.5.26.tar.gz | tar xSvvof -
  198.   cp -av ./lib ./usr /
  199.   ldconfig -v
  200.  
  201. 6. extra-4.5.26.tar.gz
  202.  
  203.   REQUIRED. libmcheck.a, libg.a, libc_p.a, libgmon.a and gcrt0.o. To
  204.   install
  205.  
  206.   cd /
  207.   gzip -dc extra-4.5.26.tar.gz | tar xSvvof -
  208.  
  209. 7. ChangeLog
  210.  
  211.   Change log for the Linux C library.
  212.  
  213. Please fix the file permissions/ownerships after you install it.
  214.  
  215.  
  216. H.J.
  217. hjl@nynexst.com
  218. 05/20/94
  219. ----
  220. Mon Apr  4 15:24:19 1994  H.J. Lu (hlu@fudan)
  221.  
  222.     * version 4.5.26 is released.
  223.  
  224.     * jump/libm/jump.params:
  225.     * jump/libc.lite/jump.params:
  226.     * jump/libc/jump.params: bump up to version 4.5.26.
  227.  
  228.     * <_G_config.h>: update verion to 4.5.26.
  229.  
  230. Mon Apr  4 14:49:33 1994  Nickolay Saukh  (nms@ussr.EU.net)
  231.  
  232.     * locale/setlocale.c: new.
  233.  
  234.     * locale/collate:
  235.     * locale/ctype:
  236.     * locale/monetary:
  237.     * locale/numeric:
  238.     * locale/response:
  239.     * locale/time: new.
  240.  
  241. Mon Apr  4 13:49:33 1994  H.J. Lu (hlu@fudan)
  242.  
  243.     * Makeconfig: add CHARFLAGS=-funsigned-char.
  244.  
  245.     * <paths.h>: define _PATH_LOCALE as "/usr/lib/locale".
  246.  
  247.     * posix/cuserid.c: use getlogin () for multiply names with
  248.       the same id.
  249.  
  250.     * login/getlogin.c: add check for fd 1 and 2.
  251.  
  252.     * <unistd.h>: add ctermid ().
  253.  
  254.     * posix/ctermid.c: include <unistd.h>.
  255.  
  256.     * <utmp.h>: fix typo in ut_host [UT_NAMESIZE]. It should be
  257.       ut_host[UT_HOSTSIZE].
  258.  
  259.     * Makeconfig (NLSCFLAGS): add -I$(TOPDIR)/nls.
  260.  
  261.     * <netinet/in_systm.h>: renamed from <netinet/in_system.h>.
  262.  
  263.     * nls/nl_types.h: removed.
  264.  
  265.     * ./libio/ioperror.c:
  266.     * ./bsd/psignal.c:
  267.     * ./posix/getopt.c:
  268.     * ./string/strerror.c:
  269.     * ./string/strsignal.c:
  270.     * ./rpc/svc_au_ux.c:
  271.     * ./rpc/get_myaddr.c:
  272.     * ./rpc/pmap_getmaps.c:
  273.     * ./rpc/svc_run.c:
  274.     * ./rpc/pmap_clnt.c:
  275.     * ./rpc/xdr_ref.c:
  276.     * ./rpc/svc_simple.c:
  277.     * ./rpc/xdr_array.c:
  278.     * ./rpc/clnt_perror.c:
  279.     * ./rpc/clnt_raw.c:
  280.     * ./rpc/auth_unix.c:
  281.     * ./rpc/svc_tcp.c:
  282.     * ./rpc/pmap_rmt.c:
  283.     * ./rpc/xdr.c:
  284.     * ./rpc/clnt_tcp.c:
  285.     * ./rpc/svc_udp.c:
  286.     * ./rpc/xdr_rec.c:
  287.     * ./rpc/clnt_udp.c:
  288.     * ./inet/gethstnmad.c:
  289.     * ./inet/herror.c:
  290.     * ./inet/rcmd.c:
  291.     * ./inet/rexec.c:
  292.     * ./inet/ruserpass.c: change
  293.  
  294.         #include "../nls/nl_types.h"
  295.  
  296.       to
  297.  
  298.         #include "nl_types.h"
  299.  
  300.  
  301. Sat Mar 26 14:10:17 1994  H.J. Lu (hlu@fudan)
  302.  
  303.     * version 4.5.25 is released.
  304.  
  305.     * login/getlogin.c: don't include "pathnames.h".
  306.  
  307.     * jump/libc/jump.funcs:
  308.     * jump/libc.lite/jump.funcs: fix a typo.
  309.  
  310.     * libbsd/logout.c:
  311.     * libbsd/logwtmp.c: include <utmp.h>.
  312.  
  313.     * <lastlog.h>: copied/modified from <bsd/utmp.h>.
  314.  
  315.     * <utmp.h>: include <paths.h>.
  316.  
  317.     * <bsd/utmp.h>: removed.
  318.  
  319.     * time/strftime.c: "%j" should print the day of the yera in the
  320.       range from 001 to 366.
  321.  
  322.     * Makefile (DIRS):
  323.     * sysdeps/linux/Makefile (lib all):
  324.     * sysdeps/linux/i386/Makefile (lib all):
  325.     * sysdeps/linux/m68k/Makefile (lib all): check MATH.
  326.  
  327.     * misc/syslog.c (openlog): use sizeof(SyslogAddr) -
  328.       sizeof(SyslogAddr.sa_data) + strlen(SyslogAddr.sa_data) for
  329.       the address size.
  330.       (vsyslog): close the log when write () fails. it will try
  331.       to reconnect it next time.
  332.  
  333.     * nls/msgcat.c (catclose):
  334.     * <nl_types.h> (catclose): change return from void to int.
  335.  
  336.     * login/getlogin.c: check USER_PROCESS.
  337.  
  338.     * <m68k/syscall.h>:
  339.     * sysdeps/linux/m68k/sysdep.h: fix a m68k bug. from
  340.       "hamish (h.i.) macdonald" <hamish@bnr.ca>.
  341.  
  342.     * jump/libm/jump.params:
  343.     * jump/libc.lite/jump.params:
  344.     * jump/libc/jump.params: bump up to version 4.5.25.
  345.  
  346.     * <_G_config.h>: update verion to 4.5.25.
  347.  
  348.     * sysdeps/linux/i386/math/atanh.c: check x == -1.0. from
  349.       "James H. Cloos Jr." <cloos@rahul.net>.
  350.  
  351.     * login/getlogin.c: undo the change of Fri Mar 11.
  352.  
  353. Fri Mar 18 13:35:20 1994  flebbe@pluto.tat.physik.uni-tuebingen.de (Olaf Flebbe)
  354.  
  355.     * <math.h>: add cbrt ().
  356.       (__finite): check __isnan ().
  357.  
  358.     * sysdeps/linux/i386/math/cbrt.c: new from SUN libm.
  359.  
  360.     * sysdeps/linux/i386/math/Makefile (SRC1S): add cbrt.c.
  361.  
  362.     * jump/libm/jump.funcs: add _cbrt.
  363.  
  364. Fri Mar 11 15:00:58 1994  H.J. Lu (hlu@fudan)
  365.  
  366.     * version 4.5.24 is released.
  367.  
  368.     * jump/libm/jump.params:
  369.     * jump/libc.lite/jump.params:
  370.     * jump/libc/jump.params: bump up to version 4.5.24.
  371.  
  372.     * <_G_config.h>: update verion to 4.5.24.
  373.  
  374.     * Makerules: fix typos.
  375.  
  376.     * jump/libc/Makefile (install):
  377.     * jump/libm/Makefile (install): move the old shared library to
  378.       backup/$SHLIB_FILE.$$.
  379.  
  380.     * login/getlogin.c: call getpwnam(name). from Mitchum DSouza
  381.       <m.dsouza@mrc-applied-psychology.cambridge.ac.uk>.
  382.  
  383.     * sbin/lib/i386/Makefile:
  384.     * sbin/lib/m68k/Makefile:
  385.     * sbin/lib/Makefile:
  386.     * sysdeps/linux/Makefile:
  387.     * jump/Makefile:
  388.     * sbin/Makefile:
  389.     * sysdeps/Makefile:
  390.     * Maketargets: Use $(MAKE) -C $$i $@.
  391.  
  392.     * Makefile (install.static): delete __.SYMDEF from libc.a.
  393.       (install.debug): delete __.SYMDEF from libg.a.
  394.       (install.profile): delete __.SYMDEF from libc_p.a.
  395.  
  396.     * jump/libc/Makefile (JUMP_PARAMS):
  397.     * jump/libc.lite/Makefile (JUMP_PARAMS):
  398.     * jump/libm/Makefile (JUMP_PARAMS): change that to
  399.       $(JUMP_DIR)/jump.params.
  400.  
  401.     * jump/libc/jump.params.build:
  402.     * jump/libc.lite/jump.params.build:
  403.     * jump/libm/jump.params.build: removed.
  404.  
  405. Thu Mar 10 09:14:39 1994  H.J. Lu (hlu@fudan)
  406.  
  407.     * ./sysdeps/linux/i386/Makefile $(DIRS): don't add
  408.       "math crt" if LITE is "true".
  409.  
  410.     * <waitflags.h>: for linux, only include <linux/wait.h>.
  411.  
  412.     * <netinet/ip_tcp.h>: include <linux/socket.h>.
  413.  
  414.     * <sys/debugreg.h>: include <linux/debugreg.h>.
  415.  
  416.     * Makeconfig: fix a typo.
  417.  
  418.     * jump/libc.lite/jump.funcs (_syscall):
  419.     * jump/libc/jump.funcs (_syscall): mark it "T".
  420.  
  421.     * <syscall.h>: change __syscall back to syscall.
  422.  
  423.     * ./sysdeps/linux/i386/Makefile $(SRC3S): change __syscall.S
  424.       to syscall.S.
  425.  
  426.     * ./sysdeps/linux/i386/__syscall.S: removed.
  427.  
  428.     * ./sysdeps/linux/i386/syscall.S: new file.
  429.  
  430. Sun Mar  6 21:52:39 1994  H.J. Lu (hlu@fudan)
  431.  
  432.     * version 4.5.23 is released.
  433.  
  434.     * jump/libm/jump.params:
  435.     * jump/libm/jump.params.build:
  436.     * jump/libc.lite/jump.params:
  437.     * jump/libc.lite/jump.params.build:
  438.     * jump/libc/jump.params:
  439.     * jump/libc/jump.params.build: bump up to version 4.5.23.
  440.  
  441.     * <_G_config.h>: update verion to 4.5.23.
  442.  
  443.     * Makeconfig (TARGET_LIBM_SO_DIR): change back to /lib.
  444.  
  445.     * ./libio/ChangeLog: new entries.
  446.  
  447.     * ./sysdeps/linux/i386/libc_exit.c: fixed for PIC.
  448.  
  449.     * ./sysdeps/linux/i386/Makefile $(SRC3S): add __syscall.S.
  450.  
  451. Sat Mar  5 16:55:09 1994  H.J. Lu (hlu@fudan)
  452.  
  453.     * version 4.5.22 is released.
  454.  
  455.     * jump/libm/jump.params:
  456.     * jump/libm/jump.params.build:
  457.     * jump/libc.lite/jump.params:
  458.     * jump/libc.lite/jump.params.build:
  459.     * jump/libc/jump.params:
  460.     * jump/libc/jump.params.build: bump up to version 4.5.22
  461.  
  462.     * <_G_config.h>: update verion to 4.5.22.
  463.  
  464.     * ./libio/ChangeLog: new entries.
  465.  
  466.     * stdlib/exit.c (exit): call _IO_flush_all directly if
  467.       __PIC__ or __pic__ is defined.
  468.  
  469.     * <gnu-stabs.h> (HAVE_GNU_LD): don't define it if __PIC__
  470.       or __pic__ is defined.
  471.  
  472.     * rpc/get_myaddr.c: change "#ifdef linux" to "#if 0".
  473.  
  474.     * jump/libc.lite/jump.funcs (_syscall):
  475.     * jump/libc/jump.funcs (_syscall): mark it "U".
  476.  
  477.     * <syscall.h>: change syscall to __syscall.
  478.  
  479.     * <sys/ipc.h> (__ipc): new.
  480.  
  481.     * ./sysdeps/linux/Makefile $(SRC2S): add __ipc.S.
  482.  
  483.     * ./sysdeps/linux/__ipc.S: new file.
  484.  
  485.     * ./sysdeps/linux/msgctl.c:
  486.     * ./sysdeps/linux/msgget.c:
  487.     * ./sysdeps/linux/msgrcv.c:
  488.     * ./sysdeps/linux/msgsnd.c:
  489.     * ./sysdeps/linux/semctl.c:
  490.     * ./sysdeps/linux/semget.c:
  491.     * ./sysdeps/linux/semop.c:
  492.     * ./sysdeps/linux/shmat.c:
  493.     * ./sysdeps/linux/shmctl.c:
  494.     * ./sysdeps/linux/shmdt.c:
  495.     * ./sysdeps/linux/shmget.c: use __ipc ().
  496.  
  497.     * ./sysdeps/linux/i386/Makefile (SRC1S): remove syscall.c.
  498.       $(SRC3S): add __syscall.S.
  499.  
  500.     * ./sysdeps/linux/i386/__syscall.S: new file.
  501.  
  502.     * ./sysdeps/linux/i386/__ioctl.c:
  503.     * ./sysdeps/linux/i386/__fcntl.c:
  504.     * ./sysdeps/linux/i386/__open.c:
  505.     * ./sysdeps/linux/i386/syscall.c: removed.
  506.  
  507.     * ./sysdeps/linux/__adjtime.c:
  508.     * ./sysdeps/linux/__ntpgttm.c: don't include <sys/syscall.h>,
  509.       include <syscall.h>.
  510.  
  511.     * <demangle.h>: new for cplus_demangle ().
  512.  
  513.     * Makefile:
  514.     * Makeconfig:
  515.     * Makerules:
  516.     * Maketargets: add PIC from Mitchum DSouza
  517.       <Mitchum.Dsouza@mrc-applied-psychology.cambridge.ac.uk>.
  518.  
  519. Tue Mar  1 14:37:46 1994  Matthias Urlichs <urlichs@smurf.noris.de>
  520.  
  521.     * inet/res_send.c (res_send): if sethostent(1) has been called,
  522.       the resolver opens a TCP connection to the nameserver. If a
  523.       request is interrupted by a signal and we're longjmp()ing
  524.       out, that connection goes out of sync. Ugh.
  525.      
  526.       Solution: If that happens, the connection should be closed
  527.       and reopened. Flushing residual data might be an alternate
  528.       idea except that the server might not have answered by the
  529.       time we're trying the next request.
  530.  
  531. Sat Feb 26 14:01:18 1994  H.J. Lu (hlu@nighthawk)
  532.  
  533.     * version 4.5.21 is re-released :-(.
  534.  
  535.     * ./sysdeps/linux/i386/gmon: moved from ./gmon.
  536.  
  537.     * ./sysdeps/linux/i386/gmon/Makefile (TOPDIR): change it to
  538.       "../../../..".
  539.  
  540.     * ./sysdeps/linux/i386/Makefile (DIRS): add "gmon" if PROFILE ==
  541.       true.
  542.  
  543.     * ./gmon: moved to ./sysdeps/linux/i386.
  544.  
  545.     * ./Makefile (CLEAN_DIRS):
  546.       (DIRS): remove "gmon".
  547.  
  548.