Ignore:
Timestamp:
08/19/2022 04:41:48 AM (21 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
aff530ed, c84195d, f2af13d
Parents:
d94f2d0
Message:

Remove libtool archive (.la) files in Chapter 5 and 6

They are really harmful. In Binutils pass 2, libstdc++.la caused the
building system to use host /usr/lib/libstdc++.so for gprofng. We now
has disabled gprofng for pass 2, but the similar issue also exists in
GCC pass 2. In a normal LFS build, the building system silently uses
/usr/lib/libstdc++.so (I guess it does not blow up simply because some
blind luck); in a real cross build (x86 -> ARM for example) the build
will fail.

Remove the .la files to fix this issue. Instead of only modifying
clfs-ng, it makes more sense to apply the change for trunk: though
the build does not fail, using host library is still a contamination.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rd94f2d0 r6099a471  
    4242
    4343    <listitem>
     44      <para>2022-08-18</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[xry111] - Remove libtool archive (.la) files in Chapter 5
     48          and 6 because those files are harmful for cross compilation.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    4454      <para>2022-08-11</para>
    4555      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.