I'm using the mail-client/thunderbird-45.3.0-r2 from the mozilla overlay. I cannot start the program because I get a segmentation fault. This doesn't happen with a clean profile. It only happens with my current working profile. I'm going to attach some gdb logs next.
Created attachment 448078 [details] emerge --info
Created attachment 448080 [details] gdb log (basic version)
Created attachment 448082 [details] gdb log (full version) Log with the output of the "thread apply all bt full" gdb command.
In order to obtain the previous gdb logs I had to rebuild thunderbird and glibc with the following environmental variables: CFLAGS="-march=native -O2 -ggdb -pipe" CXXFLAGS="${CFLAGS}" FEATURES="${FEATURES} nostrip" ---------------------- $ emerge -pv thunderbird glibc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R #] mail-client/thunderbird-45.3.0-r2::mozilla USE="crypt dbus ffmpeg gstreamer jemalloc3 jit ldap minimal pulseaudio startup-notification -bindist -custom-cflags -custom-optimization -debug -gstreamer-0 -hardened -lightning -mozdom (-neon) (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite" L10N="-ar -ast -be -bg -bn-BD -br -ca -cs -cy -da -de -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -ta-LK -tr -uk -vi -zh-CN -zh-TW" 0 KiB [ebuild R ] sys-libs/glibc-2.23-r2:2.2::gentoo USE="(multilib) rpc -audit -caps -debug -gd (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla" 0 KiB Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB ------------------------- The only reason I'm using thunderbird from the mozilla overlay instead of the ebuild in the official tree is because the latter still cannot be built with GCC 6.2.0. See bug: https://bugs.gentoo.org/show_bug.cgi?id=592586
(In reply to Francesco Turco from comment #4) > In order to obtain the previous gdb logs I had to rebuild thunderbird and > glibc with the following environmental variables: > > CFLAGS="-march=native -O2 -ggdb -pipe" > CXXFLAGS="${CFLAGS}" > FEATURES="${FEATURES} nostrip" > > ---------------------- > > $ emerge -pv thunderbird glibc > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R #] mail-client/thunderbird-45.3.0-r2::mozilla USE="crypt dbus > ffmpeg gstreamer jemalloc3 jit ldap minimal pulseaudio startup-notification > -bindist -custom-cflags -custom-optimization -debug -gstreamer-0 -hardened > -lightning -mozdom (-neon) (-selinux) (-system-cairo) -system-harfbuzz > -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite" > L10N="-ar -ast -be -bg -bn-BD -br -ca -cs -cy -da -de -el -en-GB -es-AR > -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja > -ko -lt -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr > -sv -ta-LK -tr -uk -vi -zh-CN -zh-TW" 0 KiB > [ebuild R ] sys-libs/glibc-2.23-r2:2.2::gentoo USE="(multilib) rpc > -audit -caps -debug -gd (-hardened) -nscd -profile (-selinux) -suid > -systemtap -vanilla" 0 KiB > > Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB > > ------------------------- > > The only reason I'm using thunderbird from the mozilla overlay instead of > the ebuild in the official tree is because the latter still cannot be built > with GCC 6.2.0. See bug: https://bugs.gentoo.org/show_bug.cgi?id=592586 The overlay isn't correct either IMO, it needs to append proper flags so you will not see a segfault. I will try and complete it today sometime.
I upgraded to mail-client/thunderbird-45.4.0 from the official repository but I still cannot start it due to a segmentation fault.
(In reply to Francesco Turco from comment #6) > I upgraded to mail-client/thunderbird-45.4.0 from the official repository > but I still cannot start it due to a segmentation fault. Sorry for the delay, however the flags we need to adjust to fix this are still pending. We will post back to this bug as soon as it's resolved.
Created attachment 449666 [details, diff] gcc-6 support patch Feel free to apply and test, please let us know your results.
(In reply to Jory A. Pratt from comment #8) > Created attachment 449666 [details, diff] [details, diff] > gcc-6 support patch > > Feel free to apply and test, please let us know your results. I've just added this patch to the eclass on mozilla-overlay, to make it easier to test on other packages as well.
The patch contains a small typo: fno-delete-null-pointer-checks should have a dash in front of it. Testing it right now.
(In reply to Francesco Turco from comment #10) > The patch contains a small typo: fno-delete-null-pointer-checks should have > a dash in front of it. > > Testing it right now. You are absolutely correct, I posted the wrong version of patch sorry.
I just finished rebuilding thunderbird-45-4-0. It doesn't crash anymore at startup.
I tried the patch with thunderbird-45.4.0 in official gentoo branch and now my Thunderbird works again. So I think this patch (with the fixed dash) could go upstream.
I have just pushed the gcc-6 flag support to main tree thanks for reporting.