Changeset bb189b0
- Timestamp:
- 04/24/2015 03:19:38 AM (9 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.8, 7.9, 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:
- 320fdc6
- Parents:
- 41727289
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r41727289 rbb189b0 38 38 39 39 <listitem> 40 <para>2015-04-24</para> 41 <itemizedlist> 42 <listitem> 43 <para>[krejzi] - Added a fix for security issue 44 in Glibc (CVE-2015-1781). Thanks to Ken Moffat 45 for identifying the proplem and the fix.</para> 46 </listitem> 47 <listitem> 48 <para>[krejzi] - Fixed Ncurses and Perl build 49 with GCC 5. Thanks to Ken Moffat and Douglas 50 R. Reno for providing the patches.</para> 51 </listitem> 52 <listitem> 53 <para>[krejzi] - Updated to GCC-5.1.0. Fixes 54 <ulink url="&lfs-ticket-root;3779">#3779</ulink>.</para> 55 </listitem> 56 </itemizedlist> 57 </listitem> 58 59 <listitem> 40 60 <para>2015-04-21</para> 41 61 <itemizedlist> -
chapter01/whatsnew.xml
r41727289 rbb189b0 86 86 <para>Gawk &gawk-version;</para> 87 87 </listitem>--> 88 < !--<listitem>88 <listitem> 89 89 <para>GCC &gcc-version;</para> 90 </listitem> -->90 </listitem> 91 91 <!--<listitem> 92 92 <para>GDBM &gdbm-version;</para> … … 249 249 </listitem> 250 250 251 <listitem> 252 <para>&ncurses-gcc5-buildfixes-patch;</para> 253 </listitem> 254 255 <listitem> 256 <para>&perl-gcc5-fixes-patch;</para> 257 </listitem> 258 251 259 <!--<listitem> 252 260 <para>&bash-fixes-patch;</para> -
chapter03/patches.xml
r41727289 rbb189b0 124 124 </listitem> 125 125 </varlistentry> 126 <!-- 126 127 127 <varlistentry> 128 <term> Perl Data::Dumper Patch - <token>&perl-fix-patch-size;</token>:</term>128 <term>Ncurses GCC 5 Fixes Patch - <token>&ncurses-gcc5-buildfixes-patch-size;</token>:</term> 129 129 <listitem> 130 <para>Download: <ulink url="&patches-root;& perl-fix-patch;"/></para>131 <para>MD5 sum: <literal>& perl-fix-patch-md5;</literal></para>130 <para>Download: <ulink url="&patches-root;&ncurses-gcc5-buildfixes-patch;"/></para> 131 <para>MD5 sum: <literal>&ncurses-gcc5-buildfixes-patch-md5;</literal></para> 132 132 </listitem> 133 133 </varlistentry> 134 --> 134 135 <varlistentry> 136 <term>Perl GCC 5 Fixes Patch - <token>&perl-gcc5-fixes-patch-size;</token>:</term> 137 <listitem> 138 <para>Download: <ulink url="&patches-root;&perl-gcc5-fixes-patch;"/></para> 139 <para>MD5 sum: <literal>&perl-gcc5-fixes-patch-md5;</literal></para> 140 </listitem> 141 </varlistentry> 142 135 143 <varlistentry> 136 144 <term>Readline Upstream Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term> -
chapter05/glibc.xml
r41727289 rbb189b0 44 44 <title>Installation of Glibc</title> 45 45 46 <!-- The enable-obsolete-rpc should handle this just fine. 46 47 <para>In some cases, particularly LFS 7.1, the rpc headers were not 47 48 installed properly. Test to see if they are installed in the host system … … 52 53 su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc' 53 54 fi</userinput></screen> 54 55 --> 55 56 <para>Fix a regression in the package that affects 32-bit architectures:</para> 56 57 … … 88 89 --disable-profile \ 89 90 --enable-kernel=&min-kernel; \ 91 --enable-obsolete-rpc \ 90 92 --with-headers=/tools/include \ 91 93 libc_cv_forced_unwind=yes \ … … 119 121 for &min-kernel; and later Linux kernels. Workarounds for older 120 122 kernels are not enabled.</para> 123 </listitem> 124 </varlistentry> 125 126 <varlistentry> 127 <term><parameter>--enable-obsolete-rpc</parameter></term> 128 <listitem> 129 <para>This installs NIS and RPC related headers that are not 130 installed by default. They are required to build GCC and by 131 several BLFS packages.</para> 121 132 </listitem> 122 133 </varlistentry> -
chapter05/libstdc++.xml
r41727289 rbb189b0 51 51 <para>Create a directory for Libstdc++ and enter it:</para> 52 52 53 <screen><userinput remap="pre">mkdir - pv ../gcc-build53 <screen><userinput remap="pre">mkdir -v ../gcc-build 54 54 cd ../gcc-build</userinput></screen> 55 55 … … 60 60 --prefix=/tools \ 61 61 --disable-multilib \ 62 --disable-shared \63 62 --disable-nls \ 64 63 --disable-libstdcxx-threads \ -
chapter05/ncurses.xml
r41727289 rbb189b0 43 43 <sect2 role="installation"> 44 44 <title>Installation of Ncurses</title> 45 46 <para>First, apply a patch to prevent a build failure 47 when building with GCC 5:</para> 48 49 <screen><userinput remap="pre">patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch;</userinput></screen> 45 50 46 51 <para>Prepare Ncurses for compilation:</para> -
chapter06/glibc.xml
r41727289 rbb189b0 75 75 -i sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen> 76 76 77 <para>Fix a potential security issue identified upstream:</para> 78 79 <screen><userinput remap="pre">sed -i '/glibc.*pad/{i\ buflen = buflen > pad ? buflen - pad : 0; 80 s/ + pad//}' resolv/nss_dns/dns-host.c</userinput></screen> 81 82 <para>Fix a test case that fails when built using GCC 5:</para> 83 84 <screen><userinput remap="pre">sed -e '/tst-audit2-ENV/i CFLAGS-tst-audit2.c += -fno-builtin' \ 85 -i elf/Makefile</userinput></screen> 86 77 87 <para>The Glibc documentation recommends building Glibc outside of the source 78 88 directory in a dedicated build directory:</para> … … 88 98 --enable-kernel=&min-kernel; \ 89 99 --enable-obsolete-rpc</userinput></screen> 90 91 <variablelist>92 <title>The meaning of the new configure options:</title>93 94 <varlistentry>95 <term><parameter>--enable-obsolete-rpc</parameter></term>96 <listitem>97 <para>Installs NIS and RPC related headers that are not installed by98 default; these are required to rebuild Glibc and by several BLFS99 packages.</para>100 </listitem>101 </varlistentry>102 103 </variablelist>104 100 105 101 <para>Compile the package:</para> -
chapter06/ncurses.xml
r41727289 rbb189b0 41 41 <sect2 role="installation"> 42 42 <title>Installation of Ncurses</title> 43 44 <para>First, apply a patch to prevent a build failure 45 when building with GCC 5:</para> 46 47 <screen><userinput remap="pre">patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch;</userinput></screen> 43 48 44 49 <para>Don't install a static library that is not handled by configure:</para> -
chapter06/perl.xml
r41727289 rbb189b0 56 56 <screen><userinput remap="pre">export BUILD_ZLIB=False 57 57 export BUILD_BZIP2=0</userinput></screen> 58 <!-- 59 <para>Fix a potential security problem:</para> 60 61 <screen><userinput remap="pre">patch -Np1 -i ../&perl-fix-patch;</userinput></screen> 62 --> 58 59 <para>Apply a patch to allow the Errno.pm module and the h2ph 60 program to build correctly when building with GCC 5:</para> 61 62 <screen><userinput remap="pre">patch -Np1 -i ../&perl-gcc5-fixes-patch;</userinput></screen> 63 63 64 <para>To have full control over the way Perl is set up, you can remove the 64 65 <quote>-des</quote> options from the following command and hand-pick the way -
general.ent
r41727289 rbb189b0 1 <!ENTITY version "SVN-2015042 1">1 <!ENTITY version "SVN-20150424"> 2 2 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book;. Change to x.y for release 3 3 but not -rc releases --> 4 <!ENTITY releasedate "April 2 1, 2015">4 <!ENTITY releasedate "April 24, 2015"> 5 5 <!ENTITY copyrightdate "1999-2015"><!-- jhalfs needs a literal dash, not – --> 6 6 <!ENTITY milestone "7.8"> … … 9 9 <!ENTITY lfs-root "http://www.linuxfromscratch.org/"> 10 10 <!ENTITY blfs-root "&lfs-root;blfs/"> 11 <!ENTITY blfs-book "&blfs-root;view/&short-version;/"> 11 <!ENTITY blfs-book "&blfs-root;view/&short-version;/"> 12 12 <!ENTITY faq-root "&lfs-root;faq/"> 13 13 <!ENTITY hints-root "&lfs-root;hints/downloads/files/"> -
packages.ent
r41727289 rbb189b0 197 197 <!ENTITY gawk-ch6-sbu "0.3 SBU"> 198 198 199 <!ENTITY gcc-version " 4.9.2">200 <!ENTITY gcc-size " 87,832KB">199 <!ENTITY gcc-version "5.1.0"> 200 <!ENTITY gcc-size "92,736 KB"> 201 201 <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> 202 <!ENTITY gcc-md5 " 4df8ee253b7f3863ad0b86359cd39c43">202 <!ENTITY gcc-md5 "d5525b1127d07d215960e6051c5da35e"> 203 203 <!ENTITY gcc-home "http://gcc.gnu.org/"> 204 <!ENTITY gcc-ch5p1-du "2. 0GB">205 <!ENTITY gcc-ch5p1-sbu " 5.9SBU">206 <!ENTITY gcc-ch5p2-du "2. 6GB">207 <!ENTITY gcc-ch5p2-sbu " 7.7SBU">208 <!ENTITY gcc-ch6-du "2. 9GB ">209 <!ENTITY gcc-ch6-sbu " 63SBU (with tests)">210 211 <!ENTITY libstdcpp-ch5-du " 798 MB">212 <!ENTITY libstdcpp-ch5-sbu "0. 3SBU">204 <!ENTITY gcc-ch5p1-du "2.4 GB"> 205 <!ENTITY gcc-ch5p1-sbu "8.0 SBU"> 206 <!ENTITY gcc-ch5p2-du "2.8 GB"> 207 <!ENTITY gcc-ch5p2-sbu "10.2 SBU"> 208 <!ENTITY gcc-ch6-du "2.6 GB "> 209 <!ENTITY gcc-ch6-sbu "92 SBU (with tests)"> 210 211 <!ENTITY libstdcpp-ch5-du "838 MB"> 212 <!ENTITY libstdcpp-ch5-sbu "0.4 SBU"> 213 213 214 214 <!ENTITY gdbm-version "1.11"> -
patches.ent
r41727289 rbb189b0 31 31 <!ENTITY mpfr-fixes-patch-size "38 KB"> 32 32 33 <!-- 34 <!ENTITY perl-fix-patch "perl-&perl-version;-infinite_recurse_fix-1.patch"> 35 <!ENTITY perl-fix-patch-md5 "579dfed34e97e0a2fe21b74aa53946ac"> 36 <!ENTITY perl-fix-patch-size "11 KB"> 37 --> 33 <!ENTITY ncurses-gcc5-buildfixes-patch "ncurses-&ncurses-version;-gcc5_buildfixes-1.patch"> 34 <!ENTITY ncurses-gcc5-buildfixes-patch-md5 "f9015f670940350a3fc3c2ef347e2b33"> 35 <!ENTITY ncurses-gcc5-buildfixes-patch-size "4 KB"> 36 37 <!ENTITY perl-gcc5-fixes-patch "perl-&perl-version;-gcc5_fixes-1.patch"> 38 <!ENTITY perl-gcc5-fixes-patch-md5 "30f4907f63ec3ef7d50fa55e12d2923e"> 39 <!ENTITY perl-gcc5-fixes-patch-size "8 KB"> 38 40 39 41 <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fixes-3.patch">
Note:
See TracChangeset
for help on using the changeset viewer.