Commit Graph

7 Commits

Author SHA1 Message Date
Charles Hardin
ec692f9498 jemalloc: add a check for valgrind being configured as well
jemalloc can be compiled with valgrind support being enabled
to produce proper output, so when the valgrind package has
been configured configure jemalloc appropriately.

In addition, make sure to disable valgrind support unconditionally in
the host variant of jemalloc.

Signed-off-by: Charles Hardin <ckhardin@exablox.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-11 22:26:49 +02:00
Yann E. MORIN
6ebd430ef0 package/jemalloc: needs threads
Fixes:
    http://autobuild.buildroot.org/results/73c437fb932a30bae17653173e8ce35cc91757ef/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-18 23:12:32 +02:00
Jerzy Grzegorek
a121757f85 package/jemalloc: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 17:03:41 +02:00
Eric Le Bihan
554ec255c8 jemalloc: bump version to 4.2.1
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 09:51:33 +02:00
Eric Le Bihan
4d6efcc3d2 jemalloc: fix sparc64 build
GCC 4.9.3 for sparc64 defines __sparc_v9__, not __sparc64__ nor
__sparcv9 (as reported by `gcc -dM -E - < /dev/null | egrep 'sparc|arch'`).

This prevents LG_QUANTUM from being properly defined. Adding this new
value solves the issue.

Fixes:

  http://autobuild.buildroot.net/results/95d/95df560b13be7abbce6aeeb3ed0f0814d597bd08/

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-15 09:51:27 +02:00
Yann E. MORIN
3baf996c6a package/jemalloc: filter on suported architectures
jemalloc has a hard-coded list of supported architectures, which it uses
to define the minimum alignment for allocations. It whines at build time
(not at configure time) when it does not know that alignment.

Fix that by making jemalloc depend on the known-supported architectures.

Fixes:
    http://autobuild.buildroot.org/results/674/674b6022f9a403528a758c0785656d2bda79e0a9/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - split ARM and AArch64 dependencies on two lines
 - for SuperH, instead of using BR2_sh && !BR2_sh2, explicitly list the
   SH4 variants, since only SH4 is supported by jemalloc.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-06 22:43:31 +02:00
Eric Le Bihan
e6cdb4dd3e jemalloc: new package
This new package provides jemalloc, a malloc(3) implementation that
emphasizes fragmentation avoidance and scalable concurrency support.

A host variant is added as it will be used by rust.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[Thomas:
 - remove trailing slash (noticed by Romain Naour)
 - add !BR2_STATIC_LIBS dependency (noticed by Romain Naour).]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-05 11:12:01 +02:00