aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-02-16 16:56:04 -0600
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-02-16 16:56:04 -0600
commitd6f5aab3810b41a05e8ae7327c706f4a108f94c7 (patch)
tree5d68f009c288b668f8dcc4a4237627c43a99fefa
parentc5755859a85399fd32756a7ac8b616846909a0cf (diff)
Binutils fix to fix some package builds
This fix was found on an i368 system when building openjdk. The fix does not help or hurt x86_64 systems.
-rw-r--r--chapter08/binutils.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml
index 88e8ab312..f91424427 100644
--- a/chapter08/binutils.xml
+++ b/chapter08/binutils.xml
@@ -71,12 +71,14 @@ Ask your system administrator to create more.</computeroutput></screen>
<screen><userinput remap="pre">sed -i '63d' etc/texi2pod.pl
find -name \*.1 -delete</userinput></screen>
-->
-<!--
- <para>Now remove one test that prevents the tests from running
- to completion:</para>
-<screen><userinput remap="pre">sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in</userinput></screen>
--->
+ <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>