[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: firefox-4.0.1



On Sun, May 08, 2011 at 08:06:38AM +1200, Michael Cree wrote:
> Could you send through your updated patch for 
> xpcom/glue/nsThreadUtils.[cpp,h] that was required on the 3.6. series?

Patches sent in a separate message.

Update: the firefox build documentation at developer.mozilla.org hasn't
been updated for 4.0.1 as far as the valid build options.  In
particular, "--disable-jit" no longer has any effect.  At least part of
the problem is some incompletely implemented (or removed) cruft in the
"js" source tree.  In particular, in "js/src/Makefile.in" is a section
near the end of the file with the comment "BEGIN kludges for the Nitro
assembler".  A few lines down is a CXXFLAGS line with
"-DENABLE_ASSEMBLER=1 -DENABLE_JIT=1" both of which will currently cause
a build on Alpha to fail.  Even without the hard-coding of ENABLE_JIT in
the Makefile, note that if the target architecture is one for which JIT
is known to work properly, there is at least one other place I've found
where ENABLE_JIT gets defined *regardless* of what the person doing the
build might wish.

With the "-DENABLE_ASSEMBLER=1 -DENABLE_JIT=1" flags commented out, the
build seems to be progressing.  As I type this, we're 8.5 hours into it.
Not too surprising 4.0.1 would take longer to build than 3.6.12 :-).

--Bob


Reply to: