From owner-freebsd-gecko@freebsd.org Wed Sep 7 02:32:46 2016 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 0AF62BCE475 for ; Wed, 7 Sep 2016 02:32:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 E874BCC for ; Wed, 7 Sep 2016 02:32:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E7BF0BCE474; Wed, 7 Sep 2016 02:32:45 +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 E7689BCE473 for ; Wed, 7 Sep 2016 02:32:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD914CB for ; Wed, 7 Sep 2016 02:32:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u872Wjhk077035 for ; Wed, 7 Sep 2016 02:32:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 211792] www/firefox: Update to 48.0.2 Date: Wed, 07 Sep 2016 02:32:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2016 02:32:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211792 --- Comment #15 from Jan Beich --- Comment on attachment 174398 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174398 Patch to update to 48.0.2 Mk/Uses/gecko.mk change has to be careful to not break -i18n port(s), Mk/bsd.gecko.mk - not break www/firefox-esr, www/seamonkey, etc. $ make all-depends-list -C www/firefox-i18n /usr/ports/ports-mgmt/pkg /usr/ports/archivers/zip /usr/ports/archivers/unzip /usr/ports/www/xpi-quick-locale-switcher $ make -C www/firefox-esr ... rm -f libjemalloc.a libjemalloc.a.desc =20 /wrkdirs/usr/ports/www/firefox-esr/work/firefox-45.3.0esr/obj-x86_64-portbl= d-freebsd10.3/_virtualenv/bin/python /wrkdirs/usr/ports/www/firefox-esr/work/firefox-45.3.0esr/config/expandlibs= _exec.py --extract -- : crs libjemalloc.a ctl.o Unified_c_memory_jemalloc0.o Unified_c_memory_jemalloc1.o=20=20 error: Launching [':', 'crs', 'libjemalloc.a', 'ctl.o', 'Unified_c_memory_jemalloc0.o', 'Unified_c_memory_jemalloc1.o'] : [Errno 2]= No such file or directory Traceback (most recent call last): File "/wrkdirs/usr/ports/www/firefox-esr/work/firefox-45.3.0esr/config/expandlib= s_exec.py", line 354, in exit(main(sys.argv[1:])) File "/wrkdirs/usr/ports/www/firefox-esr/work/firefox-45.3.0esr/config/expandlib= s_exec.py", line 343, in main raise e OSError: [Errno 2] No such file or directory >-.elif ${OPSYS} !=3D FreeBSD || ${OSVERSION} < 1000012 || ${MOZILLA_VER:R:= R} >=3D 37 >+.elif ${OPSYS} !=3D FreeBSD || ${OSVERSION} < 1000012 || \ >+ ${MOZILLA_VER:R:R} >=3D 37 && ${MOZILLA_VER:R:R} < 48 > MOZ_OPTIONS+=3D --enable-jemalloc > .endif Bundled jemalloc is still useful to plug missing functionality[1] not provi= ded by base malloc(3) on old FreeBSD systems. What broke upstream is passing MOZ_JEMALLOC4=3D1 together with --enable-jemalloc as one is supposed to use --enable-jemalloc=3D4 instead. --enable-jemalloc alone never worked on Free= BSD because Mozilla's fork has bitrotten[2] the support but no such an issue ex= ists in upstream jemalloc. Unfortunately, Mozilla doesn't allocate (human) resou= rces to fix issues on Tier3 platforms. jemalloc 3.0 is when things started to converge for Facebook, Mozilla, various BSDs, but even with jemalloc 4.2.1 = it's still not enabled by default for Firefox (release branches). [1] jemalloc API usage in gecko ports: - heap-* stats via mallctl(3) in about:memory (a warning otherwise) - freeing dirty pages on memory pressure via mallctl(3) - optimized allocation via nallocx(3) in sqlite and AudioCompactor - MALLOC_CONF=3Dnarenas:1,tcache:false tuning - G_SLICE=3Dalways-malloc tuninig [2] https://bugzilla.mozilla.org/show_bug.cgi?id=3D1153683 --=20 You are receiving this mail because: You are the assignee for the bug.=