r1169 - in trunk/BOOK: . chapter01 chapter05 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Sun Jun 17 13:54:18 PDT 2007


Author: robert
Date: 2007-06-17 14:54:18 -0600 (Sun, 17 Jun 2007)
New Revision: 1169

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/uclibc.xml
   trunk/BOOK/chapter06/uclibc.xml
   trunk/BOOK/packages.ent
   trunk/BOOK/patches.ent
Log:
Bump to uclibc-0.9.29

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2007-06-17 12:19:01 UTC (rev 1168)
+++ trunk/BOOK/chapter01/changelog.xml	2007-06-17 20:54:18 UTC (rev 1169)
@@ -52,6 +52,15 @@
       <para>June 16th, 2007</para>
       <itemizedlist>
         <listitem>
+          <para>[robert]: Bump to uclibc-0.9.29.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>June 16th, 2007</para>
+      <itemizedlist>
+        <listitem>
           <para>[robert]: Run a legitimate regression in Cocoon to verify
           SSP, _FORTIFY_SOURCE, and -pie are working. Acknowledge NetBSD for
           the SSP and _FORTIFY_SOURCE regression tests.</para>

Modified: trunk/BOOK/chapter05/uclibc.xml
===================================================================
--- trunk/BOOK/chapter05/uclibc.xml	2007-06-17 12:19:01 UTC (rev 1168)
+++ trunk/BOOK/chapter05/uclibc.xml	2007-06-17 20:54:18 UTC (rev 1169)
@@ -27,15 +27,6 @@
   <sect2 role="installation">
     <title>Installation of uClibc</title>
 
-    <note>
-      <para>The stable versions of uClibc do not yet support the gcc-4.1
-      Stack Smashing Protector library functions. This support is planned
-      to be added to uClibc-0.9.29. Until then uClibc snapshots must be
-      used in order to support gcc-4.1's SSP. uClibc snapshots are often
-      unstable. The snapshot version in this book has been mildly tested
-      and is expected to work, your success may vary.</para>
-    </note>
-
     <para>The next patch adds a generic config file. This will build uClibc with
     standard features, including the hardening features. In chapter 6 you will be
     able to configure uClibc to your more specific needs:</para>

Modified: trunk/BOOK/chapter06/uclibc.xml
===================================================================
--- trunk/BOOK/chapter06/uclibc.xml	2007-06-17 12:19:01 UTC (rev 1168)
+++ trunk/BOOK/chapter06/uclibc.xml	2007-06-17 20:54:18 UTC (rev 1169)
@@ -40,29 +40,23 @@
     (<command>nfsmount</command>). <envar>UCLIBC_HAS_FULL_RPC</envar> is not
     required, but Util-Linux will use pre-generated data if it is not enabled.
     <envar>DO_C99_MATH</envar> is needed for Iproute2 for the
-    <function>rint</function>(3) function.
+    <function>rint</function> function.
     <envar>UCLIBC_HAS_GLIBC_CUSTOM_PRINTF</envar> (<filename
     class="headerfile">printf.h</filename>) is needed for some packages, like
     Reiserfsprogs, but nothing in the base system. <envar>UCLIBC_HAS_WORDEXP</envar>
-    is needed to install Alsa-Lib. Enable all the security options, ignore the
-    SSP kill signal option (they all do the same thing). Use your own judgment
-    for the rest. The <command>make defconfig</command> and
-    <command>make allyesconfig</command> targets are not recommended.</para>
+    is needed to install Alsa-Lib. Enable all the security options, except SSP.
+    The <envar>UCLIBC_SUSV3_LEGACY</envar> option is needed to provide
+    <function>index</function>, even though it is depreciated many packages,
+    including uClibc's menuconfig, need it. The
+    <envar>UCLIBC_SUSV3_LEGACY_MACROS</envar> option is problematic with some
+    packages, like GCC. The <command>make defconfig</command> and
+    <command>make allyesconfig</command> targets are not recommended. The
+    install prefixes are already set correctly by the config patch.</para>
 
-    <para>Things you might want to add are Processor-Family, and IPV6.</para>
+    <para>Things you might want to change are Processor-Family, and IPV6.</para>
 
 <screen><userinput>make menuconfig</userinput></screen>
 
-    <para>The run time path gets hard coded into <command>ldd</command>, and so
-    on. So we reset these installations paths now before compiling anything. While
-    we're at it we can tell uClibc where to find the new kernel headers:</para>
-
-<screen><userinput>sed -e \
-    's at .*SHARED_LIB_LOADER_PREFIX.*@SHARED_LIB_LOADER_PREFIX="/lib"@g' \
-    -e 's at .*RUNTIME_PREFIX.*@RUNTIME_PREFIX="/"@g' \
-    -e 's at .*DEVEL_PREFIX.*@DEVEL_PREFIX="/usr/"@g' \
-    -e 's at .*KERNEL_HEADERS.*@KERNEL_HEADERS="/usr/include"@g' -i.orig .config</userinput></screen>
-
     <para>Compile and install the package:</para>
 
 <screen><userinput>make

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2007-06-17 12:19:01 UTC (rev 1168)
+++ trunk/BOOK/packages.ent	2007-06-17 20:54:18 UTC (rev 1169)
@@ -359,9 +359,9 @@
 <!ENTITY texinfo-url "&gnu;texinfo/texinfo-&texinfo-version;.tar.bz2">
 <!ENTITY texinfo-home "&gnu-software;texinfo/">
 
-<!ENTITY uclibc-version "20070404">
-<!ENTITY uclibc-size "3,600 KB">
-<!ENTITY uclibc-md5 "112ad08203031cd2a29e27e8c5549eac">
+<!ENTITY uclibc-version "0.9.29">
+<!ENTITY uclibc-size "2.1 MB">
+<!ENTITY uclibc-md5 "61dc55f43b17a38a074f347e74095b20">
 <!ENTITY uclibc-url "http://www.uclibc.org/downloads/uClibc-&uclibc-version;.tar.bz2">
 <!ENTITY uclibc-home "http://www.uclibc.org/">
 

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2007-06-17 12:19:01 UTC (rev 1168)
+++ trunk/BOOK/patches.ent	2007-06-17 20:54:18 UTC (rev 1169)
@@ -235,7 +235,7 @@
 <!ENTITY texinfo-fixes-patch-size "24 KB">
 
 <!ENTITY uClibc-config-patch "uClibc-&uclibc-version;-config-1.patch">
-<!ENTITY uClibc-config-patch-md5 "59de3a87ef43dbd3af0f1efa7cb097da">
+<!ENTITY uClibc-config-patch-md5 "c36fcca0bfb89ccf8619d74267763b45">
 <!ENTITY uClibc-config-patch-size "8 KB">
 
 <!ENTITY util-linux-cramfs-patch "util-linux-&util-linux-version;-cramfs-1.patch">




More information about the hlfs-book mailing list