Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Aug 2014 20:41:18 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Adrian J Fernandez <aj@mozilla.com>
Cc:        Howard Goldstein <hg@queue.to>, freebsd-gecko@freebsd.org
Subject:   Re: Gecko
Message-ID:  <y4v4-t7w1-wny@vfemail.net>
References:  <532A1BE4.80601@mozilla.com> <53331228.5080407@queue.to> <5339F258.1080906@mozilla.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adrian J Fernandez <aj@mozilla.com> writes:

> Do you have any documentation on the process so that I could get up to
> date and see where I could help?

Here, downstream? I don't think there's much to get started other than

  $ svn co https://trillian.chruetertee.ch/svn/freebsd-gecko/trunk gecko-overlay
  $ (cd gecko-overlay; for d in */*/files; do rm -rf /usr/ports/$d; done)
  $ rsync -aC gecko-overlay/ /usr/ports/
  $ cd /usr/ports/www/firefox-nightly
  $ make

or

  $ hg clone https://hg.mozilla.org/mozilla-central/
  $ cd mozilla-central
  $ ./mach bootstrap || (cd /usr/ports/www/firefox; make depends)
  $ ./mach build

> Perhaps a TODO etc? I don't want to start doing work that's already been
> done =D.

If you can code (mostly C++ and make) there's an unordered list of ideas
in [1]. Some items may help chromium@ team as well such as OSS audio [2]
in WebRTC code.

[1] https://trillian.chruetertee.ch/freebsd-gecko/browser/trunk/Gecko_TODO
[2] https://lists.freebsd.org/pipermail/freebsd-current/2014-April/049330.html

> On a side note, a goal of mine would be to have firefox-nightly on the
> actual ports tree however, perhaps there are valid reasons as to why
> that's not currently the case.

No clue but I suspect other gecko@ members don't want to commit a port
that needs frequent updates. To make matter worse firefox-nightly often
depends on new version of NSPR/NSS or changes in bsd.gecko.mk.

> As for your particular issue, are these issues being tracked on the
> build system?

Maybe Mozilla bug 419470 but for jemalloc3. I can't confirm because my
PGO build crashes due to libc++ vs. libstdc++ conflict.

diff --git memory/jemalloc/moz.build memory/jemalloc/moz.build
index 310a55a..9f4f9cb 100644
--- memory/jemalloc/moz.build
+++ memory/jemalloc/moz.build
@@ -49,6 +49,11 @@ if CONFIG['_MSC_VER']:
     if not CONFIG['HAVE_INTTYPES_H']:
         LOCAL_INCLUDES += ['src/include/msvc_compat/C99']
 
+#XXX: PGO on Linux causes problems here
+# See bug 419470
+if CONFIG['GNU_CC']:
+    NO_PGO = True
+
 if CONFIG['OS_TARGET'] == 'Linux':
     # For mremap
     DEFINES['_GNU_SOURCE'] = True
diff --git memory/mozjemalloc/moz.build memory/mozjemalloc/moz.build
index d5b58e5..a4003d4 100644
--- memory/mozjemalloc/moz.build
+++ memory/mozjemalloc/moz.build
@@ -30,7 +30,7 @@ DEFINES['MOZ_JEMALLOC_IMPL'] = True
 
 #XXX: PGO on Linux causes problems here
 # See bug 419470
-if CONFIG['OS_TARGET'] == 'Linux':
+if CONFIG['GNU_CC']:
     NO_PGO = True
 
 if CONFIG['MOZ_NUWA_PROCESS']:

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y4v4-t7w1-wny>