Changeset 47f42fa for chapter06


Ignore:
Timestamp:
04/24/2015 12:00:34 AM (9 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.8-systemd, 7.9-systemd
Children:
c960015
Parents:
50bb87d
Message:

Updated to GCC-5.1.0.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10901 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    r50bb87d r47f42fa  
    7575    -i  sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen>
    7676
     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
    7787    <para>The Glibc documentation recommends building Glibc outside of the source
    7888    directory in a dedicated build directory:</para>
     
    8898    --enable-kernel=&min-kernel; \
    8999    --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 by
    98           default; these are required to rebuild Glibc and by several BLFS
    99           packages.</para>
    100         </listitem>
    101       </varlistentry>
    102 
    103     </variablelist>
    104100
    105101    <para>Compile the package:</para>
  • chapter06/ncurses.xml

    r50bb87d r47f42fa  
    4141  <sect2 role="installation">
    4242    <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>
    4348
    4449    <para>Don't install a static library that is not handled by configure:</para>
  • chapter06/perl.xml

    r50bb87d r47f42fa  
    5656<screen><userinput remap="pre">export BUILD_ZLIB=False
    5757export 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
    6364    <para>To have full control over the way Perl is set up, you can remove the
    6465    <quote>-des</quote> options from the following command and hand-pick the way
Note: See TracChangeset for help on using the changeset viewer.