Ignore:
Timestamp:
03/31/2020 02:23:02 AM (4 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 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:
876948d
Parents:
73db5703
Message:

Update to rustc-1.42.0 to again use system llvm for a smaller build,
but indicate why system llvm is a bad idea if using earlier llvm.
Patch seamonkey for this rustc version, its build is much slower.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/seamonkey.xml

    r73db5703 r69d1a8e  
    1010  <!ENTITY seamonkey-size          "277 MB">
    1111  <!ENTITY seamonkey-buildsize     "6.9 GB (154 MB installed)">
    12   <!ENTITY seamonkey-time          "19 SBU (on a 4-core machine)">
     12  <!ENTITY seamonkey-time          "29 SBU (on a 4-core machine)">
    1313]>
    1414
     
    8080      </listitem>
    8181    </itemizedlist>
    82 <!--
     82
    8383    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    8484    <itemizedlist spacing="compact">
    8585      <listitem>
    8686        <para>
    87           Required patch if using gcc-6 or later
    88           <ulink url="&patch-root;/seamonkey-&seamonkey-version;-gcc6-1.patch"/>
     87          Required patch for building with rustc &gt;= 1.41
     88          <ulink url="&patch-root;/seamonkey-&seamonkey-version;-rust_fixes-1.patch"/>
    8989        </para>
    9090      </listitem>
    9191    </itemizedlist>
    92 -->
     92
    9393    <note>
    9494      <para>
     
    262262    </para></note>
    263263
     264    <para>
     265      Apply the patch to allow seamonkey to build with the current version of
     266      <command>rustc</command>:
     267    </para>
     268
     269<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-rust_fixes-1.patch</userinput></screen>
     270
    264271    <!--
    265272    <para>
     
    279286
    280287<screen><userinput>sed -i -e '/pid_t gettid/,+3 s@^@//@' mozilla/tools/profiler/core/platform.h</userinput></screen>
    281 
    282     <para>
    283       Now adapt the code for a change introduced in rustc-1.39.0:
    284     </para>
    285 
    286 <screen><userinput>sed -i '/deny(warnings)/d' mozilla/xpcom/rust/nsstring/src/lib.rs</userinput></screen>
    287288
    288289    <!-- Doesn't seem to be needed anymore with 2.53.1
     
    368369    </para>
    369370-->
    370     <para>
    371       <command>sed -i '/deny(warnings)/d' ...</command> : rust-1.39 deprecated
    372       the "try!" call in favour of "?" which causes warnings, nsstring was
    373       treating warnings as errors.
    374     </para>
    375 
    376371    <para>
    377372      <command>make -f client.mk</command>: Mozilla products are packaged to
Note: See TracChangeset for help on using the changeset viewer.