Firefox does not build with gcc45
Zhihao Yuan
lichray at gmail.com
Fri Mar 25 21:45:40 UTC 2011
On Fri, Mar 25, 2011 at 11:57 AM, Pan Tsu <inyaoo at gmail.com> wrote:
> Zhihao Yuan <lichray at 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 \
> %%
>
It works fine with system-nss. So what's the difference of using
system nss or the bundled one? Performance? Stability?
--
Zhihao Yuan
The best way to predict the future is to invent it.
More information about the freebsd-gecko
mailing list