Changeset 990ba6b


Ignore:
Timestamp:
09/23/2003 05:08:35 AM (21 years ago)
Author:
Greg Schafer <greg@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
ccaabde
Parents:
94cb9c22
Message:

Chapter 5 - GCC Pass 2: Add check for properly functioning PTYs.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2870 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass2-inst.xml

    r94cb9c22 r990ba6b  
    44<title>Re-installation of GCC</title>
    55
    6 <para>The tools required to test GCC and Binutils are installed now
    7 (Expect, Tcl and DejaGnu). We can continue on rebuilding GCC and Binutils,
    8 link them against the new Glibc, and test them properly. One thing to note,
    9 however, is that these test suites are highly dependent on the features
    10 supported by your host distribution.  Most notably, a host distribution
    11 which does not properly support the devpts filesystem will cause most of
    12 these tests to fail.</para>
     6<para>The tools required to test GCC and Binutils are installed now (Tcl, Expect
     7and DejaGnu). We can continue on rebuilding GCC and Binutils, link them against
     8the new Glibc, and test them properly. One thing to note, however, is that these
     9test suites are highly dependent on properly functioning pseudo terminals (PTYs)
     10which are provided by your host distribution. These days, PTYs are most commonly
     11implemented via the <emphasis>devpts</emphasis> file system. You can quickly
     12check if your host system is set up correctly in this regard by performing a
     13simple test:</para>
     14
     15<para><screen><userinput>expect -c "spawn ls"</userinput></screen></para>
     16
     17<para>If you receive the message:</para>
     18
     19<para><screen>The system has no more ptys.  Ask your system administrator to create more.</screen></para>
     20
     21<para>Your host distribution is not set up for proper PTY operation. In this
     22case there is no point in running the test suites for GCC and Binutils until you
     23are able to resolve the issue. You can consult the LFS Wiki at
     24<ulink url="http://wiki.linuxfromscratch.org"/> for more information on how to
     25get PTYs working.</para>
    1326
    1427<note><para>It's worth pointing out that the GCC test suite we run in this
Note: See TracChangeset for help on using the changeset viewer.