Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 08:52:20 -0400
From:      Coleman Kane <cokane@FreeBSD.org>
To:        d@delphij.net
Cc:        Marcin Cieslak <saper@system.pl>, freebsd-ports@freebsd.org
Subject:   Re: Thunderbird, enigmail, and GCC 3.4
Message-ID:  <1208868740.3060.9.camel@localhost>
In-Reply-To: <480D0FAD.2050309@delphij.net>
References:  <47CDD627.2020808@cokane.org> <20080305044953.GA14420@mail.irbisnet.ru>	<fqm549$ckf$1@ger.gmane.org> <47CFE32C.30100@FreeBSD.org>  <480D0FAD.2050309@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-pv/NhX+F3tmsxch8kf9y
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2008-04-21 at 15:05 -0700, Xin LI wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi, Coleman,
>=20
> Finally I caught the issue for thunderbird.  It was due to the
> difference between our floating point handling and Linux's counterpart.
> ~ The patch attached would fix the problem at thunderbird part.
>=20
> Unfortunately enigmail plugin compiled with gcc 4.x as shipped with
> FreeBSD 7.0+ would still crash with Signal 11, but with gcc 3.4 it would
> work fine.  I have not yet figured out why this would happen...
>=20
> Cheers,
> - --
> Xin LI <delphij@delphij.net>	http://www.delphij.net/
> FreeBSD - The Power to Serve!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.8 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>=20
> iEUEARECAAYFAkgND6wACgkQi+vbBBjt66D0awCY4lzwwwmAaOLuoGEVo9OEHI8u
> ZwCfUi2KfOWUR3GFFCSiba6g5YK/sjg=3D
> =3DwLNg
> -----END PGP SIGNATURE-----
> plain text document attachment (thunderbird.diff)
> Index: Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /home/ncvs/ports/mail/thunderbird/Makefile,v
> retrieving revision 1.90
> diff -u -p -r1.90 Makefile
> --- Makefile	19 Apr 2008 17:51:46 -0000	1.90
> +++ Makefile	21 Apr 2008 21:58:18 -0000
> @@ -8,7 +8,7 @@
> =20
>  PORTNAME=3D	thunderbird
>  DISTVERSION=3D	2.0.0.12
> -PORTREVISION=3D	2
> +PORTREVISION=3D	3
>  CATEGORIES=3D	mail ipv6
>  MASTER_SITES=3D	${MASTER_SITE_MOZILLA_EXTENDED}
>  MASTER_SITE_SUBDIR=3D	thunderbird/releases/${DISTVERSION}/source
> Index: files/patch-Double.cpp
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /home/ncvs/ports/mail/thunderbird/files/patch-Double.cpp,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-Double.cpp
> --- files/patch-Double.cpp	16 Nov 2003 18:55:33 -0000	1.2
> +++ files/patch-Double.cpp	21 Apr 2008 21:05:06 -0000
> @@ -1,20 +1,20 @@
> ---- extensions/transformiix/source/base/Double.cpp.orig	Thu Jan 30 09:26=
:46 2003
> -+++ extensions/transformiix/source/base/Double.cpp	Sun Nov 16 01:46:42 2=
003
> -@@ -51,10 +51,10 @@
> +--- extensions/transformiix/source/base/Double.cpp.orig	2006-06-22 12:13=
:00.000000000 -0700
> ++++ extensions/transformiix/source/base/Double.cpp	2008-04-21 14:04:37.5=
40570448 -0700
> +@@ -52,10 +52,10 @@
>   //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
>   #ifdef __FreeBSD__
>   #include <ieeefp.h>
>  -#ifdef __alpha__
>  -fp_except_t allmask =3D FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
>  -#else
> -+#if defined(__i386__)
> ++#if defined(__i386__) || defined(__amd64__)
>   fp_except_t allmask =3D FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_=
X_DNML;
>  +#else
>  +fp_except_t allmask =3D FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
>   #endif
>   fp_except_t oldmask =3D fpsetmask(~allmask);
>   #endif
> -@@ -75,22 +75,31 @@
> +@@ -115,22 +115,31 @@
>   #define TX_DOUBLE_HI32_EXPMASK   0x7ff00000
>   #define TX_DOUBLE_HI32_MANTMASK  0x000fffff

Hi Xin Li,

I am only now coming into this (and it seems that a significant number
of people have already reported on it). I can confirm that I've tried TB
and Enigmail from ports, and ever since around the time that 2.0.0.12
was brought in, I cannot get enigmail to work no matter what combination
of USE_GCC I have between mail/thunderbird and
mail/enigmail-thunderbird. I am using 8.0-CURRENT as of about four days
ago (just after sos@ imported the last of the sys/dev/ata fixes).

Since that time, I have managed to bring in some fixes to devel/glib20
that fix the shared-object module loading that used to make evolution
take 10 minutes to start up (seriously!). In addition, I sent some fixes
over to the seahorse crowd (and committed them to our seahorse port) to
fix breakage when using seahorse-agent w/ GnuPG. This allowed me to
finally use Evolution+GnuPG together.

I'll try the patch below on enigmail w/ TB to see if it fixes the
breakage in enigmail-tb for me now... but I may take a couple days time
getting reports back to you.

--=20
Coleman Kane

--=-pv/NhX+F3tmsxch8kf9y
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkgN33oACgkQcMSxQcXat5cu3ACeKWgHHVnzmSzpNdZKMB3avW2J
sl8AnjdZt4ATlFna8PVHxxmokXcEY9zy
=VN1C
-----END PGP SIGNATURE-----

--=-pv/NhX+F3tmsxch8kf9y--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1208868740.3060.9.camel>