mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-10 07:59:38 +00:00
Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11606 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
cad96bf236
commit
f5ae110a14
@ -45,6 +45,16 @@
|
|||||||
appropriate for the entry or if needed the entire day's listitem.
|
appropriate for the entry or if needed the entire day's listitem.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<listitem revision="systemd">
|
||||||
|
<para>2019-05-11</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[pierre] - Fix a hardcoded path to /usr/bin/find in the
|
||||||
|
systemd unit of man-db.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>2019-05-03</para>
|
<para>2019-05-03</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -155,31 +155,10 @@ cd build</userinput></screen>
|
|||||||
|
|
||||||
<para>Prepare GCC for compilation:</para>
|
<para>Prepare GCC for compilation:</para>
|
||||||
|
|
||||||
<screen arch="default"><userinput remap="configure">../configure \
|
<screen><userinput arch="default" remap="configure">mloptions="--disable-multilib"</userinput>
|
||||||
--target=$LFS_TGT \
|
<userinput arch="ml_32,ml_x32,ml_all" remap="configure">mloptions="--enable-multilib --with-multilib-list=m64"</userinput>
|
||||||
--prefix=/tools \
|
<userinput arch="ml_32,ml_all" remap="configure">mloptions="$mloptions,m32"</userinput>
|
||||||
--with-glibc-version=2.11 \
|
<userinput arch="ml_x32,ml_all" remap="configure">mloptions="$mloptions,mx32"</userinput>
|
||||||
--with-sysroot=$LFS \
|
|
||||||
--with-newlib \
|
|
||||||
--without-headers \
|
|
||||||
--with-local-prefix=/tools \
|
|
||||||
--with-native-system-header-dir=/tools/include \
|
|
||||||
--disable-nls \
|
|
||||||
--disable-shared \
|
|
||||||
--disable-multilib \
|
|
||||||
--disable-decimal-float \
|
|
||||||
--disable-threads \
|
|
||||||
--disable-libatomic \
|
|
||||||
--disable-libgomp \
|
|
||||||
--disable-libquadmath \
|
|
||||||
--disable-libssp \
|
|
||||||
--disable-libvtv \
|
|
||||||
--disable-libstdcxx \
|
|
||||||
--enable-languages=c,c++</userinput></screen>
|
|
||||||
|
|
||||||
<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">mlist="m64"</userinput>
|
|
||||||
<userinput arch="ml_32,ml_all" remap="configure">mlist="$mlist,m32"</userinput>
|
|
||||||
<userinput arch="ml_x32,ml_all" remap="configure">mlist="$mlist,mx32"</userinput>
|
|
||||||
<userinput remap="configure">../configure \
|
<userinput remap="configure">../configure \
|
||||||
--target=$LFS_TGT \
|
--target=$LFS_TGT \
|
||||||
--prefix=/tools \
|
--prefix=/tools \
|
||||||
@ -191,8 +170,6 @@ cd build</userinput></screen>
|
|||||||
--with-native-system-header-dir=/tools/include \
|
--with-native-system-header-dir=/tools/include \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
--enable-multilib \
|
|
||||||
--with-multilib-list=$mlist \
|
|
||||||
--disable-decimal-float \
|
--disable-decimal-float \
|
||||||
--disable-threads \
|
--disable-threads \
|
||||||
--disable-libatomic \
|
--disable-libatomic \
|
||||||
@ -201,7 +178,8 @@ cd build</userinput></screen>
|
|||||||
--disable-libssp \
|
--disable-libssp \
|
||||||
--disable-libvtv \
|
--disable-libvtv \
|
||||||
--disable-libstdcxx \
|
--disable-libstdcxx \
|
||||||
--enable-languages=c,c++</userinput></screen>
|
--enable-languages=c,c++ \
|
||||||
|
$mloptions</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the configure options:</title>
|
<title>The meaning of the configure options:</title>
|
||||||
|
@ -139,23 +139,10 @@ cd build</userinput></screen>
|
|||||||
|
|
||||||
<para>Now prepare GCC for compilation:</para>
|
<para>Now prepare GCC for compilation:</para>
|
||||||
|
|
||||||
<screen arch="default"><userinput remap="configure">CC=$LFS_TGT-gcc \
|
<screen><userinput arch="default" remap="configure">mloptions="--disable-multilib"</userinput>
|
||||||
CXX=$LFS_TGT-g++ \
|
<userinput arch="ml_32,ml_x32,ml_all" remap="configure">mloptions="--with-system-zlib --enable-multilib --with-multilib-list=m64"</userinput>
|
||||||
AR=$LFS_TGT-ar \
|
<userinput arch="ml_32,ml_all" remap="configure">mloptions="$mloptions,m32"</userinput>
|
||||||
RANLIB=$LFS_TGT-ranlib \
|
<userinput arch="ml_x32,ml_all" remap="configure">mloptions="$mloptions,mx32"</userinput>
|
||||||
../configure \
|
|
||||||
--prefix=/tools \
|
|
||||||
--with-local-prefix=/tools \
|
|
||||||
--with-native-system-header-dir=/tools/include \
|
|
||||||
--enable-languages=c,c++ \
|
|
||||||
--disable-libstdcxx-pch \
|
|
||||||
--disable-multilib \
|
|
||||||
--disable-bootstrap \
|
|
||||||
--disable-libgomp</userinput></screen>
|
|
||||||
|
|
||||||
<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">mlist="m64"</userinput>
|
|
||||||
<userinput arch="ml_32,ml_all" remap="configure">mlist="$mlist,m32"</userinput>
|
|
||||||
<userinput arch="ml_x32,ml_all" remap="configure">mlist="$mlist,mx32"</userinput>
|
|
||||||
<userinput remap="configure">CC=$LFS_TGT-gcc \
|
<userinput remap="configure">CC=$LFS_TGT-gcc \
|
||||||
CXX=$LFS_TGT-g++ \
|
CXX=$LFS_TGT-g++ \
|
||||||
AR=$LFS_TGT-ar \
|
AR=$LFS_TGT-ar \
|
||||||
@ -166,11 +153,9 @@ RANLIB=$LFS_TGT-ranlib \
|
|||||||
--with-native-system-header-dir=/tools/include \
|
--with-native-system-header-dir=/tools/include \
|
||||||
--enable-languages=c,c++ \
|
--enable-languages=c,c++ \
|
||||||
--disable-libstdcxx-pch \
|
--disable-libstdcxx-pch \
|
||||||
--enable-multilib \
|
|
||||||
--with-multilib-list=$mlist \
|
|
||||||
--with-system-zlib \
|
|
||||||
--disable-bootstrap \
|
--disable-bootstrap \
|
||||||
--disable-libgomp</userinput></screen>
|
--disable-libgomp \
|
||||||
|
$mloptions</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the new configure options:</title>
|
<title>The meaning of the new configure options:</title>
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
<screen><userinput remap="pre">sed -i '/keyboard_lookup_key/d' src/udev/udev-builtin-keyboard.c</userinput></screen>
|
<screen><userinput remap="pre">sed -i '/keyboard_lookup_key/d' src/udev/udev-builtin-keyboard.c</userinput></screen>
|
||||||
-->
|
-->
|
||||||
<para>Next, add a workaround to prevent the /tools directory from being
|
<para>First, add a workaround to prevent the /tools directory from being
|
||||||
hard coded into Eudev binary files library locations:</para>
|
hard coded into Eudev binary files library locations:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">cat > config.cache << "EOF"
|
<screen><userinput remap="pre">cat > config.cache << "EOF"
|
||||||
|
@ -76,33 +76,16 @@ cd build</userinput></screen>
|
|||||||
|
|
||||||
<para>Prepare GCC for compilation:</para>
|
<para>Prepare GCC for compilation:</para>
|
||||||
|
|
||||||
<screen arch="default"><userinput remap="configure">SED=sed \
|
<screen><userinput arch="default" remap="configure">mloptions="--disable-multilib"</userinput>
|
||||||
|
<userinput arch="ml_32,ml_x32,ml_all" remap="configure">mloptions="--enable-multilib --with-multilib-list=m64"</userinput>
|
||||||
|
<userinput arch="ml_32,ml_all" remap="configure">mloptions="$mloptions,m32"</userinput>
|
||||||
|
<userinput arch="ml_x32,ml_all" remap="configure">mloptions="$mloptions,mx32"</userinput>
|
||||||
|
<userinput remap="configure">SED=sed \
|
||||||
../configure --prefix=/usr \
|
../configure --prefix=/usr \
|
||||||
--enable-languages=c,c++ \
|
--enable-languages=c,c++ \
|
||||||
--disable-multilib \
|
|
||||||
--disable-bootstrap \
|
--disable-bootstrap \
|
||||||
--with-system-zlib</userinput></screen>
|
--with-system-zlib \
|
||||||
<screen arch="ml_32"><userinput remap="configure">SED=sed \
|
$mloptions</userinput></screen>
|
||||||
../configure --prefix=/usr \
|
|
||||||
--enable-languages=c,c++ \
|
|
||||||
--enable-multilib \
|
|
||||||
--with-multilib-list=m32,m64 \
|
|
||||||
--disable-bootstrap \
|
|
||||||
--with-system-zlib</userinput></screen>
|
|
||||||
<screen arch="ml_x32"><userinput remap="configure">SED=sed \
|
|
||||||
../configure --prefix=/usr \
|
|
||||||
--enable-languages=c,c++ \
|
|
||||||
--enable-multilib \
|
|
||||||
--with-multilib-list=mx32,m64 \
|
|
||||||
--disable-bootstrap \
|
|
||||||
--with-system-zlib</userinput></screen>
|
|
||||||
<screen arch="ml_all"><userinput remap="configure">SED=sed \
|
|
||||||
../configure --prefix=/usr \
|
|
||||||
--enable-languages=c,c++ \
|
|
||||||
--enable-multilib \
|
|
||||||
--with-multilib-list=m32,mx32,m64 \
|
|
||||||
--disable-bootstrap \
|
|
||||||
--with-system-zlib</userinput></screen>
|
|
||||||
|
|
||||||
<para>Note that for other languages, there are some prerequisites that
|
<para>Note that for other languages, there are some prerequisites that
|
||||||
are not yet available. See the
|
are not yet available. See the
|
||||||
|
@ -43,7 +43,9 @@
|
|||||||
|
|
||||||
<para>Prepare Man-DB for compilation:</para>
|
<para>Prepare Man-DB for compilation:</para>
|
||||||
|
|
||||||
<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
|
<screen revision="systemd"><userinput remap="configure">sed -i '/find/s@/usr@@' init/systemd/man-db.service.in
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
--docdir=/usr/share/doc/man-db-&man-db-version; \
|
--docdir=/usr/share/doc/man-db-&man-db-version; \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--disable-setuid \
|
--disable-setuid \
|
||||||
@ -66,6 +68,15 @@
|
|||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the configure options:</title>
|
<title>The meaning of the configure options:</title>
|
||||||
|
|
||||||
|
<varlistentry revision="systemd">
|
||||||
|
<term><command>sed -i '/find/s@/usr@@' init/systemd/man-db.service.in</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This changes a harcoded path to the <command>find</command>
|
||||||
|
utility, which we install in
|
||||||
|
<filename class="directory">/bin</filename>.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--disable-setuid</parameter></term>
|
<term><parameter>--disable-setuid</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -198,15 +198,11 @@ rm -f /usr/bin/xsltproc</userinput></screen>
|
|||||||
|
|
||||||
<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
|
<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
|
||||||
|
|
||||||
<para>Create the <filename>/lib/systemd/systemd-user-sessions</filename>
|
<para>Prevent systemd from creating <filename>/run/nologin</filename>
|
||||||
script to allow unprivileged user logins without
|
to allow unprivileged user logins without
|
||||||
<application>systemd-logind</application>:</para>
|
<application>systemd-logind</application>:</para>
|
||||||
|
|
||||||
<screen><userinput remap="adjust">cat > /lib/systemd/systemd-user-sessions << "EOF"
|
<screen><userinput remap="adjust">rm -f /usr/lib/tmpfiles.d/systemd-nologin.conf</userinput></screen>
|
||||||
#!/bin/bash
|
|
||||||
rm -f /run/nologin
|
|
||||||
EOF
|
|
||||||
chmod 755 /lib/systemd/systemd-user-sessions</userinput></screen>
|
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<!ENTITY version "SVN-20190503">
|
<!ENTITY version "SVN-20190511">
|
||||||
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
|
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
|
||||||
Change to x.y for release but not -rc releases -->
|
Change to x.y for release but not -rc releases -->
|
||||||
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
|
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
|
||||||
|
|
||||||
<!ENTITY versiond "20190503-systemd">
|
<!ENTITY versiond "20190511-systemd">
|
||||||
<!ENTITY short-versiond "systemd">
|
<!ENTITY short-versiond "systemd">
|
||||||
<!ENTITY generic-versiond "systemd">
|
<!ENTITY generic-versiond "systemd">
|
||||||
|
|
||||||
<!ENTITY releasedate "May 3, 2019">
|
<!ENTITY releasedate "May 11, 2019">
|
||||||
|
|
||||||
<!ENTITY copyrightdate "1999-2019"><!-- jhalfs needs a literal dash, not – -->
|
<!ENTITY copyrightdate "1999-2019"><!-- jhalfs needs a literal dash, not – -->
|
||||||
<!ENTITY milestone "8.5">
|
<!ENTITY milestone "8.5">
|
||||||
|
Loading…
Reference in New Issue
Block a user