Changeset ea2dfe7
- Timestamp:
- 05/27/2009 06:33:49 AM (15 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 2ed4b452
- Parents:
- 13fe71e
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r13fe71e rea2dfe7 42 42 <itemizedlist> 43 43 <listitem> 44 <para>[bdubbs] - Revert zlib to doing separate builds for 45 static and dynamic libraries to ensure the -fPIC parameter 46 is set properly in both cases. 47 Fixes <ulink url="&lfs-ticket-root;2329">#2329</ulink> (again).</para> 48 </listitem> 49 <listitem> 44 50 <para>[bdubbs] - Update gettext patch to -2 for an additional 45 51 bug fix. Thanks to Robert Connolly for the patch. -
chapter01/whatsnew.xml
r13fe71e rea2dfe7 308 308 <para>vim-7.2-fixes-3.patch</para> 309 309 </listitem> 310 <!-- 310 311 <listitem> 311 312 <para>zlib-1.2.3-fPIC-1.patch</para> 312 313 </listitem> 313 314 --> 314 315 </itemizedlist> 315 316 -
chapter06/zlib.xml
r13fe71e rea2dfe7 48 48 <parameter>-fPIC</parameter> directive to the <envar>CFLAGS</envar> 49 49 variable for the duration of the configure command below, then 50 remove it afterwards.</para>50 remove it when building the static library.</para> 51 51 </note> 52 52 53 <para>Modify the build scripts to ensure compilation with position independent 54 code and allow building both static and dynamic libraries in one step:</para> 53 <para>Prepare Zlib for building the dynamic library:</para> 55 54 56 <screen><userinput remap="configure">patch -Np1 -i ../&zlib-fpic-patch;</userinput></screen> 57 58 <para>Prepare Zlib for compilation:</para> 59 60 <screen><userinput remap="configure">./configure --prefix=/usr --shared</userinput></screen> 55 <screen><userinput remap="configure">./configure --prefix=/usr --shared --libdir=/lib</userinput></screen> 61 56 62 57 <para>Compile the package:</para> … … 68 63 <screen><userinput remap="test">make check</userinput></screen> 69 64 70 <para>Install the libraries:</para>65 <para>Install the shared library:</para> 71 66 72 67 <screen><userinput remap="install">make install</userinput></screen> 73 68 74 <para>Finally, fix permissions on the static library:</para> 69 <para>The previous command installed a <filename 70 class="extension">.so</filename> file in <filename 71 class="directory">/lib</filename>. We will remove it and relink it into 72 <filename class="directory">/usr/lib</filename>:</para> 75 73 76 <screen><userinput remap="install">chmod 0644 /usr/lib/libz.a</userinput></screen> 74 <screen><userinput remap="install">rm -v /lib/libz.so 75 ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen> 76 77 <para>Build the static library:</para> 78 79 <screen><userinput remap="make">make clean 80 ./configure --prefix=/usr 81 make</userinput></screen> 82 83 <para>To test the results again, issue:</para> 84 85 <screen><userinput remap="test">make check</userinput></screen> 86 87 <para>Install the static library:</para> 88 89 <screen><userinput remap="install">make install</userinput></screen> 90 91 <para>Fix the permissions on the static library:</para> 92 93 <screen><userinput remap="install">chmod -v 644 /usr/lib/libz.a</userinput></screen> 77 94 78 95 </sect2> -
general.ent
r13fe71e rea2dfe7 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!ENTITY version "SVN-2009052 6">3 <!ENTITY releasedate "May 2 6, 2009">2 <!ENTITY version "SVN-20090527"> 3 <!ENTITY releasedate "May 27, 2009"> 4 4 <!ENTITY copyrightdate "1999-2009"><!-- jhalfs needs a literal dash, not – --> 5 5 <!ENTITY milestone "6.5">
Note:
See TracChangeset
for help on using the changeset viewer.