From owner-freebsd-ports@FreeBSD.ORG Tue Apr 22 13:09:12 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 831271065673 for ; Tue, 22 Apr 2008 13:09:12 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id 488AA8FC33 for ; Tue, 22 Apr 2008 13:09:11 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id Gbmm1Z00217UAYkA307200; Tue, 22 Apr 2008 12:50:19 +0000 Received: from discordia ([24.60.135.75]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id Gct81Z0051dmTCQ8Z00000; Tue, 22 Apr 2008 12:53:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=hOSlzImftxMA:10 a=SWg00rOMAAAA:8 a=xe8BsctaAAAA:8 a=xFg3n7baQ2KmC5iEUfwA:9 a=0_vGz5FJMnC0A6lBu_0A:7 a=5TbdEeGyKx3nrLi9JH6uPRGCAH0A:4 a=3_5TX_vZOqAA:10 a=LY0hPdMaydYA:10 a=H-Yapdl1zL2Of3JgDtMA:9 a=1qetyR4MqCOVvqkruLJVPyIsr4AA:4 a=rPt6xJ-oxjAA:10 Received: by discordia (Postfix, from userid 103) id 565721DB2F9; Tue, 22 Apr 2008 08:53:08 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 25D5A1DB2F9; Tue, 22 Apr 2008 08:52:50 -0400 (EDT) From: Coleman Kane To: d@delphij.net In-Reply-To: <480D0FAD.2050309@delphij.net> References: <47CDD627.2020808@cokane.org> <20080305044953.GA14420@mail.irbisnet.ru> <47CFE32C.30100@FreeBSD.org> <480D0FAD.2050309@delphij.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pv/NhX+F3tmsxch8kf9y" Organization: FreeBSD Project Date: Tue, 22 Apr 2008 08:52:20 -0400 Message-Id: <1208868740.3060.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 FreeBSD GNOME Team Port Cc: Marcin Cieslak , freebsd-ports@freebsd.org Subject: Re: Thunderbird, enigmail, and GCC 3.4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 13:09:12 -0000 --=-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 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 > -#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--