- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/eglibc.xml
rdabbced r00a58649 27 27 risk.</para> 28 28 29 <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para> 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 30 32 31 <screen os="dc"><userinput>cp -v Makeconfig{,.orig} 32 sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen> 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 33 36 34 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 40 43 xpointer="xpointer(//*[@os='f'])"/> 41 44 42 <para os="dd"> The following lines need to be added to43 <filename>config.cache</filename> for EGLIBC to support NPTL:</para>45 <para os="dd">Add the following to <filename>config.cache</filename> 46 to disable ssp when building EGLIBC:</para> 44 47 45 <screen os="de"><userinput>cat > config.cache << "EOF" 46 libc_cv_forced_unwind=yes 47 libc_cv_c_cleanup=yes 48 libc_cv_gnu89_inline=yes 49 libc_cv_ssp=no 50 EOF</userinput></screen> 48 <screen os="de"><userinput>echo "libc_cv_ssp=no" > config.cache</userinput></screen> 51 49 52 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 58 56 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 59 57 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 60 --disable-profile -- enable-add-ons\61 --with- tls --enable-kernel=2.6.0 --with-__thread\62 --with- binutils=/cross-tools/bin --with-headers=/tools/include\58 --disable-profile --with-tls --enable-kernel=2.6.32 \ 59 --with-__thread --with-binutils=/cross-tools/bin \ 60 --with-headers=/tools/include --enable-obsolete-rpc \ 63 61 --cache-file=config.cache</userinput></screen> 64 62 … … 107 105 108 106 <varlistentry os="dg6"> 109 <term><parameter>--enable-add-ons</parameter></term>110 <listitem>111 <para>This tells EGLIBC to utilize all add-ons that are112 available.</para>113 </listitem>114 </varlistentry>115 116 <varlistentry os="dg7">117 107 <term><parameter>--with-tls</parameter></term> 118 108 <listitem> … … 121 111 </varlistentry> 122 112 123 <varlistentry os="dg 8">124 <term><parameter>--enable-kernel=2.6. 0</parameter></term>113 <varlistentry os="dg7"> 114 <term><parameter>--enable-kernel=2.6.32</parameter></term> 125 115 <listitem> 126 116 <para>This tells EGLIBC to compile the library with support 127 for 2.6. xLinux kernels.</para>117 for 2.6.32 and later Linux kernels.</para> 128 118 </listitem> 129 119 </varlistentry> 130 120 131 <varlistentry os="dg 9">121 <varlistentry os="dg8"> 132 122 <term><parameter>--with-__thread</parameter></term> 133 123 <listitem> … … 137 127 </varlistentry> 138 128 139 <varlistentry os="dg 10">129 <varlistentry os="dg9"> 140 130 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 141 131 <listitem> … … 145 135 </varlistentry> 146 136 147 <varlistentry os="dg1 1">137 <varlistentry os="dg10"> 148 138 <term><parameter>--with-headers=/tools/include</parameter></term> 149 139 <listitem> … … 155 145 </varlistentry> 156 146 157 <varlistentry os="dg1 2">147 <varlistentry os="dg11"> 158 148 <term><parameter>--cache-file=config.cache</parameter></term> 159 149 <listitem>
Note:
See TracChangeset
for help on using the changeset viewer.