mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Adopt changes in glibc to the m{,x}32 variants
This commit is contained in:
parent
9fb5c6d8c0
commit
fa5dc14333
@ -129,7 +129,7 @@ cd build</userinput></screen>
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--disable-nscd</parameter></term>
|
<term><parameter>--disable-nscd</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Do not build the name service cache daemon which is no
|
<para>Do not build the name service cache daemon which is no
|
||||||
longer used.</para>
|
longer used.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -314,7 +314,7 @@ SEARCH_DIR("=/usr/lib");</computeroutput></screen>
|
|||||||
|
|
||||||
<para>Clear the build directory and remove artefacts from
|
<para>Clear the build directory and remove artefacts from
|
||||||
previous build:</para>
|
previous build:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">make clean
|
<screen><userinput remap="pre">make clean
|
||||||
find .. -name "*.a" -delete</userinput></screen>
|
find .. -name "*.a" -delete</userinput></screen>
|
||||||
|
|
||||||
@ -326,12 +326,12 @@ CXX="$LFS_TGT-g++ -m32" \
|
|||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--host=$LFS_TGT32 \
|
--host=$LFS_TGT32 \
|
||||||
--build=$(../scripts/config.guess) \
|
--build=$(../scripts/config.guess) \
|
||||||
--enable-kernel=&min-kernel; \
|
|
||||||
--with-headers=$LFS/usr/include \
|
|
||||||
--disable-nscd \
|
--disable-nscd \
|
||||||
|
--with-headers=$LFS/usr/include \
|
||||||
--libdir=/usr/lib32 \
|
--libdir=/usr/lib32 \
|
||||||
--libexecdir=/usr/lib32 \
|
--libexecdir=/usr/lib32 \
|
||||||
libc_cv_slibdir=/usr/lib32</userinput></screen>
|
libc_cv_slibdir=/usr/lib32 \
|
||||||
|
--enable-kernel=&min-kernel;</userinput></screen>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
|
||||||
@ -376,7 +376,7 @@ readelf -l a.out | grep '/ld-linux'</userinput></screen>
|
|||||||
<!-- - - - - - - - - - -->
|
<!-- - - - - - - - - - -->
|
||||||
<!-- Multilib - x32bit -->
|
<!-- Multilib - x32bit -->
|
||||||
<!-- - - - - - - - - - -->
|
<!-- - - - - - - - - - -->
|
||||||
|
|
||||||
<sect2 arch="ml_x32,ml_all">
|
<sect2 arch="ml_x32,ml_all">
|
||||||
<title>Building Glibc - x32bit</title>
|
<title>Building Glibc - x32bit</title>
|
||||||
|
|
||||||
@ -386,7 +386,7 @@ readelf -l a.out | grep '/ld-linux'</userinput></screen>
|
|||||||
|
|
||||||
<para>Clear the build directory and remove artefacts from
|
<para>Clear the build directory and remove artefacts from
|
||||||
previous build:</para>
|
previous build:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">make clean
|
<screen><userinput remap="pre">make clean
|
||||||
find .. -name "*.a" -delete</userinput></screen>
|
find .. -name "*.a" -delete</userinput></screen>
|
||||||
|
|
||||||
@ -398,12 +398,12 @@ CXX="$LFS_TGT-g++ -mx32" \
|
|||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--host=$LFS_TGTX32 \
|
--host=$LFS_TGTX32 \
|
||||||
--build=$(../scripts/config.guess) \
|
--build=$(../scripts/config.guess) \
|
||||||
--enable-kernel=&min-kernel; \
|
|
||||||
--with-headers=$LFS/usr/include \
|
|
||||||
--disable-nscd \
|
--disable-nscd \
|
||||||
|
--with-headers=$LFS/usr/include \
|
||||||
--libdir=/usr/libx32 \
|
--libdir=/usr/libx32 \
|
||||||
--libexecdir=/usr/libx32 \
|
--libexecdir=/usr/libx32 \
|
||||||
libc_cv_slibdir=/usr/libx32</userinput></screen>
|
libc_cv_slibdir=/usr/libx32 \
|
||||||
|
--enable-kernel=&min-kernel;</userinput></screen>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ cd build</userinput></screen>
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--disable-nscd</parameter></term>
|
<term><parameter>--disable-nscd</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Do not build the name service cache daemon which is no
|
<para>Do not build the name service cache daemon which is no
|
||||||
longer used.</para>
|
longer used.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -621,7 +621,7 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
|
|||||||
|
|
||||||
<para>Clear the build directory and remove artefacts from
|
<para>Clear the build directory and remove artefacts from
|
||||||
previous build:</para>
|
previous build:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">rm -rf ./*
|
<screen><userinput remap="pre">rm -rf ./*
|
||||||
find .. -name "*.a" -delete</userinput></screen>
|
find .. -name "*.a" -delete</userinput></screen>
|
||||||
|
|
||||||
@ -632,11 +632,13 @@ find .. -name "*.a" -delete</userinput></screen>
|
|||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--host=i686-pc-linux-gnu \
|
--host=i686-pc-linux-gnu \
|
||||||
--build=$(../scripts/config.guess) \
|
--build=$(../scripts/config.guess) \
|
||||||
--enable-kernel=&min-kernel; \
|
|
||||||
--disable-nscd \
|
|
||||||
--libdir=/usr/lib32 \
|
--libdir=/usr/lib32 \
|
||||||
--libexecdir=/usr/lib32 \
|
--libexecdir=/usr/lib32 \
|
||||||
libc_cv_slibdir=/usr/lib32</userinput></screen>
|
--disable-werror \
|
||||||
|
--disable-nscd \
|
||||||
|
libc_cv_slibdir=/usr/lib32 \
|
||||||
|
--enable-stack-protector=strong \
|
||||||
|
--enable-kernel=&min-kernel;</userinput></screen>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
|
||||||
@ -686,7 +688,7 @@ readelf -l a.out | grep '/ld-linux'</userinput></screen>
|
|||||||
<!-- - - - - - - - - - -->
|
<!-- - - - - - - - - - -->
|
||||||
<!-- Multilib - x32bit -->
|
<!-- Multilib - x32bit -->
|
||||||
<!-- - - - - - - - - - -->
|
<!-- - - - - - - - - - -->
|
||||||
|
|
||||||
<sect2 arch="ml_x32,ml_all">
|
<sect2 arch="ml_x32,ml_all">
|
||||||
<title>Building Glibc - x32bit</title>
|
<title>Building Glibc - x32bit</title>
|
||||||
|
|
||||||
@ -696,7 +698,7 @@ readelf -l a.out | grep '/ld-linux'</userinput></screen>
|
|||||||
|
|
||||||
<para>Clear the build directory and remove artefacts from
|
<para>Clear the build directory and remove artefacts from
|
||||||
previous build:</para>
|
previous build:</para>
|
||||||
|
|
||||||
<screen><userinput remap="pre">rm -rf ./*
|
<screen><userinput remap="pre">rm -rf ./*
|
||||||
find .. -name "*.a" -delete</userinput></screen>
|
find .. -name "*.a" -delete</userinput></screen>
|
||||||
|
|
||||||
@ -707,11 +709,13 @@ find .. -name "*.a" -delete</userinput></screen>
|
|||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--host=x86_64-pc-linux-gnux32 \
|
--host=x86_64-pc-linux-gnux32 \
|
||||||
--build=$(../scripts/config.guess) \
|
--build=$(../scripts/config.guess) \
|
||||||
--enable-kernel=&min-kernel; \
|
|
||||||
--disable-nscd \
|
|
||||||
--libdir=/usr/libx32 \
|
--libdir=/usr/libx32 \
|
||||||
--libexecdir=/usr/libx32 \
|
--libexecdir=/usr/libx32 \
|
||||||
libc_cv_slibdir=/usr/libx32</userinput></screen>
|
--disable-werror \
|
||||||
|
--disable-nscd \
|
||||||
|
libc_cv_slibdir=/usr/libx32 \
|
||||||
|
--enable-stack-protector=strong \
|
||||||
|
--enable-kernel=&min-kernel;</userinput></screen>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user