Changeset 925dbb2a


Ignore:
Timestamp:
11/01/2020 12:35:23 AM (3 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
b6b8e1e
Parents:
84b29ba
Message:

Various rewording in rustc:

Primarily, do not indicate that a few tests should be ignored.
Without gdb, or with gdb-9.2, only two testsreliably failed.
But with gdb-10.1, which is newer than this version of rust,
four extra failures have appeared because of changes in gdb.
We hold on to versions of rust, but we update gdb when that is
issued, so it semes likely that the number of failures from
newer gdb may increase. Ratherthan play whack-a-mole with
extra seds as tests are reproted to now fail, let them fail.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23857 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    r84b29ba r925dbb2a  
    130130        Rustc defaults to building for ALL supported architectures, using a
    131131        shipped copy of LLVM. In BLFS the build is only for the X86
    132         architecture. Rustc still claims to require Python 2, but that is only
    133         really necessary when building some other architectures with the
    134         shipped LLVM.
     132        architecture.
    135133        If you intend to develop rust crates, this build may not be good
    136134        enough for your purposes.
     
    303301
    304302    <para>
    305       Two of the tests reliably fail. To cause them to be ignored run the
    306       following sed command:
    307      </para>
    308 
    309 <screen><userinput>sed -i '1i # ignore-test' \
    310  src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile \
    311  src/test/run-make-fulldeps/long-linker-command-lines/Makefile</userinput></screen>
    312 
    313     <para>
    314303      Compile <application>Rust</application> by running the following
    315304      commands:
     
    337326
    338327    <para>
    339       Although no tests are now expected to fail, on an apparently successful
    340       build (gdb not installed) the testsuite reports that
    341       1 commands did not execute successfully.
    342       <!-- As with all large testsuites,-->
    343       Some tests might
    344       fail on some machines - if the number of failures is in the single digits,
     328      At a minimum, two tests (run-make-fulldeps/long-linker-command-lines
     329      and run-make-fulldeps/sysroot-crates-are-unstable) may fail.
     330      If a version of <command>gdb</command> which was released after this
     331      version of rust is used, such as <xref linkend="gdb"/>, four more failures
     332      (debuginfo/extern-c-fn.rs, debuginfo/generator-objects.rs,
     333      debuginfo/issue-57822.rs, debuginfo/pretty-huge-vec.rs) can be expected.
     334    </para>
     335
     336    <para>
     337      As with all large testsuites, other tests might fail on some machines -
     338      if the number of additional failures is in the single digits,
    345339      check the log for 'FAILED' and review lines above that, particularly the
    346340      'stderr:' lines. Any mention of
     
    352346      issue number then you should search for that issue.  For example, when
    353347      rustc &gt;= 1.41.1 was built with a version of sysllvm before 10.0 the test
    354       for issue 69225 fails <ulink
     348      for issue 69225 failed <ulink
    355349      url="https://github.com/rust-lang/rust/issues/69225"/> and that should be
    356350      regarded as a critical failure (they released 1.41.1 because of it).
     
    460454      messages can persuade people that the whole build failed.  However,
    461455      although it is not built in the main compile, with rustc-1.35.0 it
    462       now gets compiled during the install, but it  is broken in this version.
     456      now got compiled during the install, but it was broken in that version.
    463457      <!-- might be unbroken in 1.36.0, if so remove broken from description
    464458       of miri below. https://github.com/rust-lang/rust/issues/61830 -->
     459      Omitting it should save a little time.
    465460    </para>
    466461
Note: See TracChangeset for help on using the changeset viewer.