jemalloc needs porting to aarch64

Bug #1154584 reported by Riku Voipio on 2013-03-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro AArch64 cross-distro work

Bug Description

jemalloc is malloc replacement library used mostly as a code copy embedded in many different pieces of software - from varnish to firefox. Fix should be rather simple, and Steves list puts this on priority 25.

Build failure as:

 jemalloc_linux.c:1:0: warning: -fstack-protector not supported for this target [enabled by default]
 jemalloc_linux.c:856:44: error: 'PAGESIZE_2POW' undeclared here (not in a function)
 jemalloc_linux.c: In function 'arena_run_reg_dalloc':
 jemalloc_linux.c:2541:7: error: 'QUANTUM_2POW' undeclared (first use in this function)
 jemalloc_linux.c:2541:7: note: each undeclared identifier is reported only once for each function it appears in
 jemalloc_linux.c:2552:62: error: invalid operands to binary << (have 'long unsigned int' and 'const unsigned int *')
 jemalloc_linux.c:2552:12: warning: comparison between pointer and integer [enabled by default]
 jemalloc_linux.c:2554:30: error: invalid operands to binary >> (have 'size_t' and 'const unsigned int *')
 jemalloc_linux.c:2554:23: error: array subscript is not an integer
 jemalloc_linux.c:2554:52: error: invalid operands to binary * (have 'const unsigned int *' and 'unsigned int')
 jemalloc_linux.c:2554:11: warning: assignment makes integer from pointer without a cast [enabled by default]

Riku Voipio (riku-voipio) wrote :
Changed in linaro-aarch64:
status: New → In Progress
importance: Undecided → Medium
Riku Voipio (riku-voipio) wrote :

Released by upstream in

* 3.4.0 (June 2, 2013)

  New features:
  - Add support for the aarch64 architecture.

Changed in linaro-aarch64:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers