Date: Fri, 25 Mar 2011 16:18:28 -0500 From: Zhihao Yuan <lichray@gmail.com> To: Pan Tsu <inyaoo@gmail.com> Cc: freebsd-gecko@freebsd.org Subject: Re: Firefox does not build with gcc45 Message-ID: <AANLkTi=gezzq4AoY-PkfDudZ%2BPD%2BnAHvNb8EObyZ05V6@mail.gmail.com> In-Reply-To: <86pqpfcf3d.fsf@gmail.com> References: <AANLkTi=vgxLHw7TvOyJ8zAOpfigG9=ph7OVSFKh9b8-Z@mail.gmail.com> <86pqpfcf3d.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 25, 2011 at 11:57 AM, Pan Tsu <inyaoo@gmail.com> wrote: > Zhihao Yuan <lichray@gmail.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=gezzq4AoY-PkfDudZ%2BPD%2BnAHvNb8EObyZ05V6>