Changeset f6fe500


Ignore:
Timestamp:
05/11/2014 03:02:47 PM (7 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 7.10, 7.10-rc1, 7.6, 7.6-rc1, 7.7, 7.7-rc1, 7.8, 7.8-rc1, 7.9, 7.9-rc1, 7.9-rc2, 8.0, 8.0-rc1, 8.1, 8.1-rc1, 8.1-rc2, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, BOOK.old, cross-chap5, ml-11.0, multilib, nosym, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
6206f72
Parents:
799daaa
Message:

Update bootscripts for eudev.
Add gcc patch for upstream changes.</para>
Change explanation for using omit-frame-pointer in gcc-pass2.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10560 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r799daaa rf6fe500  
    9898
    9999        <seglistitem>
    100           <seg>Acli, Libcap</seg>
     100          <seg>Acl, Libcap</seg>
    101101        </seglistitem>
    102102      </segmentedlist>
  • bootscripts/Makefile

    r799daaa rf6fe500  
    2929        install -d -m ${DIRMODE}  ${SBIN}
    3030        ln -sfn       services    ${LIBDIR}/lsb
    31         ln -sfn       rc.d/init.d ${ETCDIR}/init.d-sysv
    32         ln -sfn       init.d-sysv ${ETCDIR}/init.d
     31        ln -sfn       rc.d/init.d ${ETCDIR}/init.d
    3332
    3433files: create-dirs
  • bootscripts/lfs/init.d/udev

    r799daaa rf6fe500  
    5050      # Start the udev daemon to continually watch for, and act on,
    5151      # uevents
    52       /lib/systemd/systemd-udevd --daemon
     52      /sbin/udevd --daemon
    5353
    5454      # Now traverse /sys in order to "coldplug" devices that have
    5555      # already been discovered
    56       /bin/udevadm trigger --action=add    --type=subsystems
    57       /bin/udevadm trigger --action=add    --type=devices
    58       /bin/udevadm trigger --action=change --type=devices
     56      /sbin/udevadm trigger --action=add    --type=subsystems
     57      /sbin/udevadm trigger --action=add    --type=devices
     58      /sbin/udevadm trigger --action=change --type=devices
    5959
    6060      # Now wait for udevd to process the uevents we triggered
    6161      if ! is_true "$OMIT_UDEV_SETTLE"; then
    62          /bin/udevadm settle
     62         /sbin/udevadm settle
    6363      fi
    6464
  • bootscripts/lfs/init.d/udev_retry

    r799daaa rf6fe500  
    3636
    3737      # As of udev-186, the --run option is no longer valid
    38       #rundir=$(/bin/udevadm info --run)
     38      #rundir=$(/sbin/udevadm info --run)
    3939      rundir=/run/udev
    4040      # From Debian: "copy the rules generated before / was mounted
     
    5353      while read line ; do
    5454         for subsystem in $line ; do
    55             /bin/udevadm trigger --subsystem-match=$subsystem --action=add
     55            /sbin/udevadm trigger --subsystem-match=$subsystem --action=add
    5656         done
    5757      done
     
    5959      # Now wait for udevd to process the uevents we triggered
    6060      if ! is_true "$OMIT_UDEV_RETRY_SETTLE"; then
    61          /bin/udevadm settle
     61         /sbin/udevadm settle
    6262      fi
    6363
  • chapter01/changelog.xml

    r799daaa rf6fe500  
    3737-->
    3838    <listitem>
     39      <para>2014-05-11</para>
     40      <itemizedlist>
     41        <listitem>
     42          <para>[bdubbs] - Update bootscripts for eudev.</para>
     43        </listitem>
     44        <listitem>
     45          <para>[bdubbs] - Add gcc patch for upstream changes.</para>
     46        </listitem>
     47        <listitem>
     48          <para>[bdubbs] - Change explanation for using
     49          omit-frame-pointer in gcc-pass2. Fixes
     50          <ulink url="&lfs-ticket-root;3562">#3562</ulink>.</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
     55    <listitem>
    3956      <para>2014-05-10</para>
    4057      <itemizedlist>
  • chapter03/patches.xml

    r799daaa rf6fe500  
    5656        <para>Download: <ulink url="&patches-root;&coreutils-shuf-segfault-patch;"/></para>
    5757        <para>MD5 sum: <literal>&coreutils-shuf-segfault-patch-md5;</literal></para>
     58      </listitem>
     59    </varlistentry>
     60
     61    <varlistentry>
     62      <term>Gcc Upstream Patch - <token>&gcc-upstream-patch-size;</token>:</term>
     63      <listitem>
     64        <para>Download: <ulink url="&patches-root;&gcc-upstream-patch;"/></para>
     65        <para>MD5 sum: <literal>&gcc-upstream-patch-md5;</literal></para>
    5866      </listitem>
    5967    </varlistentry>
  • chapter05/gcc-pass2.xml

    r799daaa rf6fe500  
    5959  `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h</userinput></screen>
    6060
    61     <para>For x86 machines, a bootstrap build of GCC uses the
    62     <option>-fomit-frame-pointer</option> compiler flag.  Non-bootstrap builds
    63     omit this flag by default, and the goal should be to produce a compiler
    64     that is exactly the same as if it were bootstrapped.  Apply the following
    65     <command>sed</command> command to force the build to use the flag:</para>
     61    <para>For x86 machines, the limited number of registers is a bottleneck
     62    for the system.  Free one up by not using a fram pointer that is not
     63    needed:</para>
    6664
    6765<screen><userinput remap="pre">case `uname -m` in
  • chapter06/gcc.xml

    r799daaa rf6fe500  
    4141  <sect2 role="installation">
    4242    <title>Installation of GCC</title>
     43
     44    <para>First fix a problem identified upstream that causes some
     45    programs to fail:</para>
     46
     47<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen>
    4348
    4449    <para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following
  • packages.ent

    r799daaa rf6fe500  
    154154<!ENTITY eudev-manpages-size "9 KB">
    155155<!ENTITY eudev-manpages-url "&anduin-other;eudev-&eudev-version;-manpages.tar.bz2">
    156 <!ENTITY eudev-manpages-md5 "c2fbf420a50d07b80158a0185cbb08f7">
     156<!ENTITY eudev-manpages-md5 "eaa5b9af344e958c29288e5376b97a28">
    157157
    158158<!ENTITY eudev-ch6-du "7.5 MB">
     
    371371<!ENTITY less-ch6-sbu "less than 0.1 SBU">
    372372
    373 <!ENTITY lfs-bootscripts-version "20140510">              <!-- Scripts depend on this format -->
     373<!ENTITY lfs-bootscripts-version "20140511">              <!-- Scripts depend on this format -->
    374374<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in Makefile -->
    375375<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
  • patches.ent

    r799daaa rf6fe500  
    2222<!ENTITY coreutils-shuf-segfault-patch-md5 "f1b5b35392914e327b1b6bbbb454d256">
    2323<!ENTITY coreutils-shuf-segfault-patch-size "4 KB">
     24
     25<!ENTITY gcc-upstream-patch "gcc-&gcc-version;-upstream_fixes-1.patch">
     26<!ENTITY gcc-upstream-patch-md5 "f070aae5f5f92259ed167539725e6241">
     27<!ENTITY gcc-upstream-patch-size "4.0 KB">
    2428
    2529<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
Note: See TracChangeset for help on using the changeset viewer.