Changeset 217802b


Ignore:
Timestamp:
08/19/2024 05:56:08 AM (4 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib
Children:
d1ccec2
Parents:
8377317
git-author:
Xi Ruoyao <xry111@…> (08/18/2024 01:03:47 PM)
git-committer:
Xi Ruoyao <xry111@…> (08/19/2024 05:56:08 AM)
Message:

gcc-pass2: Fix description of LDFLAGS_FOR_TARGET=

Pass 2 libstdc++ still links to libgcc.a even with LDFLAGS_FOR_TARGET=,
despite this libgcc.a is from pass 2 instead of pass 1.

The difference between pass 2 libgcc and pass 1 libgcc is Glibc wasn't
installed when the pass 1 libgcc was built. This difference causes both
consequences (1) pass 1 libgcc lacks shared library and (2) pass 1
libgcc cannot support C++ EH, but it's not (1) causing (2).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc-pass2.xml

    r8377317 r217802b  
    139139        <listitem>
    140140          <para>Allow <filename class="libraryfile">libstdc++</filename> to
    141           use the shared <filename class="libraryfile">libgcc</filename> being
    142           built in this pass, instead of the static version that was built in GCC
    143           pass 1. This is necessary to support C++ exception
    144           handling.</para>
     141          use the <filename class="libraryfile">libgcc</filename> being
     142          built in this pass, instead of the previous version built in
     143          <xref linkend='ch-tools-gcc-pass1'/>.  The previous version cannot
     144          properly support C++ exception handling because it was built
     145          without libc support.</para>
    145146        </listitem>
    146147      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.