Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gcc.xml

    r5f2ba8c r340e17a  
    4141  <sect2 role="installation">
    4242    <title>Installation of GCC</title>
    43 <!--
    44     <para>At first, fix an issue breaking
    45     <filename class="libraryfile">libasan.a</filename> building this package
    46     with Glibc-2.34 or later:</para>
    47 
    48 <screen><userinput remap="pre">sed -e '/static.*SIGSTKSZ/d' \
    49     -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \
    50     -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp</userinput></screen>
    51 -->
    52 <!--
    53     <para>First fix a problem with the latest version of glibc:</para>
    54 
    55     <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
    56 -->
     43
    5744    <para>If building on x86_64, change the default directory name for 64-bit
    5845    libraries to <quote>lib</quote>:</para>
     
    7764             --enable-default-pie     \
    7865             --enable-default-ssp     \
     66             --enable-host-pie        \
    7967             --disable-multilib       \
    8068             --disable-bootstrap      \
     
    148136      important, but it takes a long time. First-time builders are
    149137      encouraged to run the test suite.  The time to run the tests can be
    150       reduced significantly by adding -jx to the <command>make -k check</command> command below,
    151       where x is the number of CPU cores on your system.</para>
     138      reduced significantly by adding -jx to the <command>make -k check</command>
     139      command below, where x is the number of CPU cores on your system.</para>
    152140    </important>
    153141
     
    156144
    157145<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
     146
     147    <para>Now remove/fix several known test failures:</para>
     148
     149<screen><userinput remap="test">sed -e '/cpython/d'               -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp
     150sed -e 's/no-pic /&amp;-no-pie /'     -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c
     151sed -e 's/300000/(1|300000)/'     -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c
     152sed -e 's/{ target nonpic } //' \
     153    -e '/GOTPCREL/d'              -i ../gcc/testsuite/gcc.target/i386/fentryname3.c</userinput></screen>
    158154
    159155    <para>Test the results as a non-privileged user, but do not stop at errors:</para>
     
    172168    url="&test-results;"/> and
    173169    <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
    174 
     170<!--
    175171    <para>
    176172    Eight gcc tests (out of over 185,000):
    177     <!-- https://gcc.gnu.org/PR106375 --><filename>pr56837.c</filename>
     173    <!- - https://gcc.gnu.org/PR106375 - -><filename>pr56837.c</filename>
    178174    and seven tests in the <filename class='directory'>analyzer</filename>
    179175    directory are known to fail.
    180176
    181     <!-- https://gcc.gnu.org/PR109353 -->
     177    <!- - https://gcc.gnu.org/PR109353 - ->
    182178    One libstdc++ test (out of over 15000), <filename>copy.cc</filename>, is
    183179    known to fail.
     
    191187    <filename class='directory'>vect</filename> directory are known to fail
    192188    if the hardware does not support AVX.</para>
    193 
    194     <para>A few unexpected failures cannot always be avoided. The GCC developers
    195     are usually aware of these issues, but have not resolved them yet.
     189-->
     190    <para>A few unexpected failures cannot always be avoided. In some cases
     191    test failures depend on the specific hardware of the system.<!--The GCC developers
     192    are usually aware of these issues, but have not resolved them yet.-->
    196193    Unless the test results are vastly different from those at the above URL,
    197194    it is safe to continue.</para>
Note: See TracChangeset for help on using the changeset viewer.