Changeset bc12dcb
- Timestamp:
- 02/24/2020 10:15:33 PM (3 years ago)
- Branches:
- multilib-10.1, multilib-before-cross
- Children:
- 54092c6
- Parents:
- 788f897
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r788f897 rbc12dcb 45 45 appropriate for the entry or if needed the entire day's listitem. 46 46 --> 47 <listitem arch="ml_32,ml_x32,ml_all"> 48 <para>2020-02-24</para> 49 <itemizedlist> 50 <listitem arch="ml_32,ml_x32,ml_all"> 51 <para>[thomas] - Add description to glibc configuration in Chapter 5. 52 Thanks to Kevin Buckley.</para> 53 </listitem> 54 </itemizedlist> 55 </listitem> 56 57 <listitem arch="ml_32,ml_x32,ml_all"> 58 <para>2020-02-21</para> 59 <itemizedlist> 60 <listitem arch="ml_32,ml_x32,ml_all"> 61 <para>[thomas] - Update to isl-0.22.1.</para> 62 </listitem> 63 <listitem arch="ml_32,ml_x32,ml_all"> 64 <para>[thomas] - Upgrade to linux-firmware-20200219</para> 65 </listitem> 66 </itemizedlist> 67 </listitem> 68 47 69 <listitem revision="systemd"> 48 70 <para>2020-02-16</para> … … 345 367 </listitem> 346 368 347 <listitem revision="sysv">369 <listitem arch="ml_32,ml_x32,ml_all"> 348 370 <para>2019-12-02</para> 349 371 <itemizedlist> -
chapter05/binutils-pass2.xml
r788f897 rbc12dcb 115 115 <term><parameter>--with-sysroot</parameter></term> 116 116 <listitem> 117 <para>The sysroot feature enables the linker to find shared objects 118 which are required by other shared objects explicitly included on the 119 linker's command line. Without this, some packages may not build 120 successfully on some hosts.</para> 117 <para>This defines a default (non-existent) sysroot directory 118 <filename class="directory">/tools/$LFS_TGT/sys-root</filename>. 119 It is useful when looking for shared objects which are required by 120 other shared objects explicitly included on the linker's command 121 line. Those objects are searched into the directories listed in 122 <filename><sysroot>/etc/ld.so.conf</filename>, and failing 123 that, into the linker search path, which is right. If this switch 124 is not given, <filename>/etc/ld.so.conf</filename> on the host 125 is used, that is, programs may be linked to libraries on 126 the host, which we want to avoid.</para> 121 127 </listitem> 122 128 </varlistentry> -
chapter05/gcc-pass1.xml
r788f897 rbc12dcb 141 141 <!-- see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724 --> 142 142 <!-- Fix applied in ch5-gcc-pass{1,2}, ch6-gcc --> 143 <!-- 143 144 <para arch="ml_32,ml_x32,ml_all">Fix an issue with isl-&isl-version;:</para> 144 145 145 146 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e "/#include <isl\/schedule_node.h>/ a#include <isl/id.h>\n#include <isl/space.h>" \ 146 147 -i gcc/graphite.h</userinput></screen> 148 --> 147 149 148 150 <para>The GCC documentation recommends building GCC -
chapter05/gcc-pass2.xml
r788f897 rbc12dcb 123 123 124 124 <!-- Following patch might be obsolete with gcc >= 8.2.1 --> 125 <!-- 125 126 <para arch="ml_32,ml_x32,ml_all">Fix an issue with isl-&isl-version;:</para> 126 127 127 128 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e "/#include <isl\/schedule_node.h>/ a#include <isl/id.h>\n#include <isl/space.h>" \ 128 129 -i gcc/graphite.h</userinput></screen> 130 --> 129 131 130 132 <para> -
chapter05/glibc.xml
r788f897 rbc12dcb 217 217 --host=${LFS_TGT32} \ 218 218 --enable-kernel=&min-kernel; \ 219 --with-headers=/tools/include \ 220 --with-binutils=/tools/bin \ 219 221 --enable-multi-arch \ 220 222 --libdir=/tools/lib32 \ 221 --libexecdir=/tools/lib32 \ 222 --with-headers=/tools/include \ 223 --with-binutils=/tools/bin</userinput></screen> 223 --libexecdir=/tools/lib32</userinput></screen> 224 224 <!-- \ 225 225 libc_cv_forced_unwind=yes \ 226 226 libc_cv_c_cleanup=yes</userinput></screen> --> 227 228 <variablelist> 229 <title>The meaning of the extra configure options:</title> 230 231 <varlistentry> 232 <term><parameter>--enable-multi-arch</parameter></term> 233 <listitem> 234 <para>Enables glibc for multiarch environments.</para> 235 </listitem> 236 </varlistentry> 237 238 <varlistentry> 239 <term><parameter>--libdir=/tools/lib32, --libexecdir=/tools/lib32</parameter></term> 240 <listitem> 241 <para>Overrides location for installing 32-bit files.</para> 242 </listitem> 243 </varlistentry> 244 245 <varlistentry> 246 <term><parameter>--with-binutils=/tools/bin</parameter></term> 247 <listitem> 248 <para>This tells Glibc to compile itself against the utilities 249 found within our "tools" heirachy, because otherwise...</para> 250 </listitem> 251 </varlistentry> 252 253 </variablelist> 227 254 228 255 <para>Now compile the 32-bit version of glibc:</para> … … 235 262 install -vm644 DESTDIR/tools/include/gnu/{lib-names,stubs}-32.h \ 236 263 /tools/include/gnu/ 237 ln -svf /tools/lib32/ld-linux.so.2 /tools/lib/ 238 cd ..</userinput></screen> 264 ln -svf /tools/lib32/ld-linux.so.2 /tools/lib/</userinput></screen> 239 265 240 266 </sect2> … … 244 270 245 271 <para>Create a build directory for redoing glibc for x32-bit:</para> 246 <screen><userinput remap="pre">mkdir build32x247 cd build32x</userinput></screen>272 <screen><userinput remap="pre">mkdir ../build32x 273 cd ../build32x</userinput></screen> 248 274 249 275 <para>Rebuild glibc for x32-bit:</para> … … 258 284 --host=${LFS_TGTX32} \ 259 285 --enable-kernel=&min-kernel; \ 286 --with-headers=/tools/include \ 287 --with-binutils=/tools/bin \ 260 288 --enable-multi-arch \ 261 289 --libdir=/tools/libx32 \ 262 --libexecdir=/tools/libx32 \ 263 --with-headers=/tools/include \ 264 --with-binutils=/tools/bin</userinput></screen> 290 --libexecdir=/tools/libx32</userinput></screen> 265 291 <!-- \ 266 292 libc_cv_forced_unwind=yes \ 267 293 libc_cv_c_cleanup=yes</userinput></screen> --> 294 295 <variablelist> 296 <title>The meaning of the extra configure options:</title> 297 298 <varlistentry> 299 <term><parameter>--enable-multi-arch</parameter></term> 300 <listitem> 301 <para>Enables glibc for multiarch environments.</para> 302 </listitem> 303 </varlistentry> 304 305 <varlistentry> 306 <term><parameter>--libdir=/tools/libx32, --libexecdir=/tools/libx32</parameter></term> 307 <listitem> 308 <para>Overrides location for installing x32-bit files.</para> 309 </listitem> 310 </varlistentry> 311 312 <varlistentry> 313 <term><parameter>--with-binutils=/tools/bin</parameter></term> 314 <listitem> 315 <para>This tells Glibc to compile itself against the utilities 316 found within our "tools" heirachy, because otherwise...</para> 317 </listitem> 318 </varlistentry> 319 320 </variablelist> 268 321 269 322 <para>Now compile the x32-bit version of glibc:</para> -
chapter05/libstdc++.xml
r788f897 rbc12dcb 83 83 <term><parameter>--disable-libstdcxx-threads</parameter></term> 84 84 <listitem> 85 <para>Since we have not yet built the C threads library, the C++86 onecannot be built either.</para>85 <para>Since gcc-pass1 is built without thread support, the C++ 86 thread library cannot be built either.</para> 87 87 </listitem> 88 88 </varlistentry> -
chapter06/createfiles.xml
r788f897 rbc12dcb 47 47 ln -sv bash /bin/sh</userinput></screen> 48 48 49 <para arch="ml_32,ml_ x32,ml_all">32-bit builds also require these links:</para>50 51 <screen arch="ml_32,ml_ x32,ml_all"><userinput arch="ml_32,ml_all">ln -sv /tools/lib32/libgcc_s.so{,.1} /usr/lib3249 <para arch="ml_32,ml_all">32-bit builds also require these links:</para> 50 51 <screen arch="ml_32,ml_all"><userinput arch="ml_32,ml_all">ln -sv /tools/lib32/libgcc_s.so{,.1} /usr/lib32 52 52 ln -sv /tools/lib32/libstdc++.{a,so{,.6}} /usr/lib32</userinput></screen> 53 53 -
chapter06/gcc.xml
r788f897 rbc12dcb 65 65 66 66 <!-- Following patch might be obsolete with gcc >= 8.2.1 --> 67 <!-- 67 68 <para>Fix an issue with isl-&isl-version;:</para> 68 69 69 70 <screen><userinput remap="pre">sed -e "/#include <isl\/schedule_node.h>/ a#include <isl/id.h>\n#include <isl/space.h>" \ 70 71 -i gcc/graphite.h</userinput></screen> 72 --> 71 73 72 74 <para> -
packages.ent
r788f897 rbc12dcb 358 358 <!ENTITY iproute2-ch6-sbu "0.2 SBU"> 359 359 360 <!ENTITY isl-version "0.22 ">360 <!ENTITY isl-version "0.22.1"> 361 361 <!ENTITY isl-size "1.6 MB"> 362 362 <!ENTITY isl-url "http://isl.gforge.inria.fr/isl-&isl-version;.tar.xz"> 363 <!ENTITY isl-md5 " ce103a7924ef31f1ff47b7ac868f434b">363 <!ENTITY isl-md5 "6e124849a9b62e3e2d5d51e955323f6e"> 364 364 <!ENTITY isl-home "http://isl.gforge.inria.fr/"> 365 365 <!ENTITY isl-ch6-du "20 MB"> … … 450 450 <!ENTITY linux-headers-ch6-sbu "0.1 SBU"> 451 451 452 <!ENTITY linux-firmware-version "20 191026">453 <!ENTITY linux-firmware-size " 91,572 KB">452 <!ENTITY linux-firmware-version "20200219"> 453 <!ENTITY linux-firmware-size "107 MB"> 454 454 <!ENTITY linux-firmware-url "http://www.linuxfromscratch.org/~dj/linux-firmware-&linux-firmware-version;.tar.xz"> 455 <!ENTITY linux-firmware-md5 " 079dcff9c13cccddb40cbfc392f7a790">455 <!ENTITY linux-firmware-md5 "6f0bc3f1daa494c4c4c7c7578da92030"> 456 456 <!ENTITY linux-firmware-home "http://www.kernel.org/"> 457 <!ENTITY linux-firmware-ch6-du "582 MB"> 458 <!ENTITY linux-firmware-ch6-sbu "0.1 SBU"> 457 <!ENTITY linux-firmware-ch5-du "520 MB"> 458 <!ENTITY linux-firmware-ch5-sbu "0.1 SBU"> 459 <!ENTITY linux-firmware-ch6-du "&linux-firmware-ch5-du;"> 460 <!ENTITY linux-firmware-ch6-sbu "&linux-firmware-ch5-sbu;"> 459 461 460 462 <!ENTITY m4-version "1.4.18">
Note:
See TracChangeset
for help on using the changeset viewer.