mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Merge
This commit is contained in:
parent
2606939372
commit
d4b521822c
@ -83,8 +83,7 @@ cd build</userinput></screen>
|
||||
--build=$(../scripts/config.guess) \
|
||||
--enable-kernel=&min-kernel; \
|
||||
--with-headers=$LFS/usr/include \
|
||||
libc_cv_slibdir=/usr/lib \
|
||||
libc_cv_rtlddir=/usr/lib</userinput></screen>
|
||||
libc_cv_slibdir=/usr/lib</userinput></screen>
|
||||
<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../configure \
|
||||
--prefix=/usr \
|
||||
--host=$LFS_TGT \
|
||||
@ -92,8 +91,7 @@ cd build</userinput></screen>
|
||||
--enable-kernel=&min-kernel; \
|
||||
--with-headers=$LFS/usr/include \
|
||||
--enable-multi-arch \
|
||||
libc_cv_slibdir=/usr/lib \
|
||||
libc_cv_rtlddir=/usr/lib</userinput></screen>
|
||||
libc_cv_slibdir=/usr/lib</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the configure options:</title>
|
||||
@ -206,31 +204,6 @@ cd build</userinput></screen>
|
||||
|
||||
</variablelist>
|
||||
|
||||
<!--
|
||||
The /usr which gets removed from the RTLDLIST by the sed
|
||||
below is set by the libc_cv_rtlddir=/usr/lib above. When
|
||||
changing the libc_cv_rtlddir to /lib, the content of the
|
||||
ldd script does not need to be patched, but some other
|
||||
symlinks created by glibc itself will be not that correct
|
||||
and needs to be fixed by other symlinks.
|
||||
|
||||
First setting /usr and than removing /usr seems strange,
|
||||
but it looks like that libc_cv_rtlddir has more effect than
|
||||
only the pathes in ldd (it has influence on which symlinks
|
||||
to the loader are created where) and makes the handling
|
||||
in a multilib environment much easier.
|
||||
To me, it feels better to go the way with adding/removing
|
||||
/usr than to introduce a symlink hell.
|
||||
|
||||
Another option to get ldd working properly is to set a
|
||||
symlink as "ln -svf lib /usr/lib64" but it has been reported
|
||||
that we used that already years ago but dropped it since
|
||||
libtool will complain sometimes with "library has been moved"
|
||||
warnings.
|
||||
Don't know if this is still the case - if not, this one
|
||||
symlink seems to be the cleanest way and the sed on ldd will
|
||||
be obsolete.
|
||||
-->
|
||||
<para>Fix hardcoded path to the executable loader in
|
||||
<command>ldd</command> script:</para>
|
||||
|
||||
@ -307,8 +280,7 @@ CXX="$LFS_TGT-g++ -m32" \
|
||||
--enable-multi-arch \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/lib32 \
|
||||
libc_cv_slibdir=/usr/lib32 \
|
||||
libc_cv_rtlddir=/usr/lib32</userinput></screen>
|
||||
libc_cv_slibdir=/usr/lib32</userinput></screen>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
||||
@ -380,8 +352,7 @@ CXX="$LFS_TGT-g++ -mx32" \
|
||||
--enable-multi-arch \
|
||||
--libdir=/usr/libx32 \
|
||||
--libexecdir=/usr/libx32 \
|
||||
libc_cv_slibdir=/usr/libx32 \
|
||||
libc_cv_rtlddir=/usr/libx32</userinput></screen>
|
||||
libc_cv_slibdir=/usr/libx32</userinput></screen>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
||||
|
@ -72,16 +72,14 @@ cd build</userinput></screen>
|
||||
--enable-kernel=&min-kernel; \
|
||||
--enable-stack-protector=strong \
|
||||
--with-headers=/usr/include \
|
||||
libc_cv_slibdir=/usr/lib \
|
||||
libc_cv_rtlddir=/usr/lib</userinput></screen>
|
||||
libc_cv_slibdir=/usr/lib</userinput></screen>
|
||||
<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../configure --prefix=/usr \
|
||||
--disable-werror \
|
||||
--enable-kernel=&min-kernel; \
|
||||
--enable-stack-protector=strong \
|
||||
--with-headers=/usr/include \
|
||||
--enable-multi-arch \
|
||||
libc_cv_slibdir=/usr/lib \
|
||||
libc_cv_rtlddir=/usr/lib</userinput></screen>
|
||||
libc_cv_slibdir=/usr/lib</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the configure options:</title>
|
||||
@ -518,8 +516,7 @@ find .. -name "*.a" -delete</userinput></screen>
|
||||
--enable-multi-arch \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/lib32 \
|
||||
libc_cv_slibdir=/usr/lib32 \
|
||||
libc_cv_rtlddir=/usr/lib32</userinput></screen>
|
||||
libc_cv_slibdir=/usr/lib32</userinput></screen>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
||||
@ -595,8 +592,7 @@ find .. -name "*.a" -delete</userinput></screen>
|
||||
--enable-multi-arch \
|
||||
--libdir=/usr/libx32 \
|
||||
--libexecdir=/usr/libx32 \
|
||||
libc_cv_slibdir=/usr/libx32 \
|
||||
libc_cv_rtlddir=/usr/libx32</userinput></screen>
|
||||
libc_cv_slibdir=/usr/libx32</userinput></screen>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
||||
|
@ -38,7 +38,7 @@ umask 002 

</xsl:text>
|
||||
<xsl:text>
chgrp lfswww *.patch &&
</xsl:text>
|
||||
<xsl:text>
|
||||
if [ `wc -l copyerrs | sed 's/ *//' | cut -f1 -d' '` -gt 0 ]; then
|
||||
mail -s "Missing LFS patches" lfs-book@linuxfromscratch.org < copyerrs
|
||||
mail -s "Missing LFS patches" lfs-book@lists.linuxfromscratch.org < copyerrs
|
||||
fi

</xsl:text>
|
||||
|
||||
<xsl:text>exit
</xsl:text>
|
||||
|
Loading…
Reference in New Issue
Block a user