Changeset d785e9d for BOOK/final-system
- Timestamp:
- May 1, 2014, 1:06:01 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 37957f4
- Parents:
- 5cd8d92
- Location:
- BOOK/final-system
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version;</title>11 <title>Glibc-&glibc-version;</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>The G LIBCpackage contains the main C library. This library provides20 <para>The Glibc package contains the main C library. This library provides 21 21 the basic routines for allocating memory, searching directories, opening and 22 22 closing files, reading and writing files, string handling, pattern matching, … … 26 26 27 27 <sect2 role="installation"> 28 <title>Installation of G LIBC</title>28 <title>Installation of Glibc</title> 29 29 30 30 <note os="z"> … … 34 34 <quote>This library provides an <function>iconv()</function> 35 35 implementation, for use on systems which don't have one, or whose 36 implementation cannot convert from/to Unicode.</quote> G LIBCprovides36 implementation cannot convert from/to Unicode.</quote> Glibc provides 37 37 an <function>iconv()</function> implementation and can convert from/to 38 38 Unicode, therefore libiconv is not required on a CLFS system.</para> … … 58 58 unset LINKER</userinput></screen> 59 59 60 <para os="b">The G LIBCbuild system is self-contained and will install60 <para os="b">The Glibc build system is self-contained and will install 61 61 perfectly, even though the compiler specs file and linker are still 62 62 pointing at <filename class="directory">/tools</filename>. The specs 63 and linker cannot be adjusted before the G LIBCinstall because the64 G LIBCAutoconf tests would give false results and defeat the goal63 and linker cannot be adjusted before the Glibc install because the 64 Glibc Autoconf tests would give false results and defeat the goal 65 65 of achieving a clean build.</para> 66 66 … … 69 69 <screen os="s2"><userinput>sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen> 70 70 71 <para os="e">The G LIBC documentation recommends building GLIBCoutside of the source directory in a dedicated build directory:</para>71 <para os="e">The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory:</para> 72 72 73 73 <screen os="f"><userinput>mkdir -v ../glibc-build 74 74 cd ../glibc-build</userinput></screen> 75 75 76 <para os="g">Prepare G LIBCfor compilation:</para>76 <para os="g">Prepare Glibc for compilation:</para> 77 77 78 78 <screen os="h"><userinput>../glibc-&glibc-version;/configure --prefix=/usr \ … … 99 99 100 100 <important os="l"> 101 <para>The test suite for G LIBCis considered critical.101 <para>The test suite for Glibc is considered critical. 102 102 Do not skip it under any circumstance.</para> 103 103 </important> … … 111 111 make -k check 2>&1 | tee glibc-check-log; grep Error glibc-check-log</userinput></screen> 112 112 113 <para os="o">The G LIBCtest suite is highly dependent on certain functions of113 <para os="o">The Glibc test suite is highly dependent on certain functions of 114 114 the host system, in particular the kernel. The <emphasis>posix/annexc</emphasis> and 115 115 <emphasis>conform/run-conformtest</emphasis> tests normally fail 116 116 and you should see <literal>Error 1 (ignored)</literal> in the output. Apart 117 from this, the G LIBCtest suite is always expected to pass. However, in certain117 from this, the Glibc test suite is always expected to pass. However, in certain 118 118 circumstances, some failures are unavoidable. If a test fails because of a missing 119 119 program (or missing symbolic link), or a segfault, you will see an error code … … 158 158 </itemizedlist> 159 159 160 <para os="q">Though it is a harmless message, the install stage of G LIBCwill160 <para os="q">Though it is a harmless message, the install stage of Glibc will 161 161 complain about the absence of <filename>/etc/ld.so.conf</filename>. 162 162 Prevent this warning with:</para> … … 198 198 achieved by using the <command>localedef</command> command. Information on 199 199 this command is located in the <filename>INSTALL</filename> file in the 200 G LIBCsource. However, there are a number of locales that are essential in200 Glibc source. However, there are a number of locales that are essential in 201 201 order for the tests of future packages to pass, in particular, the 202 202 <emphasis>libstdc++</emphasis> tests from GCC. The following instructions, … … 237 237 238 238 <sect2 id="conf-glibc" role="configuration"> 239 <title>Configuring G LIBC</title>239 <title>Configuring Glibc</title> 240 240 241 241 <indexterm zone="conf-glibc"> … … 248 248 249 249 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created 250 because, although G LIBCprovides defaults when this file is missing or251 corrupt, the G LIBCdefaults do not work well in a networked environment.250 because, although Glibc provides defaults when this file is missing or 251 corrupt, the Glibc defaults do not work well in a networked environment. 252 252 The time zone also needs to be configured.</para> 253 253 … … 383 383 384 384 <sect2 id="contents-glibc" role="content"> 385 <title>Contents of G LIBC</title>385 <title>Contents of Glibc</title> 386 386 387 387 <segmentedlist> … … 723 723 <term><filename class="libraryfile">libcidn</filename></term> 724 724 <listitem> 725 <para>Used internally by G LIBCfor handling internationalized domain725 <para>Used internally by Glibc for handling internationalized domain 726 726 names in the <function>getaddrinfo()</function> function</para> 727 727 <indexterm zone="ch-system-glibc libcidn"> … … 795 795 <term><filename class="libraryfile">libmemusage</filename></term> 796 796 <listitem> 797 <para>Used by <command>memusage</command> (included in G LIBC, but797 <para>Used by <command>memusage</command> (included in Glibc, but 798 798 not built in a base CLFS system as it has additional dependencies) 799 799 to help collect information about the memory usage of a program</para> -
BOOK/final-system/mips64-64/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version;</title>11 <title>Glibc-&glibc-version;</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 70 70 xpointer="xpointer(//*[@os='l6'])"/> 71 71 72 <para>Now we will force G LIBCto build as 64-bit instead of the default72 <para>Now we will force Glibc to build as 64-bit instead of the default 73 73 n32 with the following sed:</para> 74 74 -
BOOK/final-system/mips64/glibc-64bit.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc-64bit.html"?> 10 10 11 <title>G LIBC-&glibc-version; 64-Bit</title>11 <title>Glibc-&glibc-version; 64-Bit</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/mips64/glibc-n32.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc-n32.html"?> 10 10 11 <title>G LIBC-&glibc-version; N32</title>11 <title>Glibc-&glibc-version; N32</title> 12 12 13 13 <indexterm zone="ch-system-glibc-n32"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 59 59 xpointer="xpointer(//*[@os='f'])"/> 60 60 61 <para os="m1">Tell G LIBCto install its 32-bit libraries into61 <para os="m1">Tell Glibc to install its 32-bit libraries into 62 62 <filename class="directory">/lib32</filename>:</para> 63 63 -
BOOK/final-system/multilib/glibc-64bit.xml
r5cd8d92 rd785e9d 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 59 59 xpointer="xpointer(//*[@os='f'])"/> 60 60 61 <para os="m1">Tell G LIBCto install its 64-bit libraries into61 <para os="m1">Tell Glibc to install its 64-bit libraries into 62 62 <filename class="directory">/lib64</filename>:</para> 63 63 -
BOOK/final-system/multilib/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version; 32 Bit Libraries</title>11 <title>Glibc-&glibc-version; 32 Bit Libraries</title> 12 12 13 13 <indexterm zone="ch-system-glibc-32"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 <secondary>32 Bit</secondary> 16 16 </indexterm> … … 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of G LIBC</title>23 <title>Installation of Glibc</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 91 91 <para os="l1b">In multilib, we tend to think that compiling for 92 92 <literal>${CLFS_TARGET32}</literal> is <emphasis>not</emphasis> 93 cross-compiling. G LIBCtakes the traditional view that if you are building93 cross-compiling. Glibc takes the traditional view that if you are building 94 94 for a different host then you are cross-compiling, so you won't be running 95 95 the tests and therefore you don't need the locale files. When we run -
BOOK/final-system/ppc/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version;</title>11 <title>Glibc-&glibc-version;</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/ppc64-64/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version;</title>11 <title>Glibc-&glibc-version;</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/ppc64/glibc-64bit.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc-64bit.html"?> 10 10 11 <title>G LIBC-&glibc-version; 64-Bit</title>11 <title>Glibc-&glibc-version; 64-Bit</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 58 58 xpointer="xpointer(//*[@os='f'])"/> 59 59 60 <para os="m1">Tell G LIBCto install its 64-bit libraries into60 <para os="m1">Tell Glibc to install its 64-bit libraries into 61 61 <filename class="directory">/lib64</filename>:</para> 62 62 -
BOOK/final-system/ppc64/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version; 32 Bit Libraries</title>11 <title>Glibc-&glibc-version; 32 Bit Libraries</title> 12 12 13 13 <indexterm zone="ch-system-glibc-32"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 <secondary>32 Bit</secondary> 16 16 </indexterm> … … 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of G LIBC</title>23 <title>Installation of Glibc</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/sparc64-64/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version;</title>11 <title>Glibc-&glibc-version;</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/sparc64/glibc-64bit.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc-64bit.html"?> 10 10 11 <title>G LIBC-&glibc-version; 64-Bit</title>11 <title>Glibc-&glibc-version; 64-Bit</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/x86/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version;</title>11 <title>Glibc-&glibc-version;</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/x86/grub.xml
r5cd8d92 rd785e9d 39 39 </note> 40 40 41 <para os="s1">G LIBC-&glibc-version; does not declare gets():</para>41 <para os="s1">Glibc-&glibc-version; does not declare gets():</para> 42 42 43 43 <screen os="s2"><userinput>sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h</userinput></screen> -
BOOK/final-system/x86_64-64/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version;</title>11 <title>Glibc-&glibc-version;</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of G LIBC</title>22 <title>Installation of Glibc</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 62 62 xpointer="xpointer(//*[@os='f'])"/> 63 63 64 <para os="l5">Tell G LIBCto install its libraries into64 <para os="l5">Tell Glibc to install its libraries into 65 65 <filename class="directory">/lib</filename>:</para> 66 66 -
BOOK/final-system/x86_64/glibc-64bit.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc-64bit.html"?> 10 10 11 <title>G LIBC-&glibc-version; 64-Bit</title>11 <title>Glibc-&glibc-version; 64-Bit</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16
Note:
See TracChangeset
for help on using the changeset viewer.