Matthias Apitz <[email protected]> writes:

> # uname -a
> FreeBSD aurora.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r235646: Sat May 
> 19 15:52:36 CEST 2012 [email protected]:/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.

> # diff -c work/mozilla-release/memory/mozalloc/mozalloc.cpp*
> *** work/mozilla-release/memory/mozalloc/mozalloc.cpp   Sat Apr 13
> 16:32:42 2013
> --- work/mozilla-release/memory/mozalloc/mozalloc.cpp.orig      Tue Mar
> 26 23:17:58 2013
> ***************
> *** 211,217 ****
>   #if defined(XP_MACOSX)
>       return malloc_size(ptr);
>   #elif defined(HAVE_MALLOC_USABLE_SIZE) || defined(MOZ_MEMORY)
> !     return moz_malloc_usable_size(ptr);
>   #elif defined(XP_WIN)
>       return _msize(ptr);
>   #else
> --- 211,217 ----
>   #if defined(XP_MACOSX)
>       return malloc_size(ptr);
>   #elif defined(HAVE_MALLOC_USABLE_SIZE) || defined(MOZ_MEMORY)
> !     return malloc_usable_size(ptr);
>   #elif defined(XP_WIN)
>       return _msize(ptr);
>   #else

Are you trying to make the function recursive? malloc_usable_size() is
part of libc since 7.0R when phkmalloc was replaced by jemalloc.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to