Changeset d8c9a43f
- Timestamp:
- 08/25/2022 10:30:10 PM (9 months ago)
- Branches:
- multilib
- Children:
- b92cf89
- Parents:
- f8a51225 (diff), b3f157c6 (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
-
chapter05/glibc.xml
rf8a51225 rd8c9a43f 207 207 expected. To perform a sanity check, run the following commands:</para> 208 208 209 <screen><userinput>echo 'int main(){}' > dummy.c 210 $LFS_TGT-gcc dummy.c 211 readelf -l a.out | grep '/ld-linux'</userinput></screen> 209 <screen><userinput>echo 'int main(){}' | gcc -xc - 210 readelf -l a.out | grep ld-linux</userinput></screen> 212 211 213 212 <para>If everything is working correctly, there should be no errors, … … 224 223 continuing on.</para> 225 224 226 <para>Once all is well, clean up the test file s:</para>227 228 <screen><userinput>rm -v dummy.ca.out</userinput></screen>225 <para>Once all is well, clean up the test file:</para> 226 227 <screen><userinput>rm -v a.out</userinput></screen> 229 228 230 229 </caution> -
chapter08/glibc.xml
rf8a51225 rd8c9a43f 456 456 <para>By default, the dynamic loader (<filename 457 457 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through 458 <filename class="directory">/lib</filename> and <filename 459 class="directory">/usr/lib</filename> for dynamic libraries that are 460 needed by programs as they are run. However, if there are libraries in 461 directories other than <filename class="directory">/lib</filename> and 458 <filename class="directory">/usr/lib</filename> for dynamic libraries 459 that are needed by programs as they are run. However, if there are 460 libraries in directories other than 462 461 <filename class="directory">/usr/lib</filename>, these need to be added 463 462 to the <filename>/etc/ld.so.conf</filename> file in order for the -
chapter10/kernel.xml
rf8a51225 rd8c9a43f 150 150 Pseudo filesystems ---> 151 151 [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen> 152 153 <para>Enable some additional features if you are building a 64-bit 154 system. If you are using menuconfig, enable them in the order of 155 <parameter>CONFIG_PCI_MSI</parameter> first, then 156 <parameter>CONFIG_IRQ_REMAP</parameter>, at last 157 <parameter>CONFIG_X86_X2APIC</parameter> because an option only 158 shows up after its dependencies are selected.</para> 159 160 <screen role="nodump">Processor type and features ---> 161 [*] Support x2apic [CONFIG_X86_X2APIC] 162 Memory Management options ---> 163 [ ] Enable userfaultfd() system call [CONFIG_USERFAULTFD] 164 Device Drivers ---> 165 [*] PCI Support ---> [CONFIG_PCI] 166 [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI] 167 [*] IOMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT] 168 [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen> 152 169 </note> 153 170 … … 258 275 </varlistentry> 259 276 277 <varlistentry> 278 <term><parameter>Support x2apic</parameter></term> 279 <listitem> 280 <para>Support running the interrupt controller of 64-bit x86 281 processors in x2APIC mode. x2APIC may be enabled by firmware on 282 64-bit x86 systems, and a kernel without this option enabled will 283 panic on boot if x2APIC is enabled by firmware. This option has 284 has no effect, but also does no harm if x2APIC is disabled by the 285 firmware.</para> 286 </listitem> 287 </varlistentry> 288 289 <varlistentry> 290 <term><parameter>Enable userfaultfd() system call</parameter></term> 291 <listitem> 292 <para>If this option is enabled, a security vulnerability not 293 resolved in Linux-&linux-version; yet will be exploitable. 294 Disable this option to avoid the vulnerability. This system call 295 is not used by any part of LFS or BLFS.</para> 296 </listitem> 297 </varlistentry> 298 260 299 </variablelist> 261 300
Note:
See TracChangeset
for help on using the changeset viewer.