mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Make sed for omit-frame-pointers the same in Chapters 5 and 6. i
Simplify zimesone configuration in glibc. Let the glibc Makefile install rpc headers. Update to linux-3.13.3. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10467 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
0fe6872190
commit
8b69ae4734
@ -35,6 +35,31 @@
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
-->
|
||||
<listitem>
|
||||
<para>2014-02-14</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Make sed for omit-frame-pointers the
|
||||
same in Chapters 5 and 6. Fixes
|
||||
<ulink url="&lfs-ticket-root;3497">#3497</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Simplify zimesone configuration in glibc.
|
||||
Thanks to Chris Staub for the patch. Fixes
|
||||
<ulink url="&lfs-ticket-root;3496">#3496</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Let the glibc Makefile install rpc headers.
|
||||
Thanks to Chris Staub for the patch. Fixes
|
||||
<ulink url="&lfs-ticket-root;3495">#3495</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to linux-3.13.3. Fixes
|
||||
<ulink url="&lfs-ticket-root;3493">#3493</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>2014-02-13</para>
|
||||
<itemizedlist>
|
||||
|
@ -64,9 +64,9 @@
|
||||
that is exactly the same as if it were bootstrapped. Apply the following
|
||||
<command>sed</command> command to force the build to use the flag:</para>
|
||||
|
||||
<screen><userinput remap="pre">cp -v gcc/Makefile.in{,.tmp}
|
||||
sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \
|
||||
> gcc/Makefile.in</userinput></screen>
|
||||
<screen><userinput remap="pre">case `uname -m` in
|
||||
i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
|
||||
esac</userinput></screen>
|
||||
|
||||
<para>Once again, change the location of GCC's default dynamic linker to
|
||||
use the one installed in <filename
|
||||
|
@ -73,11 +73,12 @@ cd ../glibc-build</userinput></screen>
|
||||
|
||||
<para>Prepare Glibc for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
|
||||
--prefix=/usr \
|
||||
--disable-profile \
|
||||
--enable-kernel=&min-kernel; \
|
||||
--libexecdir=/usr/lib/glibc</userinput></screen>
|
||||
<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
|
||||
--prefix=/usr \
|
||||
--disable-profile \
|
||||
--enable-kernel=&min-kernel; \
|
||||
--libexecdir=/usr/lib/glibc \
|
||||
--enable-obsolete-rpc</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the new configure options:</title>
|
||||
@ -91,6 +92,15 @@ cd ../glibc-build</userinput></screen>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--enable-obsolete-rpc</parameter></term>
|
||||
<listitem>
|
||||
<para>Installs NIS and RPC related headers that are not installed by
|
||||
default; these are required to rebuild Glibc and by several BLFS
|
||||
packages.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
@ -162,14 +172,6 @@ grep Error glibc-check-log</userinput></screen>
|
||||
|
||||
<screen><userinput remap="install">make install</userinput></screen>
|
||||
|
||||
<para>Install NIS and RPC related headers that are not installed by
|
||||
default; these are required to rebuild glibc and by several BLFS
|
||||
packages:</para>
|
||||
|
||||
<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc
|
||||
cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc
|
||||
cp -v ../glibc-&glibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen>
|
||||
|
||||
<para>The locales that can make the system respond in a different language
|
||||
were not installed by the above command. None of the locales are required,
|
||||
but if some of them are missing, test suites of the future packages would
|
||||
@ -336,28 +338,11 @@ unset ZONEINFO</userinput></screen>
|
||||
<para>Then create the <filename>/etc/localtime</filename> file by
|
||||
running:</para>
|
||||
|
||||
<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable><xxx></replaceable> \
|
||||
/etc/localtime</userinput></screen>
|
||||
<screen><userinput>cp -v /usr/share/zoneinfo/<replaceable><xxx></replaceable> /etc/localtime</userinput></screen>
|
||||
|
||||
<para>Replace <replaceable><xxx></replaceable> with the name of the
|
||||
time zone selected (e.g., Canada/Eastern).</para>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the cp option:</title>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--remove-destination</parameter></term>
|
||||
<listitem>
|
||||
<para>This is needed to force removal of the already existing symbolic
|
||||
link. The reason for copying the file instead of using a symlink is to
|
||||
cover the situation where <filename class="directory">/usr</filename>
|
||||
is on a separate partition. This could be important when booted into
|
||||
single user mode.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 id="conf-ld" role="configuration">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!ENTITY version "SVN-20140213">
|
||||
<!ENTITY releasedate "February 13, 2014">
|
||||
<!ENTITY version "SVN-20140214">
|
||||
<!ENTITY releasedate "February 14, 2014">
|
||||
<!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not – -->
|
||||
<!ENTITY milestone "7.5">
|
||||
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
|
||||
|
@ -339,12 +339,12 @@
|
||||
|
||||
<!ENTITY linux-major-version "3">
|
||||
<!ENTITY linux-minor-version "13">
|
||||
<!ENTITY linux-patch-version "2">
|
||||
<!ENTITY linux-patch-version "3">
|
||||
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
|
||||
<!-- <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> -->
|
||||
<!ENTITY linux-size "75,387 KB">
|
||||
<!ENTITY linux-size "75,393 KB">
|
||||
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
|
||||
<!ENTITY linux-md5 "83386986b4b58507a4f064aa46676f5e">
|
||||
<!ENTITY linux-md5 "ad98a0c623a124a25dab86406ddc7119">
|
||||
<!ENTITY linux-home "http://www.kernel.org/">
|
||||
<!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is
|
||||
allnoconfig extended for a hopefully-bootable build on desktop machine,
|
||||
|
Loading…
Reference in New Issue
Block a user