Changeset 09e511ce for BOOK


Ignore:
Timestamp:
Aug 14, 2014, 1:32:12 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
0646479
Parents:
f5d13b5
Message:

Disable lto for systemd

Location:
BOOK
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/systemd.xml

    rf5d13b5 r09e511ce  
    6767    --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
    6868    --with-dbussessionservicedir=/usr/share/dbus-1/services \
    69     --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
     69    --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
     70    cc_cv_CFLAGS__flto=no</userinput></screen>
    7071
    7172    <variablelist os="c">
     
    106107        </listitem>
    107108      </varlistentry>
     109
     110      <varlistentry>
     111        <term><parameter>cc_cv_CFLAGS__flto=no</parameter></term>
     112        <listitem>
     113          <para>This prevents the build system from using GCC's Link-time
     114          optimization (LTO), to ensure that systemd's binaries will not try
     115          to link to <filename class="libraryfile">libgcc_s</filename>.</para>
     116        </listitem>
     117      </varlistentry>
     118
    108119    </variablelist>
    109120
  • BOOK/final-system/multilib/systemd-64bit.xml

    rf5d13b5 r09e511ce  
    6666    --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
    6767    --with-dbussessionservicedir=/usr/share/dbus-1/services \
    68     --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
     68    --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
     69    cc_cv_CFLAGS__flto=no</userinput></screen>
    6970
    7071    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/systemd-n32.xml

    rf5d13b5 r09e511ce  
    4747    --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
    4848    --with-dbussessionservicedir=/usr/share/dbus-1/services \
    49     --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
     49    --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
     50    cc_cv_CFLAGS__flto=no</userinput></screen>
    5051
    5152    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/systemd.xml

    rf5d13b5 r09e511ce  
    5252    --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
    5353    --with-dbussessionservicedir=/usr/share/dbus-1/services \
    54     --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
     54    --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
     55    cc_cv_CFLAGS__flto=no</userinput></screen>
    5556
    5657    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/introduction/common/changelog.xml

    rf5d13b5 r09e511ce  
    3838
    3939    <listitem>
     40      <para>14 August 2014</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[Chris] - Disabled LTO for systemd build so it doesn't link
     44          to libgcc_s. Thanks to Armin K. for the solution.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
     49    <listitem>
    4050      <para>10 August 2014</para>
    4151      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.