Changeset c48c555
- Timestamp:
- Feb 21, 2006, 1:19:09 AM (19 years ago)
- Children:
- 9a8439f
- Parents:
- 597e850
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
cross-tools/64/glibc.xml
r597e850 rc48c555 63 63 xpointer="xpointer(//*[@os='g'])"/> 64 64 65 <screen ><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \65 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \ 66 66 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 67 67 ../glibc-&glibc-version;/configure --prefix=/tools \ … … 72 72 --cache-file=config.cache</userinput></screen> 73 73 74 <variablelist >74 <variablelist os="dg"> 75 75 <title>The meaning of the new configure options:</title> 76 76 77 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 78 78 href="../common/glibc.xml" 79 xpointer="xpointer(//*[@os='d i1'])"/>79 xpointer="xpointer(//*[@os='dg1'])"/> 80 80 81 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='d i3'])"/>87 xpointer="xpointer(//*[@os='dg3'])"/> 88 88 89 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 90 href="../common/glibc.xml" 91 xpointer="xpointer(//*[@os='d i4'])"/>91 xpointer="xpointer(//*[@os='dg4'])"/> 92 92 93 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 94 href="../common/glibc.xml" 95 xpointer="xpointer(//*[@os='d i5'])"/>95 xpointer="xpointer(//*[@os='dg5'])"/> 96 96 97 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 98 href="../common/glibc.xml" 99 xpointer="xpointer(//*[@os='d i6'])"/>99 xpointer="xpointer(//*[@os='dg6'])"/> 100 100 101 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 102 href="../common/glibc.xml" 103 xpointer="xpointer(//*[@os='d i7'])"/>103 xpointer="xpointer(//*[@os='dg7'])"/> 104 104 105 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 106 href="../common/glibc.xml" 107 xpointer="xpointer(//*[@os='d i8'])"/>107 xpointer="xpointer(//*[@os='dg8'])"/> 108 108 109 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 110 href="../common/glibc.xml" 111 xpointer="xpointer(//*[@os='d i9'])"/>111 xpointer="xpointer(//*[@os='dg9'])"/> 112 112 113 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 114 114 href="../common/glibc.xml" 115 xpointer="xpointer(//*[@os='d i10'])"/>115 xpointer="xpointer(//*[@os='dg10'])"/> 116 116 117 117 </variablelist> … … 119 119 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 120 120 href="../common/glibc.xml" 121 xpointer="xpointer(//*[@os='d f'])"/>121 xpointer="xpointer(//*[@os='dh'])"/> 122 122 123 123 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 124 124 href="../common/glibc.xml" 125 xpointer="xpointer(//*[@os='dg'])"/> 126 127 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 128 href="../common/glibc.xml" 129 xpointer="xpointer(//*[@os='dh'])"/> 125 xpointer="xpointer(//*[@os='di'])"/> 130 126 131 127 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 145 141 xpointer="xpointer(//*[@os='dm'])"/> 146 142 143 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 144 href="../common/glibc.xml" 145 xpointer="xpointer(//*[@os='dn'])"/> 146 147 147 </sect2> 148 148 -
cross-tools/common/glibc.xml
r597e850 rc48c555 58 58 xpointer="xpointer(//*[@os='g'])"/> 59 59 60 <screen ><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \60 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \ 61 61 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 62 62 ../glibc-&glibc-version;/configure --prefix=/tools \ … … 67 67 --cache-file=config.cache</userinput></screen> 68 68 69 <variablelist os="d i">69 <variablelist os="dg"> 70 70 <title>The meaning of the new configure options:</title> 71 71 72 <varlistentry os="d i1">72 <varlistentry os="dg1"> 73 73 <term><parameter>BUILD_CC="gcc"</parameter></term> 74 74 <listitem> 75 <para>This do ...</para> 75 <para>This sets GLIBC to use the current compiler on our system. This is 76 used to create the tools GLIBC uses durings it's build.</para> 76 77 </listitem> 77 78 </varlistentry> 78 79 79 <varlistentry os="d i2">80 <varlistentry os="dg2"> 80 81 <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term> 81 82 <listitem> 82 <para>This do ...</para> 83 <para>This forces GLIBC to use the GCC complier that we made for our target 84 architecture.</para> 83 85 </listitem> 84 86 </varlistentry> 85 87 86 <varlistentry os="d i3">88 <varlistentry os="dg3"> 87 89 <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term> 88 90 <listitem> 89 <para>This do ...</para> 91 <para>This forces GLIBC to use the AR utilitythat we made for our target 92 architecture.</para> 90 93 </listitem> 91 94 </varlistentry> 92 95 93 <varlistentry os="d i4">96 <varlistentry os="dg4"> 94 97 <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term> 95 98 <listitem> 96 <para>This do ...</para> 99 <para>This forces GLIBC to use the RANLIB utility we made for our target 100 architecture.</para> 97 101 </listitem> 98 102 </varlistentry> 99 103 100 <varlistentry os="d i5">104 <varlistentry os="dg5"> 101 105 <term><parameter>--disable-profile</parameter></term> 102 106 <listitem> 103 <para>This do ...</para> 107 <para>This builds the libraries without profiling information. 108 Omit this option if profiling on the temporary tools is necessary.</para> 104 109 </listitem> 105 110 </varlistentry> 106 111 107 <varlistentry os="d i6">112 <varlistentry os="dg6"> 108 113 <term><parameter>--enable-add-ons</parameter></term> 109 114 <listitem> 110 <para>This do ...</para>115 <para>This tells GLIBC to utilize all add-on's that are avaialble.</para> 111 116 </listitem> 112 117 </varlistentry> 113 118 114 <varlistentry os="d i7">119 <varlistentry os="dg7"> 115 120 <term><parameter>--with-tls</parameter></term> 116 121 <listitem> 117 <para>This do ...</para>122 <para>This tells GLIBC to use Thread Local Storage.</para> 118 123 </listitem> 119 124 </varlistentry> 120 125 121 <varlistentry os="d i8">126 <varlistentry os="dg8"> 122 127 <term><parameter>--with-__thread</parameter></term> 123 128 <listitem> 124 <para>This do ...</para> 129 <para>This tells GLIBC to use use the __thread for libc and 130 libpthread builds.</para> 125 131 </listitem> 126 132 </varlistentry> 127 133 128 <varlistentry os="d i9">134 <varlistentry os="dg9"> 129 135 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 130 136 <listitem> 131 <para>This do ...</para> 137 <para>This tells GLIBC to use the Binutils that are specific to 138 our target architecture.</para> 132 139 </listitem> 133 140 </varlistentry> 134 141 135 <varlistentry os="d i10">142 <varlistentry os="dg10"> 136 143 <term><parameter>--cache-file=config.cache</parameter></term> 137 144 <listitem> 138 <para>This do ...</para>145 <para>This tells GLIBC to utilize a premade cache file.</para> 139 146 </listitem> 140 147 </varlistentry> … … 142 149 </variablelist> 143 150 144 <para os="d f">During this stage the following warning might appear:</para>151 <para os="dh">During this stage the following warning might appear:</para> 145 152 146 <blockquote os="d g"><screen><computeroutput>configure: WARNING:153 <blockquote os="di"><screen><computeroutput>configure: WARNING: 147 154 *** These auxiliary programs are missing or 148 155 *** incompatible versions: msgfmt … … 150 157 *** Check the INSTALL file for required versions.</computeroutput></screen></blockquote> 151 158 152 <para os="d h">The missing or incompatible <command>msgfmt</command> program is159 <para os="dj">The missing or incompatible <command>msgfmt</command> program is 153 160 generally harmless. This <command>msgfmt</command> program is part of the 154 161 Gettext package which the host distribution should provide.</para> 155 162 156 <para os="d j">Compile the package:</para>163 <para os="dk">Compile the package:</para> 157 164 158 <screen os="d k"><userinput>make</userinput></screen>165 <screen os="dl"><userinput>make</userinput></screen> 159 166 160 <para os="d l">Install the package:</para>167 <para os="dm">Install the package:</para> 161 168 162 <screen os="d m"><userinput>make install</userinput></screen>169 <screen os="dn"><userinput>make install</userinput></screen> 163 170 164 171 </sect2> -
cross-tools/mips/glibc.xml
r597e850 rc48c555 59 59 xpointer="xpointer(//*[@os='f'])"/> 60 60 61 <para os="dd"> For NPTL enabled systems we will need to add the following lines to 62 <filename>config.cache</filename>:</para> 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 62 href="../common/glibc.xml" 63 xpointer="xpointer(//*[@os='dd'])"/> 63 64 64 <screen os="de"><userinput>echo "libc_cv_forced_unwind=yes" > config.cache 65 echo "libc_cv_c_cleanup=yes" >> config.cache</userinput></screen> 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../common/glibc.xml" 67 xpointer="xpointer(//*[@os='de'])"/> 66 68 67 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 69 71 xpointer="xpointer(//*[@os='g'])"/> 70 72 71 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \ 72 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 73 ../glibc-&glibc-version;/configure --prefix=/tools \ 74 --host=${LFS_TARGET} --build=${LFS_HOST} \ 75 --disable-profile --enable-add-ons \ 76 --with-tls --enable-kernel=2.6.0 --with-__thread \ 77 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 78 --cache-file=config.cache</userinput></screen> 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../common/glibc.xml" 75 xpointer="xpointer(//*[@os='df'])"/> 79 76 80 <variablelist os="di"> 81 <title>The meaning of the new configure options:</title> 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 78 href="../common/glibc.xml" 79 xpointer="xpointer(//*[@os='dg'])"/> 82 80 83 <varlistentry os="di1"> 84 <term><parameter>BUILD_CC="gcc"</parameter></term> 85 <listitem> 86 <para>This do ...</para> 87 </listitem> 88 </varlistentry> 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../common/glibc.xml" 83 xpointer="xpointer(//*[@os='dh'])"/> 89 84 90 <varlistentry os="di2"> 91 <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term> 92 <listitem> 93 <para>This do ...</para> 94 </listitem> 95 </varlistentry> 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='di'])"/> 96 88 97 <varlistentry os="di3"> 98 <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term> 99 <listitem> 100 <para>This do ...</para> 101 </listitem> 102 </varlistentry> 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="../common/glibc.xml" 91 xpointer="xpointer(//*[@os='dj'])"/> 103 92 104 <varlistentry os="di4"> 105 <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term> 106 <listitem> 107 <para>This do ...</para> 108 </listitem> 109 </varlistentry> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../common/glibc.xml" 95 xpointer="xpointer(//*[@os='dk'])"/> 110 96 111 <varlistentry os="di5"> 112 <term><parameter>--disable-profile</parameter></term> 113 <listitem> 114 <para>This do ...</para> 115 </listitem> 116 </varlistentry> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../common/glibc.xml" 99 xpointer="xpointer(//*[@os='dl'])"/> 117 100 118 <varlistentry os="di6"> 119 <term><parameter>--enable-add-ons</parameter></term> 120 <listitem> 121 <para>This do ...</para> 122 </listitem> 123 </varlistentry> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../common/glibc.xml" 103 xpointer="xpointer(//*[@os='dm'])"/> 124 104 125 <varlistentry os="di7"> 126 <term><parameter>--with-tls</parameter></term> 127 <listitem> 128 <para>This do ...</para> 129 </listitem> 130 </varlistentry> 131 132 <varlistentry os="di8"> 133 <term><parameter>--with-__thread</parameter></term> 134 <listitem> 135 <para>This do ...</para> 136 </listitem> 137 </varlistentry> 138 139 <varlistentry os="di9"> 140 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 141 <listitem> 142 <para>This do ...</para> 143 </listitem> 144 </varlistentry> 145 146 <varlistentry os="di10"> 147 <term><parameter>--cache-file=config.cache</parameter></term> 148 <listitem> 149 <para>This do ...</para> 150 </listitem> 151 </varlistentry> 152 153 </variablelist> 154 155 <para os="df">During this stage the following warning might appear:</para> 156 157 <blockquote os="dg"><screen><computeroutput>configure: WARNING: 158 *** These auxiliary programs are missing or 159 *** incompatible versions: msgfmt 160 *** some features will be disabled. 161 *** Check the INSTALL file for required versions.</computeroutput></screen></blockquote> 162 163 <para os="dh">The missing or incompatible <command>msgfmt</command> program is 164 generally harmless. This <command>msgfmt</command> program is part of the 165 Gettext package which the host distribution should provide.</para> 166 167 <para os="dj">Compile the package:</para> 168 169 <screen os="dk"><userinput>make</userinput></screen> 170 171 <para os="dl">Install the package:</para> 172 173 <screen os="dm"><userinput>make install</userinput></screen> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../common/glibc.xml" 107 xpointer="xpointer(//*[@os='dn'])"/> 174 108 175 109 </sect2> -
cross-tools/mips64-64/glibc.xml
r597e850 rc48c555 71 71 xpointer="xpointer(//*[@os='g'])"/> 72 72 73 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \74 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \75 ../glibc-&glibc-version;/configure --prefix=/tools \76 --host=${LFS_TARGET} --build=${LFS_HOST} \77 --disable-profile --enable-add-ons \78 --with-tls --enable-kernel=2.6.0 --with-__thread \79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \80 --cache-file=config.cache</userinput></screen>81 82 <variablelist>83 <title>The meaning of the new configure options:</title>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 href="../common/glibc.xml"87 xpointer="xpointer(//*[@os='di1'])"/>88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"90 href="../multilib/glibc-64bit.xml"91 xpointer="xpointer(//*[@os='fa1'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="../common/glibc.xml"95 xpointer="xpointer(//*[@os='di3'])"/>96 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"98 href="../common/glibc.xml"99 xpointer="xpointer(//*[@os='di4'])"/>100 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"102 href="../common/glibc.xml"103 xpointer="xpointer(//*[@os='di5'])"/>104 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"106 href="../common/glibc.xml"107 xpointer="xpointer(//*[@os='di6'])"/>108 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"110 href="../common/glibc.xml"111 xpointer="xpointer(//*[@os='di7'])"/>112 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"114 href="../common/glibc.xml"115 xpointer="xpointer(//*[@os='di8'])"/>116 117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"118 href="../common/glibc.xml"119 xpointer="xpointer(//*[@os='di9'])"/>120 121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"122 href="../common/glibc.xml"123 xpointer="xpointer(//*[@os='di10'])"/>124 125 </variablelist>126 127 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 128 href="../ common/glibc.xml"74 href="../64/glibc.xml" 129 75 xpointer="xpointer(//*[@os='df'])"/> 130 76 131 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 132 href="../ common/glibc.xml"78 href="../64/glibc.xml" 133 79 xpointer="xpointer(//*[@os='dg'])"/> 134 80 … … 136 82 href="../common/glibc.xml" 137 83 xpointer="xpointer(//*[@os='dh'])"/> 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='di'])"/> 138 88 139 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 153 103 xpointer="xpointer(//*[@os='dm'])"/> 154 104 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../common/glibc.xml" 107 xpointer="xpointer(//*[@os='dn'])"/> 108 155 109 </sect2> 156 110 -
cross-tools/mips64/glibc-64bit.xml
r597e850 rc48c555 67 67 xpointer="xpointer(//*[@os='de'])"/> 68 68 69 <para>Now we make sure the Glibc goes into <filename 70 class="directory">/tools/lib64</filename>:</para> 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../multilib/glibc-64bit.xml" 71 xpointer="xpointer(//*[@os='n1'])"/> 71 72 72 <screen><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen> 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../multilib/glibc-64bit.xml" 75 xpointer="xpointer(//*[@os='n2'])"/> 73 76 74 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 76 79 xpointer="xpointer(//*[@os='g'])"/> 77 80 78 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \ 79 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 80 ../glibc-&glibc-version;/configure --prefix=/tools \ 81 --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \ 82 --disable-profile --enable-add-ons \ 83 --with-tls --enable-kernel=2.6.0 --with-__thread \ 84 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 85 --cache-file=config.cache</userinput></screen> 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../multilib/glibc-64bit.xml" 83 xpointer="xpointer(//*[@os='df'])"/> 86 84 87 <variablelist os="fa"> 88 <title>The meaning of the new configure options:</title> 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../multilib/glibc-64bit.xml" 87 xpointer="xpointer(//*[@os='dg'])"/> 89 88 90 <varlistentry os="fa1"> 91 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term> 92 <listitem> 93 <para>This switch do ... .</para> 94 </listitem> 95 </varlistentry> 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="glibc.xml" 91 xpointer="xpointer(//*[@os='dh'])"/> 96 92 97 <varlistentry> 98 <term><parameter>--libdir=/tools/lib64</parameter></term> 99 <listitem> 100 <para>This switch do ... .</para> 101 </listitem> 102 </varlistentry> 103 104 </variablelist> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="glibc.xml" 95 xpointer="xpointer(//*[@os='di'])"/> 105 96 106 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 120 111 xpointer="xpointer(//*[@os='dm'])"/> 121 112 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 114 href="glibc.xml" 115 xpointer="xpointer(//*[@os='dn'])"/> 116 122 117 </sect2> 123 118 -
cross-tools/mips64/glibc-n32.xml
r597e850 rc48c555 67 67 xpointer="xpointer(//*[@os='de'])"/> 68 68 69 <para >Now we make sure the Glibc goes into <filename69 <para os="n1">Now we make sure the Glibc goes into <filename 70 70 class="directory">/tools/lib32</filename>:</para> 71 71 72 <screen ><userinput>echo "slibdir=/tools/lib32" >> configparms</userinput></screen>72 <screen os="n2"><userinput>echo "slibdir=/tools/lib32" >> configparms</userinput></screen> 73 73 74 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 76 76 xpointer="xpointer(//*[@os='g'])"/> 77 77 78 <screen ><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILDN32}" \78 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILDN32}" \ 79 79 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 80 80 ../glibc-&glibc-version;/configure --prefix=/tools \ … … 91 91 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILDN32}"</parameter></term> 92 92 <listitem> 93 <para>This switch do ... .</para> 93 <para>Forces GLIBC to utilize our target architecture GCC utilizing 94 the N32 flags.</para> 94 95 </listitem> 95 96 </varlistentry> … … 98 99 <term><parameter>--libdir=/tools/lib32</parameter></term> 99 100 <listitem> 100 <para> This switch do ....</para>101 <para>Puts GLIBC into a /tools/lib32 instead of /tools/lib.</para> 101 102 </listitem> 102 103 </varlistentry> 103 104 104 105 </variablelist> 106 107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 108 href="glibc.xml" 109 xpointer="xpointer(//*[@os='dh'])"/> 110 111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 112 href="glibc.xml" 113 xpointer="xpointer(//*[@os='di'])"/> 105 114 106 115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 120 129 xpointer="xpointer(//*[@os='dm'])"/> 121 130 131 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 132 href="glibc.xml" 133 xpointer="xpointer(//*[@os='dn'])"/> 134 122 135 </sect2> 123 136 -
cross-tools/mips64/glibc.xml
r597e850 rc48c555 71 71 xpointer="xpointer(//*[@os='g'])"/> 72 72 73 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \74 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \75 ../glibc-&glibc-version;/configure --prefix=/tools \76 --host=${LFS_TARGET32} --build=${LFS_HOST} \77 --disable-profile --enable-add-ons \78 --with-tls --enable-kernel=2.6.0 --with-__thread \79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \80 --cache-file=config.cache</userinput></screen>81 82 <variablelist>83 <title>The meaning of the new configure options:</title>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 href="../common/glibc.xml"87 xpointer="xpointer(//*[@os='di1'])"/>88 89 <varlistentry os="ea1">90 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD32}"</parameter></term>91 <listitem>92 <para>This switch do ... .</para>93 </listitem>94 </varlistentry>95 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"97 href="../common/glibc.xml"98 xpointer="xpointer(//*[@os='di3'])"/>99 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"101 href="../common/glibc.xml"102 xpointer="xpointer(//*[@os='di4'])"/>103 104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"105 href="../common/glibc.xml"106 xpointer="xpointer(//*[@os='di5'])"/>107 108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"109 href="../common/glibc.xml"110 xpointer="xpointer(//*[@os='di6'])"/>111 112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"113 href="../common/glibc.xml"114 xpointer="xpointer(//*[@os='di7'])"/>115 116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"117 href="../common/glibc.xml"118 xpointer="xpointer(//*[@os='di8'])"/>119 120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"121 href="../common/glibc.xml"122 xpointer="xpointer(//*[@os='di9'])"/>123 124 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"125 href="../common/glibc.xml"126 xpointer="xpointer(//*[@os='di10'])"/>127 128 </variablelist>129 130 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 131 href="../ common/glibc.xml"74 href="../multilib/glibc.xml" 132 75 xpointer="xpointer(//*[@os='df'])"/> 133 76 134 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 135 href="../ common/glibc.xml"78 href="../multilib/glibc.xml" 136 79 xpointer="xpointer(//*[@os='dg'])"/> 137 80 … … 139 82 href="../common/glibc.xml" 140 83 xpointer="xpointer(//*[@os='dh'])"/> 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='di'])"/> 141 88 142 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 156 103 xpointer="xpointer(//*[@os='dm'])"/> 157 104 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../common/glibc.xml" 107 xpointer="xpointer(//*[@os='dn'])"/> 108 158 109 </sect2> 159 110 -
cross-tools/multilib/glibc-64bit.xml
r597e850 rc48c555 51 51 xpointer="xpointer(//*[@os='de'])"/> 52 52 53 <para >Now we make sure the Glibc goes into <filename53 <para os="n1">Now we make sure the Glibc goes into <filename 54 54 class="directory">/tools/lib64</filename>:</para> 55 55 56 <screen ><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen>56 <screen os="n2"><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen> 57 57 58 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 60 60 xpointer="xpointer(//*[@os='g'])"/> 61 61 62 <screen ><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \62 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \ 63 63 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 64 64 ../glibc-&glibc-version;/configure --prefix=/tools \ … … 69 69 --cache-file=config.cache</userinput></screen> 70 70 71 <variablelist os=" fa">71 <variablelist os="dg"> 72 72 <title>The meaning of the new configure options:</title> 73 73 … … 75 75 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term> 76 76 <listitem> 77 <para>This switch do ... .</para> 77 <para>Forces GLIBC to utilize our target architecture GCC utilizing 78 the 64 BIT flags.</para> 78 79 </listitem> 79 80 </varlistentry> 80 81 81 <varlistentry >82 <varlistentry os="fa2"> 82 83 <term><parameter>--libdir=/tools/lib64</parameter></term> 83 84 <listitem> 84 <para> This switch do ....</para>85 <para>Puts GLIBC into a /tools/lib64 instead of /tools/lib.</para> 85 86 </listitem> 86 87 </varlistentry> 87 88 88 89 </variablelist> 90 91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 92 href="glibc.xml" 93 xpointer="xpointer(//*[@os='dh'])"/> 94 95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 href="glibc.xml" 97 xpointer="xpointer(//*[@os='di'])"/> 89 98 90 99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 104 113 xpointer="xpointer(//*[@os='dm'])"/> 105 114 115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 116 href="glibc.xml" 117 xpointer="xpointer(//*[@os='dn'])"/> 118 106 119 </sect2> 107 120 -
cross-tools/multilib/glibc.xml
r597e850 rc48c555 55 55 xpointer="xpointer(//*[@os='g'])"/> 56 56 57 <screen ><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \57 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \ 58 58 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 59 59 ../glibc-&glibc-version;/configure --prefix=/tools \ … … 64 64 --cache-file=config.cache</userinput></screen> 65 65 66 <variablelist >66 <variablelist os="dg"> 67 67 <title>The meaning of the new configure options:</title> 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='d i1'])"/>71 xpointer="xpointer(//*[@os='dg1'])"/> 72 72 73 73 <varlistentry os="ea1"> 74 74 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD32}"</parameter></term> 75 75 <listitem> 76 <para>This switch do ... .</para> 76 <para>Forces GLIBC to utilize our target architecture GCC utilizing 77 the 32 BIT flags.</para> 77 78 </listitem> 78 79 </varlistentry> … … 80 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 82 href="../common/glibc.xml" 82 xpointer="xpointer(//*[@os='d i3'])"/>83 xpointer="xpointer(//*[@os='dg3'])"/> 83 84 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 85 86 href="../common/glibc.xml" 86 xpointer="xpointer(//*[@os='d i4'])"/>87 xpointer="xpointer(//*[@os='dg4'])"/> 87 88 88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 90 href="../common/glibc.xml" 90 xpointer="xpointer(//*[@os='d i5'])"/>91 xpointer="xpointer(//*[@os='dg5'])"/> 91 92 92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 93 94 href="../common/glibc.xml" 94 xpointer="xpointer(//*[@os='d i6'])"/>95 xpointer="xpointer(//*[@os='dg6'])"/> 95 96 96 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 97 98 href="../common/glibc.xml" 98 xpointer="xpointer(//*[@os='d i7'])"/>99 xpointer="xpointer(//*[@os='dg7'])"/> 99 100 100 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 101 102 href="../common/glibc.xml" 102 xpointer="xpointer(//*[@os='d i8'])"/>103 xpointer="xpointer(//*[@os='dg8'])"/> 103 104 104 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 105 106 href="../common/glibc.xml" 106 xpointer="xpointer(//*[@os='d i9'])"/>107 xpointer="xpointer(//*[@os='dg9'])"/> 107 108 108 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 109 110 href="../common/glibc.xml" 110 xpointer="xpointer(//*[@os='d i10'])"/>111 xpointer="xpointer(//*[@os='dg10'])"/> 111 112 112 113 </variablelist> … … 114 115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 115 116 href="../common/glibc.xml" 116 xpointer="xpointer(//*[@os='d f'])"/>117 xpointer="xpointer(//*[@os='dh'])"/> 117 118 118 119 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 119 120 href="../common/glibc.xml" 120 xpointer="xpointer(//*[@os='dg'])"/> 121 122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 123 href="../common/glibc.xml" 124 xpointer="xpointer(//*[@os='dh'])"/> 121 xpointer="xpointer(//*[@os='di'])"/> 125 122 126 123 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 140 137 xpointer="xpointer(//*[@os='dm'])"/> 141 138 139 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 140 href="../common/glibc.xml" 141 xpointer="xpointer(//*[@os='dn'])"/> 142 142 143 </sect2> 143 144 -
cross-tools/ppc/glibc.xml
r597e850 rc48c555 55 55 xpointer="xpointer(//*[@os='dd'])"/> 56 56 57 <screen ><userinput>echo "libc_cv_forced_unwind=yes" > config.cache57 <screen os="de"><userinput>echo "libc_cv_forced_unwind=yes" > config.cache 58 58 echo "libc_cv_c_cleanup=yes" >> config.cache 59 59 echo "libc_cv_ppc_machine=yes" >> config.cache</userinput></screen> … … 63 63 xpointer="xpointer(//*[@os='g'])"/> 64 64 65 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \ 66 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 67 ../glibc-&glibc-version;/configure --prefix=/tools \ 68 --host=${LFS_TARGET} --build=${LFS_HOST} \ 69 --disable-profile --enable-add-ons \ 70 --with-tls --enable-kernel=2.6.0 --with-__thread \ 71 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 72 --cache-file=config.cache</userinput></screen> 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../common/glibc.xml" 67 xpointer="xpointer(//*[@os='df'])"/> 73 68 74 <variablelist os="di"> 75 <title>The meaning of the new configure options:</title> 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../common/glibc.xml" 71 xpointer="xpointer(//*[@os='dg'])"/> 76 72 77 <varlistentry os="di1"> 78 <term><parameter>BUILD_CC="gcc"</parameter></term> 79 <listitem> 80 <para>This do ...</para> 81 </listitem> 82 </varlistentry> 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../common/glibc.xml" 75 xpointer="xpointer(//*[@os='dh'])"/> 83 76 84 <varlistentry os="di2"> 85 <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term> 86 <listitem> 87 <para>This do ...</para> 88 </listitem> 89 </varlistentry> 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 78 href="../common/glibc.xml" 79 xpointer="xpointer(//*[@os='di'])"/> 90 80 91 <varlistentry os="di3"> 92 <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term> 93 <listitem> 94 <para>This do ...</para> 95 </listitem> 96 </varlistentry> 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../common/glibc.xml" 83 xpointer="xpointer(//*[@os='dj'])"/> 97 84 98 <varlistentry os="di4"> 99 <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term> 100 <listitem> 101 <para>This do ...</para> 102 </listitem> 103 </varlistentry> 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='dk'])"/> 104 88 105 <varlistentry os="di5"> 106 <term><parameter>--disable-profile</parameter></term> 107 <listitem> 108 <para>This do ...</para> 109 </listitem> 110 </varlistentry> 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="../common/glibc.xml" 91 xpointer="xpointer(//*[@os='dl'])"/> 111 92 112 <varlistentry os="di6"> 113 <term><parameter>--enable-add-ons</parameter></term> 114 <listitem> 115 <para>This do ...</para> 116 </listitem> 117 </varlistentry> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../common/glibc.xml" 95 xpointer="xpointer(//*[@os='dm'])"/> 118 96 119 <varlistentry os="di7"> 120 <term><parameter>--with-tls</parameter></term> 121 <listitem> 122 <para>This do ...</para> 123 </listitem> 124 </varlistentry> 125 126 <varlistentry os="di8"> 127 <term><parameter>--with-__thread</parameter></term> 128 <listitem> 129 <para>This do ...</para> 130 </listitem> 131 </varlistentry> 132 133 <varlistentry os="di9"> 134 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 135 <listitem> 136 <para>This do ...</para> 137 </listitem> 138 </varlistentry> 139 140 <varlistentry os="di10"> 141 <term><parameter>--cache-file=config.cache</parameter></term> 142 <listitem> 143 <para>This do ...</para> 144 </listitem> 145 </varlistentry> 146 147 </variablelist> 148 149 <para os="df">During this stage the following warning might appear:</para> 150 151 <blockquote os="dg"><screen><computeroutput>configure: WARNING: 152 *** These auxiliary programs are missing or 153 *** incompatible versions: msgfmt 154 *** some features will be disabled. 155 *** Check the INSTALL file for required versions.</computeroutput></screen></blockquote> 156 157 <para os="dh">The missing or incompatible <command>msgfmt</command> program is 158 generally harmless. This <command>msgfmt</command> program is part of the 159 Gettext package which the host distribution should provide.</para> 160 161 <para os="dj">Compile the package:</para> 162 163 <screen os="dk"><userinput>make</userinput></screen> 164 165 <para os="dl">Install the package:</para> 166 167 <screen os="dm"><userinput>make install</userinput></screen> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../common/glibc.xml" 99 xpointer="xpointer(//*[@os='dn'])"/> 168 100 169 101 </sect2> -
cross-tools/sparc/glibc.xml
r597e850 rc48c555 59 59 xpointer="xpointer(//*[@os='f'])"/> 60 60 61 <para os="dd"> For NPTL enabled systems we will need to add the following lines to 62 <filename>config.cache</filename>:</para> 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 62 href="../common/glibc.xml" 63 xpointer="xpointer(//*[@os='dd'])"/> 63 64 64 <screen os="de"><userinput>echo "libc_cv_forced_unwind=yes" > config.cache 65 echo "libc_cv_c_cleanup=yes" >> config.cache</userinput></screen> 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../common/glibc.xml" 67 xpointer="xpointer(//*[@os='df'])"/> 66 68 67 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 69 71 xpointer="xpointer(//*[@os='g'])"/> 70 72 71 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \ 72 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 73 ../glibc-&glibc-version;/configure --prefix=/tools \ 74 --host=${LFS_TARGET} --build=${LFS_HOST} \ 75 --disable-profile --enable-add-ons \ 76 --with-tls --enable-kernel=2.6.0 --with-__thread \ 77 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 78 --cache-file=config.cache</userinput></screen> 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../common/glibc.xml" 75 xpointer="xpointer(//*[@os='dg'])"/> 79 76 80 <variablelist os="di"> 81 <title>The meaning of the new configure options:</title> 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 78 href="../common/glibc.xml" 79 xpointer="xpointer(//*[@os='dh'])"/> 82 80 83 <varlistentry os="di1"> 84 <term><parameter>BUILD_CC="gcc"</parameter></term> 85 <listitem> 86 <para>This do ...</para> 87 </listitem> 88 </varlistentry> 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../common/glibc.xml" 83 xpointer="xpointer(//*[@os='di'])"/> 89 84 90 <varlistentry os="di2"> 91 <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term> 92 <listitem> 93 <para>This do ...</para> 94 </listitem> 95 </varlistentry> 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='dj'])"/> 96 88 97 <varlistentry os="di3"> 98 <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term> 99 <listitem> 100 <para>This do ...</para> 101 </listitem> 102 </varlistentry> 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="../common/glibc.xml" 91 xpointer="xpointer(//*[@os='dk'])"/> 103 92 104 <varlistentry os="di4"> 105 <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term> 106 <listitem> 107 <para>This do ...</para> 108 </listitem> 109 </varlistentry> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../common/glibc.xml" 95 xpointer="xpointer(//*[@os='dl'])"/> 110 96 111 <varlistentry os="di5"> 112 <term><parameter>--disable-profile</parameter></term> 113 <listitem> 114 <para>This do ...</para> 115 </listitem> 116 </varlistentry> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../common/glibc.xml" 99 xpointer="xpointer(//*[@os='dm'])"/> 117 100 118 <varlistentry os="di6"> 119 <term><parameter>--enable-add-ons</parameter></term> 120 <listitem> 121 <para>This do ...</para> 122 </listitem> 123 </varlistentry> 124 125 <varlistentry os="di7"> 126 <term><parameter>--with-tls</parameter></term> 127 <listitem> 128 <para>This do ...</para> 129 </listitem> 130 </varlistentry> 131 132 <varlistentry os="di8"> 133 <term><parameter>--with-__thread</parameter></term> 134 <listitem> 135 <para>This do ...</para> 136 </listitem> 137 </varlistentry> 138 139 <varlistentry os="di9"> 140 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 141 <listitem> 142 <para>This do ...</para> 143 </listitem> 144 </varlistentry> 145 146 <varlistentry os="di10"> 147 <term><parameter>--cache-file=config.cache</parameter></term> 148 <listitem> 149 <para>This do ...</para> 150 </listitem> 151 </varlistentry> 152 153 </variablelist> 154 155 <para os="df">During this stage the following warning might appear:</para> 156 157 <blockquote os="dg"><screen><computeroutput>configure: WARNING: 158 *** These auxiliary programs are missing or 159 *** incompatible versions: msgfmt 160 *** some features will be disabled. 161 *** Check the INSTALL file for required versions.</computeroutput></screen></blockquote> 162 163 <para os="dh">The missing or incompatible <command>msgfmt</command> program is 164 generally harmless. This <command>msgfmt</command> program is part of the 165 Gettext package which the host distribution should provide.</para> 166 167 <para os="dj">Compile the package:</para> 168 169 <screen os="dk"><userinput>make</userinput></screen> 170 171 <para os="dl">Install the package:</para> 172 173 <screen os="dm"><userinput>make install</userinput></screen> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../common/glibc.xml" 103 xpointer="xpointer(//*[@os='dn'])"/> 174 104 175 105 </sect2> -
cross-tools/sparc64-64/glibc.xml
r597e850 rc48c555 63 63 xpointer="xpointer(//*[@os='dd'])"/> 64 64 65 <screen><userinput>echo "libc_cv_forced_unwind=yes" > config.cache 66 echo "libc_cv_c_cleanup=yes" >> config.cache 67 echo "libc_cv_sparc64_tls=yes" >> config.cache</userinput></screen>65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../sparc64/glibc-64bit.xml" 67 xpointer="xpointer(//*[@os='de'])"/> 68 68 69 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 71 71 xpointer="xpointer(//*[@os='g'])"/> 72 72 73 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \74 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \75 ../glibc-&glibc-version;/configure --prefix=/tools \76 --host=${LFS_TARGET} --build=${LFS_HOST} \77 --disable-profile --enable-add-ons \78 --with-tls --enable-kernel=2.6.0 --with-__thread \79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \80 --cache-file=config.cache</userinput></screen>81 82 <variablelist>83 <title>The meaning of the new configure options:</title>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 href="../common/glibc.xml"87 xpointer="xpointer(//*[@os='di1'])"/>88 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"90 href="../multilib/glibc-64bit.xml"91 xpointer="xpointer(//*[@os='fa1'])"/>92 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"94 href="../common/glibc.xml"95 xpointer="xpointer(//*[@os='di3'])"/>96 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"98 href="../common/glibc.xml"99 xpointer="xpointer(//*[@os='di4'])"/>100 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"102 href="../common/glibc.xml"103 xpointer="xpointer(//*[@os='di5'])"/>104 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"106 href="../common/glibc.xml"107 xpointer="xpointer(//*[@os='di6'])"/>108 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"110 href="../common/glibc.xml"111 xpointer="xpointer(//*[@os='di7'])"/>112 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"114 href="../common/glibc.xml"115 xpointer="xpointer(//*[@os='di8'])"/>116 117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"118 href="../common/glibc.xml"119 xpointer="xpointer(//*[@os='di9'])"/>120 121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"122 href="../common/glibc.xml"123 xpointer="xpointer(//*[@os='di10'])"/>124 125 </variablelist>126 127 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 128 href="../ common/glibc.xml"74 href="../multilib/glibc-64bit.xml" 129 75 xpointer="xpointer(//*[@os='df'])"/> 130 76 131 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 132 href="../ common/glibc.xml"78 href="../multilib/glibc-64bit.xml" 133 79 xpointer="xpointer(//*[@os='dg'])"/> 134 80 … … 136 82 href="../common/glibc.xml" 137 83 xpointer="xpointer(//*[@os='dh'])"/> 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='di'])"/> 138 88 139 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 153 103 xpointer="xpointer(//*[@os='dm'])"/> 154 104 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../common/glibc.xml" 107 xpointer="xpointer(//*[@os='dn'])"/> 108 155 109 </sect2> 156 110 -
cross-tools/sparc64/glibc-64bit.xml
r597e850 rc48c555 63 63 xpointer="xpointer(//*[@os='dd'])"/> 64 64 65 <screen ><userinput>echo "libc_cv_forced_unwind=yes" > config.cache65 <screen os="de"><userinput>echo "libc_cv_forced_unwind=yes" > config.cache 66 66 echo "libc_cv_c_cleanup=yes" >> config.cache 67 67 echo "libc_cv_sparc64_tls=yes" >> config.cache</userinput></screen> 68 68 69 <para>Now we make sure the Glibc goes into <filename 70 class="directory">/tools/lib64</filename>:</para> 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 70 href="../multilib/glibc-64bit.xml" 71 xpointer="xpointer(//*[@os='n1'])"/> 71 72 72 <screen><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen> 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 href="../multilib/glibc-64bit.xml" 75 xpointer="xpointer(//*[@os='n2'])"/> 73 76 74 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 76 79 xpointer="xpointer(//*[@os='g'])"/> 77 80 78 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \ 79 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \ 80 ../glibc-&glibc-version;/configure --prefix=/tools \ 81 --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \ 82 --disable-profile --enable-add-ons \ 83 --with-tls --enable-kernel=2.6.0 --with-__thread \ 84 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 85 --cache-file=config.cache</userinput></screen> 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 82 href="../multilib/glibc-64bit.xml" 83 xpointer="xpointer(//*[@os='df'])"/> 86 84 87 <variablelist os="fa"> 88 <title>The meaning of the new configure options:</title> 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../multilib/glibc-64bit.xml" 87 xpointer="xpointer(//*[@os='dg'])"/> 89 88 90 <varlistentry os="fa1"> 91 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term> 92 <listitem> 93 <para>This switch do ... .</para> 94 </listitem> 95 </varlistentry> 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="glibc.xml" 91 xpointer="xpointer(//*[@os='dh'])"/> 96 92 97 <varlistentry> 98 <term><parameter>--libdir=/tools/lib64</parameter></term> 99 <listitem> 100 <para>This switch do ... .</para> 101 </listitem> 102 </varlistentry> 103 104 </variablelist> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="glibc.xml" 95 xpointer="xpointer(//*[@os='di'])"/> 105 96 106 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 120 111 xpointer="xpointer(//*[@os='dm'])"/> 121 112 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 114 href="glibc.xml" 115 xpointer="xpointer(//*[@os='dn'])"/> 116 122 117 </sect2> 123 118 -
cross-tools/sparc64/glibc.xml
r597e850 rc48c555 71 71 xpointer="xpointer(//*[@os='g'])"/> 72 72 73 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \74 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \75 ../glibc-&glibc-version;/configure --prefix=/tools \76 --host=${LFS_TARGET32} --build=${LFS_HOST} \77 --disable-profile --enable-add-ons \78 --with-tls --enable-kernel=2.6.0 --with-__thread \79 --with-binutils=/cross-tools/bin --with-headers=/tools/include \80 --cache-file=config.cache</userinput></screen>81 82 <variablelist>83 <title>The meaning of the new configure options:</title>84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"86 href="../common/glibc.xml"87 xpointer="xpointer(//*[@os='di1'])"/>88 89 <varlistentry os="ea1">90 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD32}"</parameter></term>91 <listitem>92 <para>This switch do ... .</para>93 </listitem>94 </varlistentry>95 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"97 href="../common/glibc.xml"98 xpointer="xpointer(//*[@os='di3'])"/>99 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"101 href="../common/glibc.xml"102 xpointer="xpointer(//*[@os='di4'])"/>103 104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"105 href="../common/glibc.xml"106 xpointer="xpointer(//*[@os='di5'])"/>107 108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"109 href="../common/glibc.xml"110 xpointer="xpointer(//*[@os='di6'])"/>111 112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"113 href="../common/glibc.xml"114 xpointer="xpointer(//*[@os='di7'])"/>115 116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"117 href="../common/glibc.xml"118 xpointer="xpointer(//*[@os='di8'])"/>119 120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"121 href="../common/glibc.xml"122 xpointer="xpointer(//*[@os='di9'])"/>123 124 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"125 href="../common/glibc.xml"126 xpointer="xpointer(//*[@os='di10'])"/>127 128 </variablelist>129 130 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 131 href="../ common/glibc.xml"74 href="../multilib/glibc.xml" 132 75 xpointer="xpointer(//*[@os='df'])"/> 133 76 134 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 135 href="../ common/glibc.xml"78 href="../multilib/glibc.xml" 136 79 xpointer="xpointer(//*[@os='dg'])"/> 137 80 … … 139 82 href="../common/glibc.xml" 140 83 xpointer="xpointer(//*[@os='dh'])"/> 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/glibc.xml" 87 xpointer="xpointer(//*[@os='di'])"/> 141 88 142 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 156 103 xpointer="xpointer(//*[@os='dm'])"/> 157 104 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../common/glibc.xml" 107 xpointer="xpointer(//*[@os='dn'])"/> 108 158 109 </sect2> 159 110 -
cross-tools/x86/glibc-headers.xml
r597e850 rc48c555 43 43 xpointer="xpointer(//*[@os='g'])"/> 44 44 45 <screen ><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \45 <screen os="s3"><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \ 46 46 --host=${LFS_TARGET} --build=${LFS_HOST} \ 47 47 --disable-sanity-checks --enable-kernel=2.6.0 \ … … 50 50 51 51 <warning os="e1"> 52 <para><emphasis>Any</emphasis> error message you see about nptl at this point \52 <para><emphasis>Any</emphasis> error message you see about nptl at this point 53 53 can safely be ignored.</para> 54 54 </warning> … … 57 57 <title>The meaning of the configure options:</title> 58 58 59 <varlistentry >59 <varlistentry os="ca1"> 60 60 <term><parameter>CC=gcc</parameter></term> 61 61 <listitem> 62 <para>T his do ...</para>62 <para>Tells GLIBC to use the hosts GCC compiler.</para> 63 63 </listitem> 64 64 </varlistentry> 65 65 66 <varlistentry os="ca 1">66 <varlistentry os="ca2"> 67 67 <term><parameter>--prefix=/tools</parameter></term> 68 68 <listitem> … … 73 73 </varlistentry> 74 74 75 <varlistentry os="ca 2">76 <term><parameter>--host=${LFS_ TARGET}</parameter></term>75 <varlistentry os="ca3"> 76 <term><parameter>--host=${LFS_HOST}</parameter></term> 77 77 <listitem> 78 <para>This do ...</para> 79 </listitem> 80 </varlistentry> 81 82 <varlistentry os="ca3"> 83 <term><parameter>--build=${LFS_HOST}</parameter></term> 84 <listitem> 85 <para>This do ...</para> 86 </listitem> 87 </varlistentry> 88 89 <varlistentry> 90 <term><parameter>--disable-sanity-checks</parameter></term> 91 <listitem> 92 <para>This switch do ... .</para> 78 <para>When used injunction with --target, this creates a cross-architecture 79 executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para> 93 80 </listitem> 94 81 </varlistentry> 95 82 96 83 <varlistentry os="ca4"> 84 <term><parameter>--target=${LFS_TARGET}</parameter></term> 85 <listitem> 86 <para>When used injunction with --host, this creates a cross-architecture 87 executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para> 88 </listitem> 89 </varlistentry> 90 91 <varlistentry os="ca5"> 92 <term><parameter>--disable-sanity-checks</parameter></term> 93 <listitem> 94 <para>This switch disables any checks that are in place.</para> 95 </listitem> 96 </varlistentry> 97 98 <varlistentry os="ca6"> 97 99 <term><parameter>--enable-kernel=2.6.0</parameter></term> 98 100 <listitem> … … 102 104 </varlistentry> 103 105 104 <varlistentry os="ca 5">106 <varlistentry os="ca7"> 105 107 <term><parameter>--with-headers=/tools/include</parameter></term> 106 108 <listitem> … … 112 114 </varlistentry> 113 115 114 <varlistentry >116 <varlistentry os="ca8"> 115 117 <term><parameter>--with-binutils=/cross-tools/${LFS_TARGET}/bin</parameter></term> 116 118 <listitem> 117 <para>This switch do ....</para>119 <para>This tells GLIBC to use the binutils for our specific target architecture.</para> 118 120 </listitem> 119 121 </varlistentry> … … 144 146 <para os="cl">Now we copy the architecture specific header over:</para> 145 147 146 <screen ><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>148 <screen os="cm"><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h /tools/include/bits/</userinput></screen> 147 149 148 150 </sect2> -
cross-tools/x86_64-64/glibc-headers.xml
r597e850 rc48c555 43 43 xpointer="xpointer(//*[@os='g'])"/> 44 44 45 <screen><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \ 46 --host=${LFS_TARGET} --build=${LFS_HOST} \ 47 --disable-sanity-checks --enable-kernel=2.6.0 \ 48 --with-headers=/tools/include \ 49 --with-binutils=/cross-tools/${LFS_TARGET}/bin</userinput></screen> 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../x86/glibc-headers.xml" 47 xpointer="xpointer(//*[@os='s3'])"/> 50 48 51 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 97 95 xpointer="xpointer(//*[@os='cl'])"/> 98 96 99 <screen><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h /tools/include/bits/</userinput></screen> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86_64/glibc-headers.xml" 99 xpointer="xpointer(//*[@os='cm'])"/> 100 100 101 101 </sect2> -
cross-tools/x86_64/glibc-headers.xml
r597e850 rc48c555 43 43 xpointer="xpointer(//*[@os='g'])"/> 44 44 45 <screen><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \ 46 --host=${LFS_TARGET} --build=${LFS_HOST} \ 47 --disable-sanity-checks --enable-kernel=2.6.0 \ 48 --with-headers=/tools/include \ 49 --with-binutils=/cross-tools/${LFS_TARGET}/bin</userinput></screen> 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../x86/glibc-headers.xml" 47 xpointer="xpointer(//*[@os='s3'])"/> 50 48 51 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 97 95 xpointer="xpointer(//*[@os='cl'])"/> 98 96 99 <screen ><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>97 <screen os="cm"><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h /tools/include/bits/</userinput></screen> 100 98 101 99 </sect2> -
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" -
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" -
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" -
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 -
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 \ -
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" -
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 -
introduction/common/changelog.xml
r597e850 rc48c555 38 38 39 39 <listitem> 40 <para>November 28 2005</para> 41 <itemizedlist> 42 <listitem> 43 <para>[jim] - Text updates to glibc in all sections.</para> 44 </listitem> 45 </itemizedlist> 46 </listitem> 47 48 <listitem> 40 49 <para>November 27 2005</para> 41 50 <itemizedlist>
Note:
See TracChangeset
for help on using the changeset viewer.