Gecko

Jan Beich jbeich at vfemail.net
Mon Aug 4 18:41:50 UTC 2014


Adrian J Fernandez <aj at 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!  


More information about the freebsd-gecko mailing list