Changeset f764a88


Ignore:
Timestamp:
10/08/2023 06:32:13 PM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
6aa83d8
Parents:
1f27b71c
git-author:
Xi Ruoyao <xry111@…> (10/08/2023 06:27:38 PM)
git-committer:
Xi Ruoyao <xry111@…> (10/08/2023 06:32:13 PM)
Message:

Update to rustc-1.73.0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    r1f27b71c rf764a88  
    77  <!ENTITY rust-download-http "https://static.rust-lang.org/dist/rustc-&rust-version;-src.tar.xz">
    88  <!ENTITY rust-download-ftp  " ">
    9   <!ENTITY rust-md5sum        "4125b8bf1b0bc6a520f8ec21252322e7">
    10   <!ENTITY rust-size          "145 MB">
     9  <!ENTITY rust-md5sum        "2b5fd1623a6591c3e31eaec674ccc81c">
     10  <!ENTITY rust-size          "148 MB">
    1111  <!ENTITY rust-buildsize     "8.9 GB (292 MB installed); add 6.4 GB if running the tests">
    1212  <!ENTITY rust-time          "6.7 SBU (including download time; add 6.2 SBU for tests, both using parallelism=8)">
     
    310310
    311311    <para>
    312       Adapt rustc to allow it to build and function with the changes in
    313       LLVM-17:
    314     </para>
    315 
    316 <screen><userinput remap="pre">sed 's/FS,/"", &amp;/'                                        \
    317     -i ./compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp &amp;&amp;
    318 sed '/LLVMContext.h/i#include "llvm/ADT/SmallString.h"'   \
    319     -i compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp</userinput></screen>
    320 
    321     <para>
    322312      Compile <application>Rust</application> by running the following
    323313      commands:
     
    348338    </para>
    349339
    350 <screen remap="test"><userinput>mkdir -pv .github/workflows                    &amp;&amp;
    351 python3 x.py run src/tools/expand-yaml-anchors &amp;&amp;
    352 SSL_CERT_DIR=/etc/ssl/certs                    \
     340<screen remap="test"><userinput>SSL_CERT_DIR=/etc/ssl/certs \
    353341python3 x.py test --verbose --no-fail-fast | tee rustc-testlog</userinput></screen>
    354 
    355     <!-- https://github.com/rust-lang/rust/issues/112209
    356          I only saw 2 failures with 1.71.1, but Rainer saw 6 ones.
    357          I don't want to find out the maximum number (by building rustc
    358          in somewhere like /a/very/long/long/long/.../long/path) so I'd
    359          just omit the exact number of failures here. -->
    360     <para>
    361       Some <literal>ui</literal> tests may fail (the number of failures
    362       depends on the length of the absolute path to the
    363       <filename class='directory'>rustc-&rust-version;-src</filename>
    364       directory).  These failures can be identified by viewing the
    365       <filename>rustc-testlog</filename> file and search for the
    366       <computeroutput>note: the full type name has been written
    367       to</computeroutput>... messages and they can be safely ignored.
    368     </para>
    369342
    370343    <!-- https://github.com/rust-lang/rust/pull/115869 -->
     
    372345      The test named <filename>tests/ui/issues/issue-21763.rs</filename>
    373346      is known to fail.
    374     </para>
    375 
    376     <para>
    377       With LLVM-17, the tests named
    378       <!-- https://github.com/rust-lang/rust/issues/109671 -->
    379       <filename>tests/ui/abi/stack-protector.rs</filename> and
    380       <!-- https://github.com/rust-lang/rust/pull/105545 -->
    381       <filename>tests/ui/dyn-star/llvm-old-style-ptrs.rs</filename> are
    382       known to fail.
    383347    </para>
    384348
     
    388352      will fail.
    389353    </para>
    390 
    391     <para>
    392       On some systems, scripting the tests may result in the tests hanging on
    393       <filename>test: combine_install_with_separate_uninstall</filename>. If
    394       this happens, the problem can be worked around by pressing the Enter key.
    395       The test can also be removed with:
    396     </para>
    397 
    398 <screen role="nodump"><userinput>sed -e '/runtest combine_install_with/s/^/#/g' -i src/tools/rust-installer/test.sh</userinput></screen>
    399354
    400355    <para>
     
    453408<screen role='root'><userinput>python3 x.py install</userinput></screen>
    454409
    455     <!-- TODO: Report to upstream if this persists in the next release -->
     410    <!-- https://github.com/rust-lang/rust/issues/115213 -->
    456411    <para>
    457412      The building system attempts to install some files twice, and during
  • introduction/welcome/changelog.xml

    r1f27b71c rf764a88  
    4343      <itemizedlist>
    4444        <listitem>
     45          <para>[xry111] - Update to rustc-1.73.0.  Fixes
     46          <ulink url="&blfs-ticket-root;18613">#18613</ulink>.</para>
     47        </listitem>
     48        <listitem>
    4549          <para>[thomas] - Update php-8.2.11.  Fixes
    4650          <ulink url="&blfs-ticket-root;18647">#18647</ulink>.</para>
  • packages.ent

    r1f27b71c rf764a88  
    350350<!ENTITY ruby-version                 "&ruby-minor-version;.&ruby-patch-version;">
    351351<!ENTITY ruby-gemdir                  "/usr/lib/ruby/gems/&ruby-minor-version;.0">
    352 <!ENTITY rust-version                 "1.72.0">
     352<!ENTITY rust-version                 "1.73.0">
    353353<!ENTITY scons-version                "4.5.2">
    354354<!ENTITY slang-version                "2.3.3">
Note: See TracChangeset for help on using the changeset viewer.