From owner-freebsd-gecko@FreeBSD.ORG Fri Mar 25 21:45:40 2011 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D627106564A for ; Fri, 25 Mar 2011 21:45:40 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 375698FC0A for ; Fri, 25 Mar 2011 21:45:39 +0000 (UTC) Received: by qwc9 with SMTP id 9so1000917qwc.13 for ; Fri, 25 Mar 2011 14:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6pdPP79k20QrDM8TZmTuyXAXsHx/GT23X96BfUrvJ9c=; b=QSLN5W8LHDiqcPd/Z1pX51JnQiDaEyXCW+VRghiEQq0UNJTakEHC7EogTNpcBC61C+ b4D8UfKSKDJCjkw6eMbHVuS12mcGzSE5X70bFUYNPROFdnrAF+l/9feMzntLhKkOD20s 44AOG+qyff7tJ4pGhVmR+5L9+II0BbRjUC6Jg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cZpIzW/KVUQRhn+VKaPkQcBgQD5LS684jEcv4/9quG4K0iHrlKAswE6uxi4Umnpug9 qtvAELLWttP3FEKqSBOZLFhmPSiy1eG3T9qvYoqHH8Ah7VddIqZtlY98RMtSVaPRZFqx 8XMr/V3avgUc6H0iNzTMln29LrAMYjJXeH7WE= MIME-Version: 1.0 Received: by 10.224.41.11 with SMTP id m11mr1139203qae.155.1301087908114; Fri, 25 Mar 2011 14:18:28 -0700 (PDT) Received: by 10.224.20.19 with HTTP; Fri, 25 Mar 2011 14:18:28 -0700 (PDT) In-Reply-To: <86pqpfcf3d.fsf@gmail.com> References: <86pqpfcf3d.fsf@gmail.com> Date: Fri, 25 Mar 2011 16:18:28 -0500 Message-ID: From: Zhihao Yuan To: Pan Tsu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-gecko@freebsd.org Subject: Re: Firefox does not build with gcc45 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 21:45:40 -0000 On Fri, Mar 25, 2011 at 11:57 AM, Pan Tsu wrote: > Zhihao Yuan writes: > >> Hi, >> >> It seems that shlibsign keep crashes: >> >> /home/lichray/temp/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2= /nss/shlibsign >> -v -i /home/lichray/temp/firefox/work/mozilla-2.0/obj-amd64-unknown-free= bsd8.2/security/manager/../../dist/lib/libfreebl3.so >> moduleSpec configdir=3D'' certPrefix=3D'' keyPrefix=3D'' secmod=3D'' >> flags=3DnoCertDB, noModDB >> Generate a DSA key pair ... >> Library File: /home/lichray/temp/firefox/work/mozilla-2.0/obj-amd64-unkn= own-freebsd8.2/nss/freebl/FreeBSD_SINGLE_SHLIB/libfreebl3.so >> 376337 bytes >> Check File: /home/lichray/temp/firefox/work/mozilla-2.0/obj-amd64-unknow= n-freebsd8.2/nss/freebl/FreeBSD_SINGLE_SHLIB/libfreebl3.chk >> Link: libfreebl3.chk >> =C2=A0 hash: 20 bytes >> =C2=A0 =C2=A0 78 d7 55 ce 21 79 d2 ff 3e f2 >> =C2=A0 =C2=A0 e8 06 a7 20 5e 96 2b d3 4b db >> =C2=A0 signature: 40 bytes >> =C2=A0 =C2=A0 5a 7b a1 8a 63 79 bd aa ba b7 >> =C2=A0 =C2=A0 17 29 26 3f b2 a7 de 1c e8 c9 >> =C2=A0 =C2=A0 40 4e 36 5e 48 e5 60 32 15 d5 >> =C2=A0 =C2=A0 d7 39 96 5f 96 2c 52 a2 61 d9 >> Segmentation fault (core dumped) > > Have you tried using ports nss, not bundled one? I can't reproduce. > >> gmake[6]: *** [/home/lichray/temp/firefox/work/mozilla-2.0/obj-amd64-unk= nown-freebsd8.2/security/manager/../../dist/lib/libfreebl3.chk >> gmake[6]: Leaving directory >> `/home/lichray/temp/firefox/work/mozilla-2.0/security/nss/cmd/shlibsign' >> ... >> >> The error is the same when I build it under /usr/ports/www. >> When I issue the last command by hand, it seems that there is no >> crash. But the core file does belong to shlibsign: >> ./obj-amd64-unknown-freebsd8.2/dist/lib/shlibsign.core > > %% > Index: www/firefox/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: /a/.cvsup/ports/www/firefox/Makefile,v > retrieving revision 1.239 > diff -u -p -r1.239 Makefile > --- www/firefox/Makefile =C2=A0 =C2=A0 =C2=A0 =C2=A024 Mar 2011 11:04:17 = -0000 =C2=A0 =C2=A0 =C2=A01.239 > +++ www/firefox/Makefile =C2=A0 =C2=A0 =C2=A0 =C2=A025 Mar 2011 16:55:14 = -0000 > @@ -22,7 +22,7 @@ BUILD_DEPENDS=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0nspr>=3D4.8= .7:${PORTSDIR}/d > =C2=A0USE_AUTOTOOLS=3D autoconf213 > =C2=A0USE_GECKO=3D =C2=A0 =C2=A0 gecko > =C2=A0MOZ_PKGCONFIG_FILES=3D =C2=A0 # empty > -USE_MOZILLA=3D =C2=A0 -png -nss -dbm -jpeg -xft > +USE_MOZILLA=3D =C2=A0 -png -dbm -jpeg -xft > =C2=A0MOZILLA_NAME=3D =C2=A0Firefox > =C2=A0MOZ_TOOLKIT=3D =C2=A0 cairo-gtk2 > =C2=A0GECKO_PLIST_PRE_DIRS=3D =C2=A0lib/${MOZILLA}/bin lib/${MOZILLA}/idl= \ > %% > It works fine with system-nss. So what's the difference of using system nss or the bundled one? Performance? Stability? --=20 Zhihao Yuan The best way to predict the future is to invent it.