Changeset f1c177f
- Timestamp:
- 08/05/2012 02:25:02 PM (12 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- a44c0c9
- Parents:
- 36ba266
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r36ba266 rf1c177f 37 37 38 38 --> 39 40 <listitem> 41 <para>2012-08-05</para> 42 <itemizedlist> 43 <listitem> 44 <para>[matthew] - Upgrade to Glibc-2.16.0. Fixes 45 <ulink url="&lfs-ticket-root;3131">#3131</ulink>.</para> 46 </listitem> 47 </itemizedlist> 48 </listitem> 39 49 40 50 <listitem> -
chapter01/whatsnew.xml
r36ba266 rf1c177f 233 233 234 234 <listitem> 235 <para>&glibc-fixes-patch;</para>236 </listitem>237 238 <listitem>239 <para>&glibc-gcc_fix-patch;</para>240 </listitem>241 242 <listitem>243 235 <para>&kbd-fixes-patch;</para> 244 236 </listitem> -
chapter03/patches.xml
r36ba266 rf1c177f 56 56 <para>Download: <ulink url="&patches-root;&flex-gcc-patch;"/></para> 57 57 <para>MD5 sum: <literal>&flex-gcc-patch-md5;</literal></para> 58 </listitem>59 </varlistentry>60 61 <varlistentry>62 <term>Glibc Fixes Patch - <token>&glibc-fixes-patch-size;</token>:</term>63 <listitem>64 <para>Download: <ulink url="&patches-root;&glibc-fixes-patch;"/></para>65 <para>MD5 sum: <literal>&glibc-fixes-patch-md5;</literal></para>66 </listitem>67 </varlistentry>68 69 <varlistentry>70 <term>Glibc GCC Fix Patch - <token>&glibc-gcc_fix-patch-size;</token>:</term>71 <listitem>72 <para>Download: <ulink url="&patches-root;&glibc-gcc_fix-patch;"/></para>73 <para>MD5 sum: <literal>&glibc-gcc_fix-patch-md5;</literal></para>74 58 </listitem> 75 59 </varlistentry> -
chapter05/diffutils.xml
r36ba266 rf1c177f 44 44 <title>Installation of Diffutils</title> 45 45 46 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 47 48 <screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen> 49 46 50 <para>Prepare Diffutils for compilation:</para> 47 51 -
chapter05/gcc-pass1.xml
r36ba266 rf1c177f 99 99 prevents unexpected changes to the original files in case the commands are 100 100 inadvertently run twice. </para> 101 102 <para>GCC doesn't detect stack protection correctly, which causes problems 103 for the build of Glibc-&glibc-version;, so fix that by issuing the following 104 command:</para> 105 106 <screen><userinput remap="pre">sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure</userinput></screen> 101 107 102 108 <para>The GCC documentation recommends building GCC outside of the -
chapter05/gettext.xml
r36ba266 rf1c177f 46 46 <para>For our temporary set of tools, we only need to build and install 47 47 one binary from Gettext.</para> 48 49 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 50 51 <screen><userinput remap="pre">sed -i -e '/gets is a/d' gettext-*/*/stdio.in.h</userinput></screen> 48 52 49 53 <para>Prepare Gettext for compilation:</para> -
chapter05/glibc.xml
r36ba266 rf1c177f 43 43 <sect2 role="installation"> 44 44 <title>Installation of Glibc</title> 45 46 <para>Address a header check that fails due to an incomplete build47 environment at this point:</para>48 49 <screen><userinput remap="pre">sed -i 's#$ac_includes_default#\n\n#' sysdeps/i386/configure</userinput></screen>50 51 <para>Fix a path that is hardcoded:</para>52 53 <screen><userinput remap="pre">sed -i 's#/var/db#/tools/var/db#' Makeconfig</userinput></screen>54 55 <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>57 45 58 46 <para>The Glibc documentation recommends building Glibc outside of the source … … 75 63 i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;; 76 64 esac</userinput></screen> 65 66 <para>Fix an issue when building Glibc-&glibc-version; with GCC-&gcc-version;:</para> 67 68 <screen><userinput remap="pre">sed -i 's/ -lgcc_s//' ../glibc-&glibc-version;/Makeconfig</userinput></screen> 77 69 78 70 <para>Next, prepare Glibc for compilation:</para> -
chapter05/m4.xml
r36ba266 rf1c177f 44 44 <title>Installation of M4</title> 45 45 46 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 47 48 <screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen> 49 46 50 <para>Prepare M4 for compilation:</para> 47 51 -
chapter05/tar.xml
r36ba266 rf1c177f 44 44 <title>Installation of Tar</title> 45 45 46 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 47 48 <screen><userinput remap="pre">sed -i -e '/gets is a/d' gnu/stdio.in.h</userinput></screen> 49 46 50 <para>Prepare Tar for compilation:</para> 47 51 -
chapter06/coreutils.xml
r36ba266 rf1c177f 106 106 <para>Now run the tests:</para> 107 107 108 <screen><userinput remap="test">su nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>108 <screen><userinput remap="test">su nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen> 109 109 110 110 <para>Remove the temporary group:</para> -
chapter06/diffutils.xml
r36ba266 rf1c177f 41 41 <sect2 role="installation"> 42 42 <title>Installation of Diffutils</title> 43 44 <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para> 45 46 <screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen> 43 47 44 48 <para>Prepare Diffutils for compilation:</para> -
chapter06/e2fsprogs.xml
r36ba266 rf1c177f 114 114 <para>To test the results, issue:</para> 115 115 116 <screen><userinput remap="test">make check</userinput></screen>116 <screen><userinput remap="test">make -k check</userinput></screen> 117 117 118 118 <para>One of the E2fsprogs tests will attempt to allocate 256 MB -
chapter06/gettext.xml
r36ba266 rf1c177f 43 43 <sect2 role="installation"> 44 44 <title>Installation of Gettext</title> 45 46 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 47 48 <screen><userinput remap="pre">sed -i -e '/gets is a/d' gettext-*/*/stdio.in.h</userinput></screen> 45 49 46 50 <para>Prepare Gettext for compilation:</para> -
chapter06/glibc.xml
r36ba266 rf1c177f 73 73 --> 74 74 75 <para>When running <command>make install</command>, a script called 75 <para>Fix a bug that causes the build to fail:</para> 76 77 <screen><userinput remap="pre">sed -i 's#<rpc/types.h>#"rpc/types.h"#' sunrpc/rpc_clntout.c</userinput></screen> 78 79 <!-- <para>When running <command>make install</command>, a script called 76 80 <filename>test-installation.pl</filename> performs a small sanity test on 77 81 our newly installed Glibc. However, because our toolchain still points to … … 83 87 sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \ 84 88 scripts/test-installation.pl 85 unset DL</userinput></screen> 86 87 <para>In addition, there is a bug in the 88 <filename>test-installation.pl</filename> script in that it tries to link 89 a test program to a library that isn't installed by 90 <command>make install</command>. Issue the following <command>sed</command> 91 command to fix it:</para> 92 93 <screen><userinput remap="pre">sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl</userinput></screen> 89 unset DL</userinput></screen>--> 90 91 <para>When running <command>make install</command>, a script called 92 <filename>test-installation.pl</filename> performs a small sanity test on 93 our newly installed Glibc. However, it contains a bug that causes it to 94 fail, so prevent it from running by issuing the following command:</para> 95 96 <screen><userinput remap="pre">sed -i '/test-installation.pl/d' Makefile</userinput></screen> 94 97 95 98 <para>The <command>ldd</command> shell script contains Bash-specific … … 100 103 101 104 <screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen> 102 103 <para>Fix a bug that causes several BLFS packages to segfault:</para>104 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fixes-patch;</userinput></screen>105 106 <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>107 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>108 105 109 106 <para>The Glibc documentation recommends building Glibc outside of the source … … 316 313 EOF</userinput></screen> 317 314 315 <para>Install timezone data:</para> 316 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz 317 318 for tz in etcetera southamerica northamerica europe africa antarctica \ 319 asia australasia backward pacificnew solar87 solar88 solar89 systemv; do 320 321 zic -L leapseconds -d /usr/share/zoneinfo -y "sh yearistype.sh" ${tz} 322 323 done</userinput></screen> 324 318 325 <para>One way to determine the local time zone, run the following 319 326 script:</para> -
chapter06/grub.xml
r36ba266 rf1c177f 40 40 <sect2 role="installation"> 41 41 <title>Installation of GRUB</title> 42 43 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 44 45 <screen><userinput remap="pre">sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h</userinput></screen> 42 46 43 47 <para>Prepare GRUB for compilation:</para> -
chapter06/inetutils.xml
r36ba266 rf1c177f 40 40 <sect2 role="installation"> 41 41 <title>Installation of Inetutils</title> 42 43 <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para> 44 45 <screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen> 46 47 <para>Prepare Inetutils for compilation:</para> 42 48 43 49 <screen><userinput remap="configure">./configure --prefix=/usr \ -
chapter06/libpipeline.xml
r36ba266 rf1c177f 41 41 <sect2 role="installation"> 42 42 <title>Installation of Libpipeline</title> 43 44 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 45 46 <screen><userinput remap="pre">sed -i -e '/gets is a/d' gnulib/lib/stdio.in.h</userinput></screen> 43 47 44 48 <para>Prepare Libpipeline for compilation:</para> -
chapter06/m4.xml
r36ba266 rf1c177f 40 40 <sect2 role="installation"> 41 41 <title>Installation of M4</title> 42 43 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 44 45 <screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen> 42 46 43 47 <para>Prepare M4 for compilation:</para> -
chapter06/man-db.xml
r36ba266 rf1c177f 41 41 <sect2 role="installation"> 42 42 <title>Installation of Man-DB</title> 43 44 <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para> 45 46 <screen><userinput remap="pre">sed -i -e '/gets is a/d' gnulib/lib/stdio.in.h</userinput></screen> 43 47 44 48 <para>Prepare Man-DB for compilation:</para> -
chapter06/patch.xml
r36ba266 rf1c177f 58 58 <para>To test the results, issue:</para> 59 59 60 <screen><userinput remap="test">make check</userinput></screen>60 <screen><userinput remap="test">make -k check</userinput></screen> 61 61 62 62 <para>Install the package:</para> -
chapter06/perl.xml
r36ba266 rf1c177f 108 108 </variablelist> 109 109 110 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 111 112 <screen><userinput remap="pre">sed -i '/test-installation.pl/d' Makefile</userinput></screen> 113 110 114 <para>Compile the package:</para> 111 115 … … 114 118 <para>To test the results (approximately 2.5 SBU), issue:</para> 115 119 116 <screen><userinput remap="test">make test</userinput></screen>120 <screen><userinput remap="test">make -k test</userinput></screen> 117 121 118 122 <para>Install the package:</para> -
chapter06/tar.xml
r36ba266 rf1c177f 40 40 <sect2 role="installation"> 41 41 <title>Installation of Tar</title> 42 43 <para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para> 44 45 <screen><userinput remap="pre">sed -i -e '/gets is a/d' gnu/stdio.in.h</userinput></screen> 42 46 43 47 <para>Prepare Tar for compilation:</para> -
general.ent
r36ba266 rf1c177f 1 <!ENTITY version "SVN-20120 725">2 <!ENTITY releasedate " July 25, 2012">1 <!ENTITY version "SVN-20120805"> 2 <!ENTITY releasedate "August 3, 2012"> 3 3 <!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not – --> 4 4 <!ENTITY milestone "7.2"> -
packages.ent
r36ba266 rf1c177f 199 199 <!ENTITY gettext-ch6-sbu "5.8 SBU"> 200 200 201 <!ENTITY glibc-version "2.1 5">202 <!ENTITY glibc-size " 10,039KB">201 <!ENTITY glibc-version "2.16.0"> 202 <!ENTITY glibc-size "9,756 KB"> 203 203 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz"> 204 <!ENTITY glibc-md5 " 4f9f3b0e780a8c7179a372d34e9452bc">204 <!ENTITY glibc-md5 "80b181b02ab249524ec92822c0174cf7"> 205 205 <!ENTITY glibc-home "&gnu-software;libc/"> 206 206 <!ENTITY glibc-ch5-du "501 MB"> -
patches.ent
r36ba266 rf1c177f 36 36 <!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6"> 37 37 <!ENTITY gcc-startfiles-patch-size "1.5 KB"> 38 39 40 <!ENTITY glibc-fixes-patch "glibc-&glibc-version;-fixes-1.patch">41 <!ENTITY glibc-fixes-patch-md5 "78659b024e7175dcc28e9fc4552b1a27">42 <!ENTITY glibc-fixes-patch-size "6.5 KB">43 44 <!ENTITY glibc-gcc_fix-patch "glibc-&glibc-version;-gcc_fix-1.patch">45 <!ENTITY glibc-gcc_fix-patch-md5 "d1f28cb98acb9417fe52596908bbb9fd">46 <!ENTITY glibc-gcc_fix-patch-size "2.5 KB">47 38 48 39
Note:
See TracChangeset
for help on using the changeset viewer.