From owner-freebsd-gecko@freebsd.org Tue Nov 10 14:34:50 2015 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63781A2BD09 for ; Tue, 10 Nov 2015 14:34:50 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4488711BF for ; Tue, 10 Nov 2015 14:34:50 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: by mailman.ysv.freebsd.org (Postfix) id 41203A2BD07; Tue, 10 Nov 2015 14:34:50 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25D34A2BD06 for ; Tue, 10 Nov 2015 14:34:50 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from vfemail.net (fivefive.neocoil.com [12.31.100.155]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A470811BD for ; Tue, 10 Nov 2015 14:34:49 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: (qmail 82414 invoked by uid 89); 10 Nov 2015 14:34:38 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 10 Nov 2015 14:34:38 -0000 Received: (qmail 82383 invoked by uid 89); 10 Nov 2015 14:34:21 -0000 Received: by simscan 1.3.1 ppid: 82381, pid: 82382, t: 0.0055s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 10 Nov 2015 14:34:21 -0000 Received: (qmail 15743 invoked by uid 89); 10 Nov 2015 14:34:29 -0000 Received: by simscan 1.4.0 ppid: 15717, pid: 15738, t: 1.3652s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by 172.16.100.62 with ESMTPA; 10 Nov 2015 14:34:28 -0000 From: Jan Beich To: "Marat N.Afanasyev" Cc: Steve Wills , Louis Epstein , gecko@freebsd.org Subject: Re: Seamonkey port? References: <20151104230905.Q98665-100000@main.put.com> <563B6A1E.9000806@li.ru> <563BA5F1.2080503@FreeBSD.org> <563C9BA8.7010006@li.ru> <563F155E.7030705@li.ru> <5640B0D1.1050302@li.ru> <1tbz-5byd-wny@vfemail.net> <5641A515.2030102@li.ru> Date: Tue, 10 Nov 2015 15:34:09 +0100 In-Reply-To: <5641A515.2030102@li.ru> (Marat N. Afanasyev's message of "Tue, 10 Nov 2015 11:04:37 +0300") Message-ID: <8u65-ordq-wny@vfemail.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 14:34:50 -0000 --=-=-= Content-Type: text/plain "Marat N.Afanasyev" writes: > Jan Beich wrote: > >> So, try building with USE_MOZILLA=-opus again after >> >> $ sed 's,^[-+]\{3\} ,&mozilla/,' \ >> ../firefox/files/patch-z-bug517422 \ >> >files/patch-z-bug517422 > I have successfully build seamonkey with this patch and > USE_MOZILLA=-opus, but it coredumps as soon as starts and tries to > restore session. I suppose that opus nowadays is one of core elements > of mozilla :( It doesn't crash here and I'm using 11.0-CURRENT amd64. Without stacktrace only guesses. For one, system jemalloc detection is very simple and doesn't notice subtle changes in API[1]. --enable-jemalloc should toggle bundled version but only works with MOZ_JEMALLOC3=1 on FreeBSD[2]. The following patch is a workaround for bogus MOZILLA_VER with seamonkey. Otherwise, if != is allowed to pessimize |make describe| one could define in www/seamonkey/Makefile instead. # Examples: 2.33.1 -> 36, 2.35b1 -> 38, 2.38 -> 41 MOZILLA_VER!= let ${DISTVERSION:C/^2\.([0-9]+).*/\1/} + 3 Index: Mk/bsd.gecko.mk =================================================================== --- Mk/bsd.gecko.mk (revision 399872) +++ Mk/bsd.gecko.mk (working copy) @@ -136,7 +136,8 @@ MOZ_EXPORT+= MOZ_JEMALLOC3=1 # system jemalloc 4.0.0 vs. bundled jemalloc 3.6.0-204-gb4acf73 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bug1125514 . endif -.elif ${OPSYS} != FreeBSD || ${OSVERSION} < 1000012 || ${MOZILLA_VER:R:R} >= 37 +.elif ${OPSYS} != FreeBSD || ${OSVERSION} < 1000012 || \ + ${MOZILLA_VER:R:R} >= 37 || ${MOZILLA} == seamonkey MOZ_OPTIONS+= --enable-jemalloc .endif .endif # !DragonFly > > I think that porting 2.39 would be more interesting now. What firefox > release uses the same codebase as seamonkey-2.39? They forgot to > mention this on release information page :( See mozilla/config/milestone.txt. Firefox X is often SeaMonkey 2.X-3 e.g., Firefox 36 == SeaMonkey 2.33 or Firefox 41 == SeaMonkey 2.38. -- [1] https://lists.freebsd.org/pipermail/freebsd-gecko/2015-July/005557.html [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1153683 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWQgBhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3b0/AH/2tkAY5qx1v8I62+g3kC1O4n BaRlW7pU7Cm3PnaSG/mfYZLSFgHXvTzf60GLKZx1nHzkIBXLIRnQqDtiwSVsUmEt HErLlmrEYTuOhfyQ5JFW+ZYI34bCUzYUUFV3tStyBhxyi7TJ+CrCPCDwjgV2GQkT rr+N+bvoAdLeR1nhag/0kXLyomjT2VdnQU3y4hjtz6aSsuW/Nyh40FGyl7bDPk8J CxDB0Rr863vdpRp2CvVvcVh+dxha7SpmhAPds9SWMC8I8GNaCkwWYFdbnzz/avJR G/UImju7jIxDWbIL/qWAO/9/qZBWH2gm/YA56o93mar+WoELfsQcqOleFPec7nQ= =OERc -----END PGP SIGNATURE----- --=-=-=--