diff options
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/binutils.xml | 5 | ||||
-rw-r--r-- | chapter08/gcc.xml | 4 | ||||
-rw-r--r-- | chapter08/systemd.xml | 4 |
3 files changed, 11 insertions, 2 deletions
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index 5fb87ba58..0a1c02deb 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -56,13 +56,13 @@ <screen><computeroutput>The system has no more ptys. Ask your system administrator to create more.</computeroutput></screen> - +<!-- <para>Upstream has made a patch to fix a problem when using binutils for building some BLFS packages with Link Time Optimization (LTO) enabled. Apply that now:</para> <screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-patch;</userinput></screen> - +--> <!-- <para>An error in the building system causes the shipped man pages to be empty. Workaround the issue and remove the shipped man pages, so the @@ -88,6 +88,7 @@ cd build</userinput></screen> <para>Prepare Binutils for compilation:</para> <screen><userinput remap="configure">../configure --prefix=/usr \ + --sysconfdir=/etc \ --enable-gold \ --enable-ld=default \ --enable-plugins \ diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 0571d3df9..01225cd78 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -49,6 +49,10 @@ -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \ -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp</userinput></screen> --> + <para>First fix a problem with the latest version of glibc:</para> + + <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen> + <para>If building on x86_64, change the default directory name for 64-bit libraries to <quote>lib</quote>:</para> diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 0f11da410..da750e440 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -40,6 +40,10 @@ <sect2 role="installation"> <title>Installation of systemd</title> + <para>First, fix an issue introduced by glibc-2.36.</para> + +<screen><userinput remap="pre">patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen> + <para>Remove two unneeded groups, <systemitem class="groupname">render</systemitem> and <systemitem class="groupname">sgx</systemitem>, from the default udev |