Ignore:
Timestamp:
06/26/2016 07:31:33 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, 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:
f9fb8ed
Parents:
7594f10
Message:

Added build-fix for Thunderbird-45.1.1 with GCC-6.1.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/other/thunderbird.xml

    r7594f10 r773ef6d  
    7272      </listitem>
    7373    </itemizedlist>
    74 <!--
     74
    7575    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    7676    <itemizedlist spacing="compact">
    7777      <listitem>
    7878        <para>
    79           Required patch, if building with gcc-5:
    80           <ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc5-1.patch"/>
    81         </para>
    82       </listitem>
    83     </itemizedlist>-->
     79          Required patch, if building with gcc-6:
     80          <ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc6-1.patch"/>
     81        </para>
     82      </listitem>
     83    </itemizedlist>
    8484
    8585    <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
     
    246246<!-- might be necessary
    247247test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&-->
     248    <para>Fix some issues with GCC-6.1:</para>
     249
     250<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-gcc6-1.patch</userinput></screen>
     251
    248252    <para>
    249253      Compile <application>Thunderbird</application> by issuing the following
     
    256260    </para></note>
    257261
    258 <screen><userinput>make -f client.mk</userinput></screen>
     262<screen><userinput>CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
     263CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
     264make -f client.mk</userinput></screen>
    259265
    260266    <para>
     
    293299      fix i686 builds and preserve the optimization on x86_64.
    294300    </para>-->
     301
     302    <para>
     303      <command>CFLAGS= ... CXXFLAGS= ...</command>: These settings work around
     304      code which gcc6 would otherwise regard as out-of-specification and allow
     305      it to produce a working program.
     306    </para>
    295307
    296308    <para>
Note: See TracChangeset for help on using the changeset viewer.