www/firefox (r315793, 20.0.1) does not compile
Matthias Apitz
guru at unixarea.de
Fri Apr 19 17:52:15 UTC 2013
El día Monday, April 15, 2013 a las 04:44:43PM +0600, Jan Beich escribió:
> Matthias Apitz <guru at unixarea.de> writes:
>
> > El día Saturday, April 13, 2013 a las 01:13:46PM -0500, Jan Beich escribió:
> >
> >> Matthias Apitz <guru at unixarea.de> writes:
> >>
> >> > # uname -a
> >> > FreeBSD aurora.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #0
> >> > r235646: Sat May 19 15:52:36 CEST 2012
> >> > guru at aurora.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386
> >> >
> >>
> >> At that time jemalloc 3.0.0 was imported, expect regressions.
> >>
> >> /head had recently imported clang 3.3 so www/firefox may have compile
> >> and runtime regressions. Be prepared or add USE_GCC=yes to Makefile.local.
> >>
> >
> > With gcc it gives the same error; and if I add to the source
> > /usr/ports/www/firefox/work/mozilla-release/memory/mozalloc/mozalloc.cpp
> > the following include (as the man page requests):
> >
> > #include <stdlib.h> // for malloc, free
> > #include <malloc_np.h> // added by me
>
> mozalloc.cpp uses malloc_usable_size() only if configure detects its
> presence in libc or LIBS and malloc_np.h if it exists and is not buggy
> i.e., simply including the header doesn't produce errors.
>
> On /head firefox also uses the new jemalloc3 api in malloc_np.h to
> implement jemalloc_stats and malloc_good_size() instead of overriding
> the malloc() in libc like it does for /stable/[89].
>
...
> http://svnweb.freebsd.org/changeset/base/235780
I updated malloc_np.h to r235780 and after many hours of compilation it
installed fine, but it SGEV on execution without showing the browser
window; and now? How to I get to a working firefox in ports' head?
Thanks
matthias
--
Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ | X - No proprietary attachments
phone: +49-170-4527211 | / \ - Respect for open standards
More information about the freebsd-ports
mailing list