Closed Bug 496873 Opened 15 years ago Closed 15 years ago

Build Firefox 3.5b99 with --enable-jemalloc on Mac failed

Categories

(Core :: Memory Allocator, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 414946

People

(Reporter: j, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1b99) Gecko/20090606 Firefox/3.5b99 GTB5 (.NET CLR 3.5.30729) Build Identifier: Creating /Users/mac/mozilla/0606182609/memory/jemalloc/.deps jemalloc.c /Users/mac/mozilla/memory/jemalloc/jemalloc.c: In function 'arena_run_alloc': /Users/mac/mozilla/memory/jemalloc/jemalloc.c:3503: warning: passing argument 1 of 'malloc_mutex_unlock' from incompatible pointer type /Users/mac/mozilla/memory/jemalloc/jemalloc.c:3506: warning: passing argument 1 of 'malloc_mutex_lock' from incompatible pointer type /Users/mac/mozilla/memory/jemalloc/jemalloc.c: In function 'posix_memalign': /Users/mac/mozilla/memory/jemalloc/jemalloc.c:6254: warning: implicit declaration of function 'moz_memalign' /Users/mac/mozilla/memory/jemalloc/jemalloc.c:6254: warning: assignment makes pointer from integer without a cast /Users/mac/mozilla/memory/jemalloc/jemalloc.c: In function 'moz_valloc': /Users/mac/mozilla/memory/jemalloc/jemalloc.c:6270: warning: return makes pointer from integer without a cast Undefined symbols: "_moz_memalign", referenced from: _moz_valloc in jemalloc.o _posix_memalign in jemalloc.o _zone_valloc in jemalloc.o ld: symbol(s) not found collect2: ld returned 1 exit status make[4]: *** [libjemalloc.dylib] Error 1 make[3]: *** [libs_tier_base] Error 2 make[2]: *** [tier_base] Error 2 make[1]: *** [default] Error 2 make: *** [build] Error 2 Reproducible: Always
Provide gcc version and stuffs
GCC 4.2.1, Xcode 3.1.3, 10.5SDK on leopard.
Could be a GCC 4.2 issue, or could be jemalloc is busted. We use 4.0.1 for the nightlies, and we don't enable jemalloc either. Can you retry with 4.0.1?
Just try gcc 4.0.1, the same error with no luck.
As far as I know jemalloc is not (yet) supported on mac.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Component: Build Config → jemalloc
Product: Firefox → Core
QA Contact: build.config → jemalloc
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.