Date: Fri, 25 Mar 2011 19:57:58 +0300 From: Pan Tsu <inyaoo@gmail.com> To: Zhihao Yuan <lichray@gmail.com> Cc: freebsd-gecko@freebsd.org Subject: Re: Firefox does not build with gcc45 Message-ID: <86pqpfcf3d.fsf@gmail.com> In-Reply-To: <AANLkTi=vgxLHw7TvOyJ8zAOpfigG9=ph7OVSFKh9b8-Z@mail.gmail.com> (Zhihao Yuan's message of "Fri, 25 Mar 2011 02:27:29 -0500") References: <AANLkTi=vgxLHw7TvOyJ8zAOpfigG9=ph7OVSFKh9b8-Z@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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-freebsd8.2/security/manager/../../dist/lib/libfreebl3.so
> moduleSpec configdir='' certPrefix='' keyPrefix='' secmod=''
> flags=noCertDB, noModDB
> Generate a DSA key pair ...
> Library File: /home/lichray/temp/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/nss/freebl/FreeBSD_SINGLE_SHLIB/libfreebl3.so
> 376337 bytes
> Check File: /home/lichray/temp/firefox/work/mozilla-2.0/obj-amd64-unknown-freebsd8.2/nss/freebl/FreeBSD_SINGLE_SHLIB/libfreebl3.chk
> Link: libfreebl3.chk
> hash: 20 bytes
> 78 d7 55 ce 21 79 d2 ff 3e f2
> e8 06 a7 20 5e 96 2b d3 4b db
> signature: 40 bytes
> 5a 7b a1 8a 63 79 bd aa ba b7
> 17 29 26 3f b2 a7 de 1c e8 c9
> 40 4e 36 5e 48 e5 60 32 15 d5
> 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-unknown-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
===================================================================
RCS file: /a/.cvsup/ports/www/firefox/Makefile,v
retrieving revision 1.239
diff -u -p -r1.239 Makefile
--- www/firefox/Makefile 24 Mar 2011 11:04:17 -0000 1.239
+++ www/firefox/Makefile 25 Mar 2011 16:55:14 -0000
@@ -22,7 +22,7 @@ BUILD_DEPENDS= nspr>=4.8.7:${PORTSDIR}/d
USE_AUTOTOOLS= autoconf213
USE_GECKO= gecko
MOZ_PKGCONFIG_FILES= # empty
-USE_MOZILLA= -png -nss -dbm -jpeg -xft
+USE_MOZILLA= -png -dbm -jpeg -xft
MOZILLA_NAME= Firefox
MOZ_TOOLKIT= cairo-gtk2
GECKO_PLIST_PRE_DIRS= lib/${MOZILLA}/bin lib/${MOZILLA}/idl \
%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86pqpfcf3d.fsf>
