Changeset 47f42fa
- Timestamp:
- 04/24/2015 12:00:34 AM (9 years ago)
- Branches:
- 7.8-systemd, 7.9-systemd
- Children:
- c960015
- Parents:
- 50bb87d
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r50bb87d r47f42fa 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 bringing it up and Bruce Dubbs for providing 46 the fix in form of a sed.</para> 47 </listitem> 48 <listitem> 49 <para>[krejzi] - Fixed Ncurses and Perl build 50 with GCC 5. Thanks to Ken Moffat and Douglas 51 R. Reno for providing the patches.</para> 52 </listitem> 53 <listitem> 54 <para>[krejzi] - Updated to GCC-5.1.0. Fixes 55 <ulink url="&lfs-ticket-root;3779">#3779</ulink>.</para> 56 </listitem> 57 </itemizedlist> 58 </listitem> 59 60 61 <listitem> 40 62 <para>2015-04-21</para> 41 63 <itemizedlist> -
chapter01/whatsnew.xml
r50bb87d r47f42fa 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> … … 243 243 </listitem> 244 244 245 <listitem> 246 <para>&ncurses-gcc5-buildfixes-patch;</para> 247 </listitem> 248 249 <listitem> 250 <para>&perl-gcc5-fixes-patch;</para> 251 </listitem> 252 245 253 <!--<listitem> 246 254 <para>&bash-fixes-patch;</para> -
chapter03/patches.xml
r50bb87d r47f42fa 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
r50bb87d r47f42fa 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
r50bb87d r47f42fa 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
r50bb87d r47f42fa 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
r50bb87d r47f42fa 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
r50bb87d r47f42fa 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
r50bb87d r47f42fa 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
r50bb87d r47f42fa 1 <!ENTITY version "2015042 0-systemd">1 <!ENTITY version "20150424-systemd"> 2 2 <!ENTITY short-version "systemd"> <!-- Used in dbus chapter, change to x.y for release --> 3 <!ENTITY releasedate "April 2 0, 2015">3 <!ENTITY releasedate "April 24, 2015"> 4 4 <!ENTITY copyrightdate "1999-2015"><!-- jhalfs needs a literal dash, not – --> 5 5 <!ENTITY milestone "7.8"> -
packages.ent
r50bb87d r47f42fa 198 198 <!ENTITY gawk-ch6-sbu "0.3 SBU"> 199 199 200 <!ENTITY gcc-version " 4.9.2">201 <!ENTITY gcc-size " 87,832KB">200 <!ENTITY gcc-version "5.1.0"> 201 <!ENTITY gcc-size "92,736 KB"> 202 202 <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> 203 <!ENTITY gcc-md5 " 4df8ee253b7f3863ad0b86359cd39c43">203 <!ENTITY gcc-md5 "d5525b1127d07d215960e6051c5da35e"> 204 204 <!ENTITY gcc-home "http://gcc.gnu.org/"> 205 <!ENTITY gcc-ch5p1-du "2. 0GB">206 <!ENTITY gcc-ch5p1-sbu " 5.9SBU">207 <!ENTITY gcc-ch5p2-du "2. 6GB">208 <!ENTITY gcc-ch5p2-sbu " 7.7SBU">209 <!ENTITY gcc-ch6-du "2. 9GB ">210 <!ENTITY gcc-ch6-sbu " 63SBU (with tests)">211 212 <!ENTITY libstdcpp-ch5-du " 798 MB">213 <!ENTITY libstdcpp-ch5-sbu "0. 3SBU">205 <!ENTITY gcc-ch5p1-du "2.4 GB"> 206 <!ENTITY gcc-ch5p1-sbu "8.0 SBU"> 207 <!ENTITY gcc-ch5p2-du "2.8 GB"> 208 <!ENTITY gcc-ch5p2-sbu "10.2 SBU"> 209 <!ENTITY gcc-ch6-du "2.6 GB "> 210 <!ENTITY gcc-ch6-sbu "92 SBU (with tests)"> 211 212 <!ENTITY libstdcpp-ch5-du "838 MB"> 213 <!ENTITY libstdcpp-ch5-sbu "0.4 SBU"> 214 214 215 215 <!ENTITY gdbm-version "1.11"> -
patches.ent
r50bb87d r47f42fa 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.