Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2013 07:02:58 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Jan Beich <jbeich@tormail.org>
Cc:        gecko@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: www/firefox (r315793, 20.0.1) does not compile
Message-ID:  <20130419050258.GA2313@tinyCurrent>
In-Reply-To: <1URgtG-000Fg0-Vd@internal.tormail.org>
References:  <20130413142647.GA2196@tinyCurrent> <51698370.5000107@smeets.im> <20130413173629.GA2627__22839.3189413056$1365874613$gmane$org@tinyCurrent> <1UR4wA-000Fut-76@internal.tormail.org> <20130415050258.GA2351@tinyCurrent> <1URgtG-000Fg0-Vd@internal.tormail.org>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, April 15, 2013 a las 04:44:43PM +0600, Jan Beich escribió:

> Matthias Apitz <guru@unixarea.de> writes:
> 
> > El día Saturday, April 13, 2013 a las 01:13:46PM -0500, Jan Beich escribió:
> >
> >> Matthias Apitz <guru@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@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@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



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