From owner-svn-ports-branches@freebsd.org Tue Oct 24 19:03:54 2017 Return-Path: Delivered-To: svn-ports-branches@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 3DD85E560E4; Tue, 24 Oct 2017 19:03:54 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 0B3FA6C847; Tue, 24 Oct 2017 19:03:53 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9OJ3rg1009146; Tue, 24 Oct 2017 19:03:53 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9OJ3r9T009144; Tue, 24 Oct 2017 19:03:53 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201710241903.v9OJ3r9T009144@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 24 Oct 2017 19:03:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r452807 - in branches/2017Q4/www/firefox: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in branches/2017Q4/www/firefox: . files X-SVN-Commit-Revision: 452807 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2017 19:03:54 -0000 Author: jbeich Date: Tue Oct 24 19:03:52 2017 New Revision: 452807 URL: https://svnweb.freebsd.org/changeset/ports/452807 Log: MFH: r452393 www/firefox: trim package by ~50 Mb DTRACE=on and PROFILE=on builds only want non-debug symbols. Approved by: ports-secteam (swills) Added: branches/2017Q4/www/firefox/files/patch-bug1409680 - copied unchanged from r452393, head/www/firefox/files/patch-bug1409680 Modified: branches/2017Q4/www/firefox/Makefile Directory Properties: branches/2017Q4/ (props changed) Modified: branches/2017Q4/www/firefox/Makefile ============================================================================== --- branches/2017Q4/www/firefox/Makefile Tue Oct 24 19:01:41 2017 (r452806) +++ branches/2017Q4/www/firefox/Makefile Tue Oct 24 19:03:52 2017 (r452807) @@ -4,6 +4,7 @@ PORTNAME= firefox DISTVERSION= 56.0.1 DISTVERSIONSUFFIX=.source +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ Copied: branches/2017Q4/www/firefox/files/patch-bug1409680 (from r452393, head/www/firefox/files/patch-bug1409680) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2017Q4/www/firefox/files/patch-bug1409680 Tue Oct 24 19:03:52 2017 (r452807, copy of r452393, head/www/firefox/files/patch-bug1409680) @@ -0,0 +1,27 @@ +Bug 1409680 - Extend --disable-debug-symbols to Rust code. + +This reduces disk I/O and memory usage during build that already lacks +debugging symbols from C++ code, allowing to use more jobs on 32bit hosts. + +--disable-debug-symbols build on FreeBSD 10.3 i386 (8 cores) host: +Max RSS before: libxul - 612 Mb, libgkrust - 1908 Mb +Max RSS after: libxul - 444 Mb, libgkrust - 1471 Mb +Binary before: libxul - 203 Mb, libgkrust - 732 Mb +Binary after: libxul - 123 Mb, libgkrust - 301 Mb + +--- config/rules.mk.orig 2017-09-14 20:15:53 UTC ++++ config/rules.mk +@@ -906,11 +906,13 @@ ifdef MOZ_USING_SCCACHE + sccache_wrap := RUSTC_WRAPPER='$(CCACHE)' + endif + ++ifdef MOZ_DEBUG_SYMBOLS + # XXX hack to work around dsymutil failing on cross-OSX builds (bug 1380381) + ifeq ($(HOST_OS_ARCH)-$(OS_ARCH),Linux-Darwin) + default_rustflags += -C debuginfo=1 + else + default_rustflags += -C debuginfo=2 ++endif + endif + + # We use the + prefix to pass down the jobserver fds to cargo, but we