Changeset df462a9 for chapter05/glibc.xml
- Timestamp:
- 05/12/2021 05:26:46 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- 3de7f52
- Parents:
- 0e9fb93 (diff), d7a9421 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/glibc.xml
r0e9fb93 rdf462a9 59 59 ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3</userinput></screen> 60 60 61 <note>62 <para>63 The above command is correct. The <command>ln</command> command has64 a few syntactic versions, so be sure to check65 <command>info coreutils ln</command> and <filename>ln(1)</filename>66 before reporting what you may think is an error.67 </para>68 </note>69 70 61 <para>Some of the Glibc programs use the non-FHS compliant 71 62 <filename class="directory">/var/db</filename> directory to store their … … 74 65 75 66 <screen><userinput remap="pre">patch -Np1 -i ../glibc-&glibc-version;-fhs-1.patch</userinput></screen> 67 68 <para>Fix a build issue with gcc-11.1:</para> 69 70 <screen><userinput remap="pre">sed 's/amx_/amx-/' -i sysdeps/x86/tst-cpu-features-supports.c</userinput></screen> 76 71 77 72 <para>The Glibc documentation recommends building Glibc … … 89 84 --enable-kernel=&min-kernel; \ 90 85 --with-headers=$LFS/usr/include \ 91 libc_cv_slibdir=/ lib</userinput></screen>86 libc_cv_slibdir=/usr/lib</userinput></screen> 92 87 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../configure \ 93 88 --prefix=/usr \ … … 97 92 --with-headers=$LFS/usr/include \ 98 93 --enable-multi-arch \ 99 --libdir=/usr/lib \ 100 --libexecdir=/usr/lib \ 101 libc_cv_slibdir=/lib</userinput></screen> 102 <!-- 103 libc_cv_forced_unwind=yes \ 104 libc_cv_c_cleanup=yes</userinput></screen> --> 94 libc_cv_slibdir=/usr/lib</userinput></screen> 105 95 106 96 <variablelist> … … 136 126 137 127 <varlistentry> 138 <term><parameter>libc_cv_slibdir=/ lib</parameter></term>139 <listitem> 140 <para>This ensures that the library is installed in / lib instead128 <term><parameter>libc_cv_slibdir=/usr/lib</parameter></term> 129 <listitem> 130 <para>This ensures that the library is installed in /usr/lib instead 141 131 of the default /lib64 on 64 bit machines.</para> 142 132 </listitem> … … 278 268 --libdir=&usr-lib-m32; \ 279 269 --libexecdir=&usr-lib-m32; \ 280 libc_cv_slibdir=& lib-m32;</userinput></screen>270 libc_cv_slibdir=&usr-lib-m32;</userinput></screen> 281 271 282 272 <para>Compile the package:</para> … … 350 340 --libdir=&usr-lib-mx32; \ 351 341 --libexecdir=&usr-lib-mx32; \ 352 libc_cv_slibdir=& lib-mx32;</userinput></screen>342 libc_cv_slibdir=&usr-lib-mx32;</userinput></screen> 353 343 354 344 <para>Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.