Changeset a8c261b
- Timestamp:
- 03/08/2023 12:06:01 PM (7 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- 6bced9f
- Parents:
- a33431c (diff), 835e40c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/binutils.xml
ra33431c ra8c261b 42 42 <title>Installation of Binutils</title> 43 43 44 <para>Verify that the PTYs are working properly inside the chroot45 environment by performing a simple test:</para>46 47 <screen><userinput remap="test">expect -c "spawn ls"</userinput></screen>48 49 <para>This command should output the following:</para>50 51 <screen><computeroutput>spawn ls</computeroutput></screen>52 53 <para>If, instead, the output includes the message below, then the environment54 is not set up for proper PTY operation. This issue needs to be resolved before55 running the test suites for Binutils and GCC:</para>56 57 <screen><computeroutput>The system has no more ptys.58 Ask your system administrator to create more.</computeroutput></screen>59 <!-- Fixed in binutils-2.3960 <para>61 Now make a fix identified upstream that affects building some packages:62 </para>63 64 <screen><userinput remap="pre">sed -e '/R_386_TLS_LE /i \ || (TYPE) == R_386_TLS_IE \\' \65 -i ./bfd/elfxx-x86.h</userinput></screen>66 -->67 44 <para>The Binutils documentation recommends building Binutils 68 45 in a dedicated build directory:</para> -
chapter08/expect.xml
ra33431c ra8c261b 83 83 <screen><userinput remap="make">make</userinput></screen> 84 84 85 <important> 86 <para>The test suite for Expect is considered critical. 87 Do not skip it under any circumstances.</para> 88 </important> 89 85 90 <para>To test the results, issue:</para> 86 91 87 92 <screen><userinput remap="test">make test</userinput></screen> 93 94 <para>If any test fails with the message 95 <quote><computeroutput>The system has no more ptys. Ask your system 96 administrator to create more</computeroutput></quote>, it indicates 97 you've not mounted the 98 <systemitem class="filesystem">devpts</systemitem> file system 99 correctly. You need to exit from the chroot environment, read 100 <xref linkend='ch-tools-kernfs'/> again, and ensure the 101 <systemitem class="filesystem">devpts</systemitem> file system (and 102 other virtual kernel file systems) mounted correctly. Then reenter 103 the chroot environment following <xref linkend='ch-tools-chroot'/>. 104 This issue needs to be resolved before continuing.</para> 88 105 89 106 <para>Install the package:</para> -
chapter10/kernel.xml
ra33431c ra8c261b 112 112 [ ] Compile the kernel with warnings as errors [CONFIG_WERROR] 113 113 < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] 114 [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT] 114 115 General architecture-dependent options ---> 115 116 [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR] … … 138 139 [*] Memory controller [CONFIG_MEMCG] 139 140 [ ] Enable deprecated sysfs features to support old userspace tools [CONFIG_SYSFS_DEPRECATED] 140 [*] Configure standard kernel features (expert users) [CONFIG_EXPERT] ---> 141 [*] open by fhandle syscalls [CONFIG_FHANDLE] 141 [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT] 142 142 General architecture-dependent options ---> 143 143 [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP] … … 238 238 239 239 <varlistentry> 240 <term> 241 <parameter> 242 Configure standard kernel features (expert users) 243 </parameter> 244 </term> 245 <listitem> 246 <para>This will make some options show up in the configuration 247 interface but changing those options may be dangerous. Do not use 248 this unless you know what you are doing.</para> 249 </listitem> 250 </varlistentry> 251 252 <varlistentry> 240 253 <term><parameter>Strong Stack Protector</parameter></term> 241 254 <listitem>
Note:
See TracChangeset
for help on using the changeset viewer.