Changeset c48c555 for final-system
- Timestamp:
- Feb 21, 2006, 1:19:09 AM (19 years ago)
- Children:
- 9a8439f
- Parents:
- 597e850
- Location:
- final-system
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified final-system/mips64/glibc-64bit.xml ¶
r597e850 rc48c555 50 50 xpointer="xpointer(//*[@os='f'])"/> 51 51 52 <para>Now we make sure the Glibc goes into 53 <filename class="directory">/lib64</filename>:</para> 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../multilib/glibc-64bit.xml" 54 xpointer="xpointer(//*[@os='m1'])"/> 54 55 55 <screen><userinput>echo "slibdir=/lib64" >> configparms</userinput></screen> 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../multilib/glibc-64bit.xml" 58 xpointer="xpointer(//*[@os='m2'])"/> 56 59 57 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 59 62 xpointer="xpointer(//*[@os='g'])"/> 60 63 61 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 62 ../glibc-&glibc-version;/configure --prefix=/usr \ 63 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ 64 --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen> 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../multilib/glibc-64bit.xml" 66 xpointer="xpointer(//*[@os='h'])"/> 65 67 66 <variablelist> 67 <title>The meaning of the new configure option:</title> 68 69 <varlistentry> 70 <term><parameter>--libexecdir=/usr/lib64/glibc</parameter></term> 71 <listitem> 72 <para>This changes the location of the <command>pt_chown</command> 73 program from its default of <filename 74 class="directory">/usr/libexec</filename> to <filename 75 class="directory">/usr/lib64/glibc</filename>.</para> 76 </listitem> 77 </varlistentry> 78 </variablelist> 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../multilib/glibc-64bit.xml" 70 xpointer="xpointer(//*[@os='i'])"/> 79 71 80 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 94 86 xpointer="xpointer(//*[@os='m'])"/> 95 87 96 <!-- items n,o,p here are now the master, not multilib, because 97 the tests are known to all pass on multilib_64 --> 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../multilib/glibc-64bit.xml" 90 xpointer="xpointer(//*[@os='n'])"/> 98 91 99 <screen os="n"><userinput>make check</userinput></screen> 92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 93 href="../multilib/glibc-64bit.xml" 94 xpointer="xpointer(//*[@os='o'])"/> 100 95 101 <para os="o">The Glibc test suite is highly dependent on certain functions of 102 the host system, in particular the kernel. In general, the Glibc test 103 suite is always expected to pass. However, in certain circumstances, 104 some failures are unavoidable. This is a list of the most common 105 issues:</para> 106 107 <itemizedlist os="p"> 108 <listitem> 109 <para>The <emphasis>math</emphasis> tests sometimes fail. 110 Certain optimization settings are known to be a 111 factor here.</para> 112 </listitem> 113 <listitem> 114 <para>The <emphasis>gettext</emphasis> test sometimes fails due to 115 host system issues. The exact reasons are not yet clear.</para> 116 </listitem> 117 <listitem> 118 <para>If you have mounted the LFS partition with the 119 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test 120 will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>, 121 do not use the <parameter>noatime</parameter> option while building 122 LFS.</para> 123 </listitem> 124 <listitem> 125 <para>When running on older and slower hardware, some tests 126 can fail because of test timeouts being exceeded.</para> 127 </listitem> 128 </itemizedlist> 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 97 href="../multilib/glibc-64bit.xml" 98 xpointer="xpointer(//*[@os='p'])"/> 129 99 130 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
TabularUnified final-system/mips64/glibc-n32.xml ¶
r597e850 rc48c555 50 50 xpointer="xpointer(//*[@os='f'])"/> 51 51 52 <para >Now we make sure the Glibc goes into52 <para os="m1">Now we make sure the Glibc goes into 53 53 <filename class="directory">/lib32</filename>:</para> 54 54 55 <screen ><userinput>echo "slibdir=/lib32" >> configparms</userinput></screen>55 <screen os="m2"><userinput>echo "slibdir=/lib32" >> configparms</userinput></screen> 56 56 57 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 59 59 xpointer="xpointer(//*[@os='g'])"/> 60 60 61 <screen ><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \61 <screen os="h"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ 62 62 ../glibc-&glibc-version;/configure --prefix=/usr \ 63 63 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ 64 64 --libexecdir=/usr/lib32/glibc --libdir=/usr/lib32</userinput></screen> 65 65 66 <variablelist >66 <variablelist os="i"> 67 67 <title>The meaning of the new configure option:</title> 68 68 … … 94 94 xpointer="xpointer(//*[@os='m'])"/> 95 95 96 <!-- items n,o,p here are now the master, not multilib, because 97 the tests are known to all pass on multilib_64 --> 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 97 href="../multilib/glibc-64bit.xml" 98 xpointer="xpointer(//*[@os='n'])"/> 98 99 99 <screen os="n"><userinput>make check</userinput></screen> 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 101 href="../multilib/glibc-64bit.xml" 102 xpointer="xpointer(//*[@os='o'])"/> 100 103 101 <para os="o">The Glibc test suite is highly dependent on certain functions of 102 the host system, in particular the kernel. In general, the Glibc test 103 suite is always expected to pass. However, in certain circumstances, 104 some failures are unavoidable. This is a list of the most common 105 issues:</para> 106 107 <itemizedlist os="p"> 108 <listitem> 109 <para>The <emphasis>math</emphasis> tests sometimes fail. 110 Certain optimization settings are known to be a 111 factor here.</para> 112 </listitem> 113 <listitem> 114 <para>The <emphasis>gettext</emphasis> test sometimes fails due to 115 host system issues. The exact reasons are not yet clear.</para> 116 </listitem> 117 <listitem> 118 <para>If you have mounted the LFS partition with the 119 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test 120 will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>, 121 do not use the <parameter>noatime</parameter> option while building 122 LFS.</para> 123 </listitem> 124 <listitem> 125 <para>When running on older and slower hardware, some tests 126 can fail because of test timeouts being exceeded.</para> 127 </listitem> 128 </itemizedlist> 104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 105 href="../multilib/glibc-64bit.xml" 106 xpointer="xpointer(//*[@os='o'])"/> 129 107 130 108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
TabularUnified final-system/mips64/glibc.xml ¶
r597e850 rc48c555 59 59 xpointer="xpointer(//*[@os='g'])"/> 60 60 61 <screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 62 ../glibc-&glibc-version;/configure --prefix=/usr \ 63 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ 64 --libexecdir=/usr/lib/glibc --host=${LFS_TARGET32}</userinput></screen> 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 62 href="../multilib/glibc.xml" 63 xpointer="xpointer(//*[@os='h'])"/> 65 64 66 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
TabularUnified final-system/multilib/glibc-64bit.xml ¶
r597e850 rc48c555 42 42 xpointer="xpointer(//*[@os='f'])"/> 43 43 44 <para >Now we make sure the Glibc goes into44 <para os="m1">Now we make sure the Glibc goes into 45 45 <filename class="directory">/lib64</filename>:</para> 46 46 47 <screen ><userinput>echo "slibdir=/lib64" >> configparms</userinput></screen>47 <screen os="m2"><userinput>echo "slibdir=/lib64" >> configparms</userinput></screen> 48 48 49 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 51 51 xpointer="xpointer(//*[@os='g'])"/> 52 52 53 <screen ><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \53 <screen os="h"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 54 54 ../glibc-&glibc-version;/configure --prefix=/usr \ 55 55 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ 56 56 --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen> 57 57 58 <variablelist >58 <variablelist os="i"> 59 59 <title>The meaning of the new configure option:</title> 60 60 -
TabularUnified final-system/multilib/glibc.xml ¶
r597e850 rc48c555 51 51 xpointer="xpointer(//*[@os='g'])"/> 52 52 53 <screen ><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \53 <screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 54 54 ../glibc-&glibc-version;/configure --prefix=/usr \ 55 55 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ -
TabularUnified final-system/sparc64/glibc-64bit.xml ¶
r597e850 rc48c555 50 50 xpointer="xpointer(//*[@os='f'])"/> 51 51 52 <para>Now we make sure the Glibc goes into 53 <filename class="directory">/lib64</filename>:</para> 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../multilib/glibc-64bit.xml" 54 xpointer="xpointer(//*[@os='m1'])"/> 54 55 55 <screen><userinput>echo "slibdir=/lib64" >> configparms</userinput></screen> 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../multilib/glibc-64bit.xml" 58 xpointer="xpointer(//*[@os='m2'])"/> 56 59 57 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 59 62 xpointer="xpointer(//*[@os='g'])"/> 60 63 61 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 62 ../glibc-&glibc-version;/configure --prefix=/usr \ 63 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ 64 --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen> 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../multilib/glibc-64bit.xml" 66 xpointer="xpointer(//*[@os='h'])"/> 65 67 66 <variablelist> 67 <title>The meaning of the new configure option:</title> 68 69 <varlistentry> 70 <term><parameter>--libexecdir=/usr/lib64/glibc</parameter></term> 71 <listitem> 72 <para>This changes the location of the <command>pt_chown</command> 73 program from its default of <filename 74 class="directory">/usr/libexec</filename> to <filename 75 class="directory">/usr/lib64/glibc</filename>.</para> 76 </listitem> 77 </varlistentry> 78 </variablelist> 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../multilib/glibc-64bit.xml" 70 xpointer="xpointer(//*[@os='i'])"/> 79 71 80 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 94 86 xpointer="xpointer(//*[@os='m'])"/> 95 87 96 <!-- items n,o,p here are now the master, not multilib, because 97 the tests are known to all pass on multilib_64 --> 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../multilib/glibc-64bit.xml" 90 xpointer="xpointer(//*[@os='n'])"/> 98 91 99 <screen os="n"><userinput>make check</userinput></screen> 92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 93 href="../multilib/glibc-64bit.xml" 94 xpointer="xpointer(//*[@os='o'])"/> 100 95 101 <para os="o">The Glibc test suite is highly dependent on certain functions of 102 the host system, in particular the kernel. In general, the Glibc test 103 suite is always expected to pass. However, in certain circumstances, 104 some failures are unavoidable. This is a list of the most common 105 issues:</para> 106 107 <itemizedlist os="p"> 108 <listitem> 109 <para>The <emphasis>math</emphasis> tests sometimes fail. 110 Certain optimization settings are known to be a 111 factor here.</para> 112 </listitem> 113 <listitem> 114 <para>The <emphasis>gettext</emphasis> test sometimes fails due to 115 host system issues. The exact reasons are not yet clear.</para> 116 </listitem> 117 <listitem> 118 <para>If you have mounted the LFS partition with the 119 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test 120 will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>, 121 do not use the <parameter>noatime</parameter> option while building 122 LFS.</para> 123 </listitem> 124 <listitem> 125 <para>When running on older and slower hardware, some tests 126 can fail because of test timeouts being exceeded.</para> 127 </listitem> 128 </itemizedlist> 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 97 href="../multilib/glibc-64bit.xml" 98 xpointer="xpointer(//*[@os='p'])"/> 129 99 130 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 146 116 xpointer="xpointer(id('conf-glibc'))"/> 147 117 148 <sect2 id="conf-ld" role="configuration"> 149 <title>Configuring Dynamic Loader</title> 150 151 <indexterm zone="conf-ld"> 152 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary> 153 </indexterm> 154 155 <para>By default, the dynamic loader (<filename 156 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through 157 <filename class="directory">/lib</filename> and <filename 158 class="directory">/usr/lib</filename> for dynamic libraries that are 159 needed by programs as they are run. However, if there are libraries in 160 directories other than <filename class="directory">/lib</filename> and 161 <filename class="directory">/usr/lib</filename>, these need to be 162 added to the <filename>/etc/ld.so.conf</filename> file in order 163 for the dynamic loader to find them. Some directories that are commonly 164 known to contain additional libraries are 165 <filename class="directory">/usr/local/lib</filename>, 166 <filename class="directory">/usr/local/lib32</filename>, 167 <filename class="directory">/usr/local/lib64</filename>, 168 <filename class="directory">/opt/lib</filename>, 169 <filename class="directory">/opt/lib32</filename>, 170 and <filename class="directory">/opt/lib64</filename>, 171 so add those directories to the dynamic loader's search path.</para> 172 173 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the 174 following:</para> 175 176 <screen><userinput>cat > /etc/ld.so.conf << "EOF" 177 <literal># Begin /etc/ld.so.conf 178 179 /usr/local/lib 180 /usr/local/lib32 181 /usr/local/lib64 182 /opt/lib 183 /opt/lib32 184 /opt/lib64 185 186 # End /etc/ld.so.conf</literal> 187 EOF</userinput></screen> 188 189 </sect2> 118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 119 href="../multilib/glibc-64bit.xml" 120 xpointer="xpointer(id('conf-ld'))"/> 190 121 191 122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
TabularUnified final-system/sparc64/glibc.xml ¶
r597e850 rc48c555 59 59 xpointer="xpointer(//*[@os='g'])"/> 60 60 61 <screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 62 ../glibc-&glibc-version;/configure --prefix=/usr \ 63 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ 64 --libexecdir=/usr/lib/glibc --host=${LFS_TARGET32}</userinput></screen> 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 62 href="../multilib/glibc.xml" 63 xpointer="xpointer(//*[@os='h'])"/> 65 64 66 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../ common/glibc.xml"66 href="../multilib/glibc.xml" 68 67 xpointer="xpointer(//*[@os='i'])"/> 69 68
Note:
See TracChangeset
for help on using the changeset viewer.