mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-07 13:00:00 +01:00
Automatic merge of trunk into multilib
This commit is contained in:
commit
d8c9a43f29
@ -206,9 +206,8 @@ cd build</userinput></screen>
|
|||||||
functions (compiling and linking) of the new toolchain are working as
|
functions (compiling and linking) of the new toolchain are working as
|
||||||
expected. To perform a sanity check, run the following commands:</para>
|
expected. To perform a sanity check, run the following commands:</para>
|
||||||
|
|
||||||
<screen><userinput>echo 'int main(){}' > dummy.c
|
<screen><userinput>echo 'int main(){}' | gcc -xc -
|
||||||
$LFS_TGT-gcc dummy.c
|
readelf -l a.out | grep ld-linux</userinput></screen>
|
||||||
readelf -l a.out | grep '/ld-linux'</userinput></screen>
|
|
||||||
|
|
||||||
<para>If everything is working correctly, there should be no errors,
|
<para>If everything is working correctly, there should be no errors,
|
||||||
and the output of the last command will be of the form:</para>
|
and the output of the last command will be of the form:</para>
|
||||||
@ -223,9 +222,9 @@ readelf -l a.out | grep '/ld-linux'</userinput></screen>
|
|||||||
where the problem is and correct it. This issue must be resolved before
|
where the problem is and correct it. This issue must be resolved before
|
||||||
continuing on.</para>
|
continuing on.</para>
|
||||||
|
|
||||||
<para>Once all is well, clean up the test files:</para>
|
<para>Once all is well, clean up the test file:</para>
|
||||||
|
|
||||||
<screen><userinput>rm -v dummy.c a.out</userinput></screen>
|
<screen><userinput>rm -v a.out</userinput></screen>
|
||||||
|
|
||||||
</caution>
|
</caution>
|
||||||
|
|
||||||
|
@ -455,10 +455,9 @@ unset ZONEINFO</userinput></screen>
|
|||||||
|
|
||||||
<para>By default, the dynamic loader (<filename
|
<para>By default, the dynamic loader (<filename
|
||||||
class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
|
class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
|
||||||
<filename class="directory">/lib</filename> and <filename
|
<filename class="directory">/usr/lib</filename> for dynamic libraries
|
||||||
class="directory">/usr/lib</filename> for dynamic libraries that are
|
that are needed by programs as they are run. However, if there are
|
||||||
needed by programs as they are run. However, if there are libraries in
|
libraries in directories other than
|
||||||
directories other than <filename class="directory">/lib</filename> and
|
|
||||||
<filename class="directory">/usr/lib</filename>, these need to be added
|
<filename class="directory">/usr/lib</filename>, these need to be added
|
||||||
to the <filename>/etc/ld.so.conf</filename> file in order for the
|
to the <filename>/etc/ld.so.conf</filename> file in order for the
|
||||||
dynamic loader to find them. Two directories that are commonly known
|
dynamic loader to find them. Two directories that are commonly known
|
||||||
|
@ -149,6 +149,23 @@ File systems --->
|
|||||||
[*] Inotify support for userspace [CONFIG_INOTIFY_USER]
|
[*] Inotify support for userspace [CONFIG_INOTIFY_USER]
|
||||||
Pseudo filesystems --->
|
Pseudo filesystems --->
|
||||||
[*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>
|
[*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>
|
||||||
|
|
||||||
|
<para>Enable some additional features if you are building a 64-bit
|
||||||
|
system. If you are using menuconfig, enable them in the order of
|
||||||
|
<parameter>CONFIG_PCI_MSI</parameter> first, then
|
||||||
|
<parameter>CONFIG_IRQ_REMAP</parameter>, at last
|
||||||
|
<parameter>CONFIG_X86_X2APIC</parameter> because an option only
|
||||||
|
shows up after its dependencies are selected.</para>
|
||||||
|
|
||||||
|
<screen role="nodump">Processor type and features --->
|
||||||
|
[*] Support x2apic [CONFIG_X86_X2APIC]
|
||||||
|
Memory Management options --->
|
||||||
|
[ ] Enable userfaultfd() system call [CONFIG_USERFAULTFD]
|
||||||
|
Device Drivers --->
|
||||||
|
[*] PCI Support ---> [CONFIG_PCI]
|
||||||
|
[*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
|
||||||
|
[*] IOMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT]
|
||||||
|
[*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<note revision="systemd">
|
<note revision="systemd">
|
||||||
@ -257,6 +274,28 @@ File systems --->
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>Support x2apic</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>Support running the interrupt controller of 64-bit x86
|
||||||
|
processors in x2APIC mode. x2APIC may be enabled by firmware on
|
||||||
|
64-bit x86 systems, and a kernel without this option enabled will
|
||||||
|
panic on boot if x2APIC is enabled by firmware. This option has
|
||||||
|
has no effect, but also does no harm if x2APIC is disabled by the
|
||||||
|
firmware.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>Enable userfaultfd() system call</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>If this option is enabled, a security vulnerability not
|
||||||
|
resolved in Linux-&linux-version; yet will be exploitable.
|
||||||
|
Disable this option to avoid the vulnerability. This system call
|
||||||
|
is not used by any part of LFS or BLFS.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para>Alternatively, <command>make oldconfig</command> may be more
|
<para>Alternatively, <command>make oldconfig</command> may be more
|
||||||
|
Loading…
Reference in New Issue
Block a user