Changeset f878deb


Ignore:
Timestamp:
05/09/2020 08:20:21 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
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, 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:
477c0985
Parents:
784b3bb
Message:

Fix building systemd with GCC 10

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r784b3bb rf878deb  
    4343    appropriate for the entry or if needed the entire day's listitem.
    4444    -->
     45    <listitem revision="systemd">
     46      <para>2020-05-09</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[pierre] - Pass -Wno-format-overflow to systemd to
     50          prevent an error with GCC 10.</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
    4555    <listitem>
    4656      <para>2020-05-08</para>
  • chapter06/systemd.xml

    r784b3bb rf878deb  
    7070cd       build
    7171
    72 LANG=en_US.UTF-8                   \
    73 meson --prefix=/usr                \
    74       --sysconfdir=/etc            \
    75       --localstatedir=/var         \
    76       -Dblkid=true                 \
    77       -Dbuildtype=release          \
    78       -Ddefault-dnssec=no          \
    79       -Dfirstboot=false            \
    80       -Dinstall-tests=false        \
    81       -Dkmod-path=/bin/kmod        \
    82       -Dldconfig=false             \
    83       -Dmount-path=/bin/mount      \
    84       -Drootprefix=                \
    85       -Drootlibdir=/lib            \
    86       -Dsplit-usr=true             \
    87       -Dsulogin-path=/sbin/sulogin \
    88       -Dsysusers=false             \
    89       -Dumount-path=/bin/umount    \
    90       -Db_lto=false                \
    91       -Drpmmacrosdir=no            \
    92       -Dhomed=false                \
    93       -Duserdb=false               \
    94       -Dman=true                   \
     72LANG=en_US.UTF-8                    \
     73meson --prefix=/usr                 \
     74      --sysconfdir=/etc             \
     75      --localstatedir=/var          \
     76      -Dc_args=-Wno-format-overflow \
     77      -Dblkid=true                  \
     78      -Dbuildtype=release           \
     79      -Ddefault-dnssec=no           \
     80      -Dfirstboot=false             \
     81      -Dinstall-tests=false         \
     82      -Dkmod-path=/bin/kmod         \
     83      -Dldconfig=false              \
     84      -Dmount-path=/bin/mount       \
     85      -Drootprefix=                 \
     86      -Drootlibdir=/lib             \
     87      -Dsplit-usr=true              \
     88      -Dsulogin-path=/sbin/sulogin  \
     89      -Dsysusers=false              \
     90      -Dumount-path=/bin/umount     \
     91      -Db_lto=false                 \
     92      -Drpmmacrosdir=no             \
     93      -Dhomed=false                 \
     94      -Duserdb=false                \
     95      -Dman=true                    \
    9596      ..</userinput></screen>
    9697
    9798    <variablelist>
    9899      <title>The meaning of the meson options:</title>
     100
     101      <varlistentry>
     102        <term><parameter>-Dc_args=-Wno-format-overflow</parameter></term>
     103        <listitem>
     104          <para>The defaults flags passed to gcc contain
     105          <parameter>-Werror=format-overflow</parameter>, which generates
     106          an error with GCC 10. Passing this parameter prevents the error
     107          from occuring.</para>
     108        </listitem>
     109      </varlistentry>
    99110
    100111      <varlistentry>
  • general.ent

    r784b3bb rf878deb  
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20200508-systemd">
     6<!ENTITY versiond        "20200509-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "May 8th, 2020">
     10<!ENTITY releasedate     "May 9th, 2020">
    1111
    1212<!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.