aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/binutils.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-03-08 11:21:34 +0800
committerXi Ruoyao <xry111@xry111.site>2023-03-08 11:25:48 +0800
commit835e40ce16b6043f6349cc37ff83ee701d961ee5 (patch)
tree3972016c966ea5795947a3d62b64ed07f2cd4651 /chapter08/binutils.xml
parente0fb1098a4b0f5059f029fd88eff78ca244beec1 (diff)
Adjustments for /dev/pts
1. Declare UNIX98 PTY requirement in host system requirements and check it in the script. All desktop or server distros should have it now, but let's stop anyone from building on a embedded distro w/o UNIX98 PTY early... 2. Use Expect test suite as a guard against mishandled $LFS/dev/pts. 3. No need to test the basic function of Expect in Binutils anymore because if ($LFS)/dev/pts is not good, the Expect test suite would have failed.
Diffstat (limited to 'chapter08/binutils.xml')
-rw-r--r--chapter08/binutils.xml23
1 files changed, 0 insertions, 23 deletions
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml
index eb83563bb..cf1c4f895 100644
--- a/chapter08/binutils.xml
+++ b/chapter08/binutils.xml
@@ -41,29 +41,6 @@
<sect2 role="installation">
<title>Installation of Binutils</title>
- <para>Verify that the PTYs are working properly inside the chroot
- environment by performing a simple test:</para>
-
-<screen><userinput remap="test">expect -c "spawn ls"</userinput></screen>
-
- <para>This command should output the following:</para>
-
-<screen><computeroutput>spawn ls</computeroutput></screen>
-
- <para>If, instead, the output includes the message below, then the environment
- is not set up for proper PTY operation. This issue needs to be resolved before
- running the test suites for Binutils and GCC:</para>
-
-<screen><computeroutput>The system has no more ptys.
-Ask your system administrator to create more.</computeroutput></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>