Closed
Bug 899446
Opened 11 years ago
Closed 11 years ago
Build error 'jemalloc_stats_t' has no member named 'dirty'
Categories
(Core :: Memory Allocator, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 899880
People
(Reporter: xavier114fch, Unassigned)
Details
Encounter a build error of mozjemalloc_compat.c using GCC 4.8.1. 234:23.51 mozjemalloc_compat.c 234:30.39 /media/dev/firefox/memory/build/mozjemalloc_compat.c: In function ‘replace_jemalloc_stats’: 234:30.39 /media/dev/firefox/memory/build/mozjemalloc_compat.c:81:8: error: ‘jemalloc_stats_t’ has no member named ‘dirty’ 234:30.40 stats->dirty = pdirty * page; 234:30.40 ^ 234:30.44 /media/dev/firefox/memory/build/mozjemalloc_compat.c:82:8: error: ‘jemalloc_stats_t’ has no member named ‘committed’ 234:30.44 stats->committed = active + stats->dirty; 234:30.44 ^ 234:30.44 /media/dev/firefox/memory/build/mozjemalloc_compat.c:82:36: error: ‘jemalloc_stats_t’ has no member named ‘dirty’ 234:30.44 stats->committed = active + stats->dirty; 234:30.44 ^ 234:30.66 234:30.73 In the directory /media/dev/firefox/obj/memory/replace/jemalloc 234:30.78 The following command failed to execute properly: 234:30.82 gcc -o mozjemalloc_compat.o -c -I../../../dist/system_wrappers -include /media/dev/firefox/config/gcc_hidden.h -DMOZ_JEMALLOC3 -DMOZ_REPLACE_JEMALLOC -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -I../../jemalloc/src/include -I/media/dev/firefox/memory/replace/jemalloc -I. -I../../../dist/include -I/media/dev/firefox/obj/dist/include/nspr -I/media/dev/firefox/obj/dist/include/nss -fPIC -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -march=native -mfpmath=sse -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer -include ../../../mozilla-config.h -DMOZILLA_CLIENT -MD -MP -MF .deps/mozjemalloc_compat.o.pp /media/dev/firefox/memory/build/mozjemalloc_compat.c 234:30.90 make[6]: *** [mozjemalloc_compat.o] Error 1 234:30.90 make[6]: *** Waiting for unfinished jobs.... 234:33.22 make[5]: *** [libs] Error 2 234:33.53 make[4]: *** [libs_tier_platform] Error 2 234:33.75 make[3]: *** [tier_platform] Error 2 234:34.22 make[2]: *** [default] Error 2 234:35.35 make[1]: *** [realbuild] Error 2 234:35.46 make: *** [build] Error 2 My mozconfig has jemalloc enabled.
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
No longer blocks: replace-malloc
You need to log in
before you can comment on or make changes to this bug.
Description
•