Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2015 01:27:48 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        John Marino <freebsd.contact@marino.st>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, marino@freebsd.org
Subject:   Re: svn commit: r394949 - head/Mk
Message-ID:  <7fom-6gzv-wny@FreeBSD.org>
References:  <201508211230.t7LCU41j050496@repo.freebsd.org> <55D86A2B.2000203@marino.st>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

John Marino <freebsd.contact@marino.st> writes:

> On 8/21/2015 2:30 PM, Jan Beich wrote:
>
>> Author: jbeich
>> Date: Fri Aug 21 12:30:03 2015
>> New Revision: 394949
>> URL: https://svnweb.freebsd.org/changeset/ports/394949
>>=20
>> Log:
>>   gecko: properly check OSVERSION against OPSYS [1]
>>=20=20=20
>>   Bundled jemalloc is left enabled for DragonFly due to lack of
>>   documented evidence it doesn't work: failed build log, crash
>>   fingerprint, upstream bug, etc. jemalloc upstream unlike its
>>   Mozilla fork (not used here) has better support for BSDs.
>>=20=20=20
>
> Here's the documented evidence.
>
> Stock bsd.gecko.mk:
> http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/20150822_041=
034/logs/errors/firefox-40.0_6,1.log
[...]
> Executing /wrkdirs/www/firefox/work/mozilla-release/obj-x86_64-portbld-dr=
agonfly4.3/dist/bin/xpcshell -g /wrkdirs/www/firefox/work/mozilla-release/o=
bj-x86_64-portbld-dragonfly4.3/dist/bin/ -a /wrkdirs/www/firefox/work/mozil=
la-release/obj-x86_64-portbld-dragonfly4.3/dist/bin/ -f /wrkdirs/www/firefo=
x/work/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e pre=
compile_startupcache("resource://gre/");
> Traceback (most recent call last):
>   File "/wrkdirs/www/firefox/work/mozilla-release/toolkit/mozapps/install=
er/packager.py", line 404, in <module>
>     main()
>   File "/wrkdirs/www/firefox/work/mozilla-release/toolkit/mozapps/install=
er/packager.py", line 398, in main
>     args.source, gre_path, base)
>   File "/wrkdirs/www/firefox/work/mozilla-release/toolkit/mozapps/install=
er/packager.py", line 156, in precompile_cache
>     errors.fatal('Error while running startup cache precompilation')
>   File "/wrkdirs/www/firefox/work/mozilla-release/python/mozbuild/mozpack=
/errors.py", line 101, in fatal
>     self._handle(self.FATAL, msg)
>   File "/wrkdirs/www/firefox/work/mozilla-release/python/mozbuild/mozpack=
/errors.py", line 96, in _handle
>     raise ErrorMessage(msg)
> mozpack.errors.ErrorMessage: Error: Error while running startup cache pre=
compilation
> /wrkdirs/www/firefox/work/mozilla-release/toolkit/mozapps/installer/packa=
ger.mk:36: recipe for target 'stage-package' failed
> gmake[4]: *** [stage-package] Error 1

Thanks. This requires a backtrace to be able to distinguish from other
xpcshell crashes e.g., currently on FreeBSD 8.4R and powerpc. I'd check
if disabling TLS helps in case of bootstrapping issue.

=2D-- memory/jemalloc/src/configure.ac~
+++ memory/jemalloc/src/configure.ac
@@ -273,16 +273,17 @@ case "${host}" in
 	abi=3D"elf"
 	AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
 	force_lazy_lock=3D"1"
 	;;
   *-*-dragonfly*)
 	CFLAGS=3D"$CFLAGS"
 	abi=3D"elf"
 	AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
+	force_tls=3D"0"
 	;;
   *-*-linux*)
 	CFLAGS=3D"$CFLAGS"
 	CPPFLAGS=3D"$CPPFLAGS -D_GNU_SOURCE"
 	abi=3D"elf"
 	AC_DEFINE([JEMALLOC_HAS_ALLOCA_H])
 	AC_DEFINE([JEMALLOC_PURGE_MADVISE_DONTNEED], [ ])
 	AC_DEFINE([JEMALLOC_THREADED_INIT], [ ])
=2D-- memory/jemalloc/src/configure~
+++ memory/jemalloc/src/configure
@@ -4857,16 +4857,17 @@ case "${host}" in
=20
 	force_lazy_lock=3D"1"
 	;;
   *-*-dragonfly*)
 	CFLAGS=3D"$CFLAGS"
 	abi=3D"elf"
 	$as_echo "#define JEMALLOC_PURGE_MADVISE_FREE  " >>confdefs.h
=20
+	force_tls=3D"0"
 	;;
   *-*-linux*)
 	CFLAGS=3D"$CFLAGS"
 	CPPFLAGS=3D"$CPPFLAGS -D_GNU_SOURCE"
 	abi=3D"elf"
 	$as_echo "#define JEMALLOC_HAS_ALLOCA_H 1" >>confdefs.h
=20
 	$as_echo "#define JEMALLOC_PURGE_MADVISE_DONTNEED  " >>confdefs.h

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJV2QV0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bXZcH/iDmDBO8MKzajhu5LDGAhq/Q
CLzdg72Evv42RJL8R3GsOqFGjBseFG7OOp80zwap9pmCs8qbhEnYSTKf9N7fodoO
gkEiGLAuYtbAo/KUzh473SZ78yKbmY1/51LVZJeItZRgUgjl54/IOIYZ/2KRmGJe
ZRpj2nWr2CpMFYj5u0TmY9clSRTI3t9yREqb4qDgX57Y8ZjHzZjAr5Tgc4XqtQTX
L2yLf/uxhp3VtXN3J2AHY69rf1HcVJtx+VaD2QxcPy3Ywz7PJ78AoFI9jTnKUbo4
zhrVqqzpKaGJwquQdjQIa3VjfX/5CI0Tk/1M7ljLPueReiwE4khUz7P43sULV3U=
=YPAO
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7fom-6gzv-wny>