cvs commit: hints nptl.txt optimization.txt

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Wed Oct 15 07:20:06 PDT 2003


tushar      03/10/15 08:20:06

  Modified:    .        nptl.txt optimization.txt
  Log:
  Updated Hint: nptl
  
  Revision  Changes    Path
  1.17      +40 -11    hints/nptl.txt
  
  Index: nptl.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/nptl.txt,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -u -r1.16 -r1.17
  --- nptl.txt	13 Oct 2003 01:17:00 -0000	1.16
  +++ nptl.txt	15 Oct 2003 14:20:06 -0000	1.17
  @@ -1,6 +1,5 @@
   AUTHOR:         Teemu Tervo <teemu.tervo at gmx.net>
  -AUTHOR:         Original hint by Zack Winkles <winkie at linuxfromscratch.org>
  -DATE:           2003-10-12
  +DATE:           2003-10-15
   LICENSE:        The MIT License
   SYNOPSIS:       Building an LFS system with the NPTL library
   DESCRIPTION:    Using the new libpthread implementation Native POSIX
  @@ -97,6 +96,22 @@
      you'll also find POSIX compliancy patches for several packages (see notes
      after chapter 5 Glibc instructions).
   
  +7. Couple of essential patches
  +
  +   When used together with Glibc CVS, GCC needs a patch to fix an issue
  +   with static  compilation of some programs. This is only essential for
  +   chapter 6, but it won't hurt to apply to the other two compilations. The
  +   problem is more thoroughly described in
  +
  +          http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00799.html
  +
  +   You'll also need a patch for util-linux in chapter 5. We don't install
  +   sanitized headers there, since it's easier to just make this package work
  +   along with the 2.6 headers. Both patches can be found in
  +
  +          http://ttervo.vectorstar.net/nptl
  +
  +
      This hint was tested using glibc-20031009 and binutils-2.14.90.0.6, with
      both the host and the target systems using linux-2.6.0-test7.
   
  @@ -148,10 +163,9 @@
   Chapter 6 -- Mounting /dev/shm
   ------------------------------
   
  -There seems to be a misconception that nothing uses /dev/shm and it's
  -needless. So let's make it clear, it's used by NPTL's semaphore code and thus
  -by the testsuite as well, hence should be mounted not only in chapter 6 but
  -also after booting to the final system.
  +NPTL's semaphore code and its testsuite uses /dev/shm, hence it's
  +recommended to mount it not only in chapter 6 but also after booting to the
  +final system.
   
   Chapter 6 -- Installing 2.6 kernel headers
   ------------------------------------------
  @@ -192,7 +206,13 @@
                 --enable-add-ons=nptl --enable-kernel=current --without-cvs \
                 --with-tls
   
  -After installation, you can remove /usr/src/glibcheaders.
  +One needed header file is left uninstalled, so we do it manually after
  +make install.
  +
  +install -m 0644 \
  +  ../glibc-2.3*/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h /usr/include
  +
  +You can now remove /usr/src/glibcheaders.
   
   
   Chapter 6 -- Installing sanitized kernel headers
  @@ -229,6 +249,10 @@
   point out typos and/or bad grammar, tell me if the hint sucks or wish
   to offer me penis enlargement products, drop me a line at teemu.tervo at gmx.net.
   
  +ACKNOWLEDGEMENTS:
  +
  +Thanks to Zack Winkles for the original hint, as well as to Ryan and Greg
  +for all their help, suggestions and corrections.
   
   CHANGELOG:
   
  @@ -280,7 +304,12 @@
   * Removed references to the nptl tarball, as it no longer exists
   * Revised glibc cvs checkout commands
   * Added the drawbacks section
  -* Added a nicer assertion patch for glibc (Thanks to Ryan)
  -* Added --without-cvs to glibc configure commands (Ryan again)
  -* Added note about /dev/shm (Yeah, it's him once more)
  -* Added POSIX conformance section, describing the issue a bit more thoroughly
  \ No newline at end of file
  +* Added a nicer assertion patch for glibc
  +* Added --without-cvs to glibc configure commands
  +* Added note about /dev/shm
  +* Added POSIX conformance section, describing the issue a bit more thoroughly
  +[2003-10-15]
  +* Install lowlevellock.h in chapter6 glibc
  +* Revised /dev/shm note
  +* Added GCC patch to fix static linking
  +* Added a patch for util-linux to compile with 2.6 headers in chapter 5
  \ No newline at end of file
  
  
  
  1.6       +10 -8     hints/optimization.txt
  
  Index: optimization.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/optimization.txt,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -u -r1.5 -r1.6
  --- optimization.txt	13 Oct 2003 13:09:14 -0000	1.5
  +++ optimization.txt	15 Oct 2003 14:20:06 -0000	1.6
  @@ -1,15 +1,16 @@
   AUTHOR:		Jim Gifford <lfs-hints at jg555.com>
  -AUTHOR:		Originally by Gerard Beekmans < gerard at linuxfromscratch.org >
  -AUTHOR:		Originally by Thomas -Balu-Walter < tw at itreff.de >
  -AUTHOR:		Originally by Eric Olinger <eric at supertux.com> optimization2.txt
  +		Originally by Gerard Beekmans < gerard at linuxfromscratch.org >
  +		Originally by Thomas -Balu-Walter < tw at itreff.de >
  +		Originally by Eric Olinger <eric at supertux.com> optimization2.txt
   
  -DATE:		2003-10-11
  +DATE:		2003-10-12
   
   LICENSE:	GNU Free Documentation License Version 1.2
   
  -SYNOPSIS:	Compiler-optimizatoin
  +SYNOPSIS:	Compiler-optimization
   
  -DESCRIPTION:	This hint will show you how to install rpm to be used with LFS.
  +DESCRIPTION:	This hint will act as a guide on how-to or not-to use
  +		compiler optimization routines.
   
   PREREQUISITES:	None
   
  @@ -157,9 +158,10 @@
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10655
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8440
   
  -VERSION:	1.0
  +VERSION:	1.1
   
  -CHANGELOG:	1.0 Adopted by Jim Gifford
  +CHANGELOG:	1.1 Fixed Typos and Cut-n-Paste Errors
  +		1.0 Adopted by Jim Gifford
   
    New Version of this document can be viewed from http://cvs.jg555.com/viewcvs.cgi/lfs-hints
   
  
  
  



More information about the hints mailing list