Clean chapter 8 binutils xml and text

Remove old commented instructions
Remove a sed and a test failure explanation: both have been fixed
in binutils-2.39
This commit is contained in:
Pierre Labastie 2022-08-14 21:11:46 +02:00
parent c25dd3fc1d
commit d94f2d01a5

View File

@ -56,29 +56,14 @@
<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
man pages will be regenerated correctly:</para>
<screen><userinput remap="pre">sed -i '63d' etc/texi2pod.pl
find -name \*.1 -delete</userinput></screen>
-->
<!-- Fixed in binutils-2.39
<para>
Now make a fix identified upstream that affects building some packages:
</para>
<screen><userinput remap="pre">sed -e '/R_386_TLS_LE /i \ || (TYPE) == R_386_TLS_IE \\' \
-i ./bfd/elfxx-x86.h</userinput></screen>
-->
<para>The Binutils documentation recommends building Binutils
in a dedicated build directory:</para>
@ -175,12 +160,12 @@ cd build</userinput></screen>
<screen><userinput remap="test">make -k check</userinput></screen>
<!-- Will be fixed in 2.39
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=01ae03b -->
<!-- Fixed in 2.39
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=01ae03b
<para>One gold test, <filename>pr17704a_test</filename>, is known to
fail if <parameter>CONFIG_IA32_EMULATION</parameter> is disabled in the
kernel configuration of the host system.</para>
-->
<para>Install the package:</para>
<screen><userinput remap="install">make tooldir=/usr install</userinput></screen>