Changeset 218e13c


Ignore:
Timestamp:
03/25/2023 11:36:50 PM (3 months ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
qt5new, trunk
Children:
d1e4f43
Parents:
0f8922e
Message:

Revert back to LLVM-15.0.7 for now.

This should fix miscompilations and crashes with Thunderbird and
Firefox.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r0f8922e r218e13c  
    99  <!ENTITY llvm-download-http "&llvm-url;/llvm-&llvm-version;.src.tar.xz">
    1010  <!ENTITY llvm-download-ftp  " ">
    11   <!ENTITY llvm-md5sum        "c465413aa9ab18837f40cc5750d39a33">
    12   <!ENTITY llvm-size          "54 MB">
    13   <!ENTITY llvm-buildsize     "4.0 GB (938 MB installed; add 17 GB for tests and 308 MB for documentation)">
     11  <!ENTITY llvm-md5sum        "c77db4c71e1eb267358204dffe2c6e10">
     12  <!ENTITY llvm-size          "50 MB">
     13  <!ENTITY llvm-buildsize     "2.7 GB (848 MB installed; add 18.3 GB for tests and 308 MB for documentation)">
    1414  <!ENTITY llvm-time          "24 SBU (Using parallelism=4; add 22 SBU for tests)">
    1515
    1616  <!ENTITY clang-download-http "&llvm-url;/clang-&llvm-version;.src.tar.xz">
    17   <!ENTITY clang-md5sum        "d38fd3897a0fd6dc396c973ba08662aa">
    18   <!ENTITY clang-size          "20 MB">
     17  <!ENTITY clang-md5sum        "a6d0141e50b48f5e60c682277dac83b4">
     18  <!ENTITY clang-size          "18 MB">
    1919
    2020  <!ENTITY compiler-rt-download-http "&llvm-url;/compiler-rt-&llvm-version;.src.tar.xz">
    21   <!ENTITY compiler-rt-md5sum        "5f0633ec762fed4f1e2c450b3654caa6">
     21  <!ENTITY compiler-rt-md5sum        "12e6777354f0121cbe73ef13342a9302">
    2222  <!ENTITY compiler-rt-size          "2.3 MB">
    2323
     
    2626
    2727  <!ENTITY cmake-llvm-download-http "&sources-anduin-http;/llvm/llvm-cmake-&llvm-version;.src.tar.xz">
    28   <!ENTITY cmake-llvm-md5sum         "b2103df1421f7bcc271fcacec27a24bb">
    29   <!ENTITY cmake-llvm-size           "12 KB">
    30 
     28  <!ENTITY cmake-llvm-md5sum         "c3647d253f67ce255e1aba014e528f5b">
     29  <!ENTITY cmake-llvm-size           "6.8 KB">
     30
     31  <!-- Kept in here for the 15.0.6 revert since it isn't used in instructions
     32       and should simplify upgrading again. -->
    3133  <!ENTITY llvm-3rdparty-download-http "&sources-anduin-http;/llvm/llvm-third-party-&llvm-version;.src.tar.xz">
    3234  <!ENTITY llvm-3rdparty-md5sum        "d51ad18774cb513b725d0945c667efb3">
     
    129131    </itemizedlist>
    130132
     133    <!-- LLVM-15.0.6 revert: Keep for when we use 16 again.
    131134    <para>
    132135      <emphasis role="strong">Third-party dependencies for LLVM build system</emphasis>
     
    149152      </listitem>
    150153    </itemizedlist>
    151 
     154    -->
    152155
    153156    <bridgehead renderas="sect3">Recommended Download</bridgehead>
     
    236239
    237240    <para>
     241      Starting with version 15.0.0, an additional tarball,
     242      <filename>llvm-cmake-&llvm-version;.src.tar.xz</filename> is needed.
     243      Upstream expects it extracted at the same level as the
     244      <filename>llvm-&llvm-version;.src.tar.xz</filename> tarball, and the
     245      extracted directory renamed to
     246      <filename class="directory">cmake</filename>. Extract it and
     247      modify the build system to avoid creating a directory outside of the
     248      <filename>llvm-&llvm-version;.src</filename> hierarchy:
     249    </para>
     250
     251    <!-- LLVM-15 revert: Delete the above text when upgrading.
     252    <para>
    238253      Two additional tarballs
    239254      <filename>llvm-cmake-&llvm-version;.src.tar.xz</filename> and
     
    249264      <filename>llvm-&llvm-version;.src</filename> hierarchy:
    250265    </para>
    251 
     266    -->
     267
     268<screen><userinput>tar -xf ../llvm-cmake-&llvm-version;.src.tar.xz &amp;&amp;
     269sed '/LLVM_COMMON_CMAKE_UTILS/s@../cmake@cmake-&llvm-version;.src@' \
     270    -i CMakeLists.txt</userinput></screen>
     271
     272<!-- LLVM-15 revert: Uncomment this and delete the above commands when
     273     upgrading back to LLVM-16.
    252274<screen><userinput>tar -xf ../llvm-cmake-&llvm-version;.src.tar.xz                              &amp;&amp;
    253275tar -xf ../llvm-third-party-&llvm-version;.src.tar.xz                        &amp;&amp;
     
    256278sed '/LLVM_THIRD_PARTY_DIR/s@../third-party@third-party-&llvm-version;.src@' \
    257279    -i cmake/modules/HandleLLVMOptions.cmake</userinput></screen>
     280-->
    258281
    259282    <para>
     
    291314<screen><userinput remap="pre">patch -Np2 -d tools/clang &lt;../clang-&llvm-version;-enable_default_ssp-1.patch</userinput></screen>
    292315
     316
     317<!-- LLVM-15 revert: Uncomment this when going back to LLVM-16.
    293318    <para>
    294319      If you have downloaded <application>compiler-rt</application>,
     
    299324<screen><userinput remap="pre">sed 's/clang_dfsan/&amp; -fno-stack-protector/' \
    300325    -i projects/compiler-rt/test/dfsan/origin_unaligned_memtrans.c</userinput></screen>
     326-->
    301327
    302328    <para>
  • introduction/welcome/changelog.xml

    r0f8922e r218e13c  
    3939    </listitem>
    4040    -->
     41   <listitem>
     42     <para>March 25th, 2023</para>
     43     <itemizedlist>
     44       <listitem>
     45         <para>[renodr] - Revert back to LLVM-15. Still leaves page
     46         modifications for LLVM-16 in place, just commented to make
     47         upgrading back to LLVM-16 easier. The revert is due to
     48         LLVM bugs leading to miscompilations in Thunderbird and Firefox.
     49         Fixes <ulink url="&blfs-ticket-root;17859">#17859</ulink>.</para>
     50       </listitem>
     51     </itemizedlist>
     52   </listitem>
     53
    4154   <listitem>
    4255     <para>Match 24th, 2023</para>
  • packages.ent

    r0f8922e r218e13c  
    319319<!ENTITY guile-version                "3.0.9">
    320320<!ENTITY librep-version               "0.92.7">
    321 <!ENTITY llvm-maj-version             "16">
    322 <!ENTITY llvm-point-version           "0">
     321<!ENTITY llvm-maj-version             "15">
     322<!ENTITY llvm-point-version           "7">
    323323<!ENTITY llvm-version                 "&llvm-maj-version;.0.&llvm-point-version;">
    324324<!ENTITY lua-version                  "5.4.4">
Note: See TracChangeset for help on using the changeset viewer.