On 06/24/2016 01:40 PM, Paul J. Hentschel wrote:
On 24/06/16 16:00, Paul J. Hentschel wrote:
Has anyone built Thunderbird with gcc6 yet? The build fails for me using the
book instructions (2016-06-12, but the instructions don't appear to have
changed since then). I used the Firefox 46.0.1 instructions as a guide to
get it to build (sed commands and CXX=) but it is crashing on me when I try
to configure the email. I'm going to clean out everything and try again from
scratch, but wanted to know if anyone else has had any issues with it.
Paul Hentschel
Hi Paul
I build thunderbird 45.1.1 with effectively the same sed's and
C(XX)FLAGS options as stated on the firefox page
sed -e '/#include/i\
print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
-i nsprpub/config/make-system-wrappers.pl
sed -e '/#include/a\
print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
-i nsprpub/config/make-system-wrappers.pl
CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-
insns2"
CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-
insns2"
cheers
Martin
I see the flags have changed since Firefox 46.0.1, which is what I used
(CXX='g++ -std=c++11'). I'll give the new ones a try this time. Thanks!
Crashes continued for me with Lightening until I added the patch from
Mozilla bug 1232696. This is an incomplete fix, but is sufficient with
the CFLAGS we have for FF. Seems mixed in upstream application, with
different competing fixes in other upstream (which is still thoroughly
confusing - aroura and comm-central are way to far ahead to back port
easily). I also did not upgrade the included harfbuzz to 1.1.3, but just
the two fixes necessary for the included version. The same fix as
provided by the sed commands in the Firefox instructions are included in
the proposed combined patch located here:
http://www.linuxfromscratch.org/~dj/thunderbird-45.1.1-gcc6-1.patch
I haven't submitted yet as I haven't located the original source of the
harfbuzz build fix. I think I got it from OpenSUSE build (timber??), but
have been unable to locate it again. Also, not sure if SeaMonkey will
need the same fix.
Finally, if you built SQLite before three days ago, you need to rebuild
with -DSQLITE_ENABLE_FTS3_TOKENIZER=1, which Bruce has already taken
care of in the book. Thank you Bruce. I wasn't ignoring that bug, I just
got lost in the upstream Mozilla for a few days, ignoring a fix that had
been staring me right in the face (was unnecessarily attempting to find
the complete fix to get rid of -fno-lifetime-dse and
-fno-schedule-insns2). :-)
--DJ
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page