Differences between revisions 5 and 6
Revision 5 as of 2013-10-21 06:59:05
Size: 1471
Editor: ?lucab
Comment: jemalloc bundling
Revision 6 as of 2013-12-27 14:25:33
Size: 1471
Editor: ?lucab
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
 * '''Debian''': libuv 0.10 is landing in unstable, [[Kaeso]] is taking care of this. 0.11 is development series, not intended for packaging (or in extremis for experimental). We hope to target the unbundling effort for 0.12.  * '''Debian''': libuv 0.10 is already in unstable and testing, [[Kaeso]] takes care of if. 0.11 is development series, not intended for jessie (in extremis for experimental). We hope to target the unbundling effort for 0.12.

Rust is currently bundling several external projects as git submodule, to have all the dependencies available at build-time. These currently are:

  • libjemalloc
  • libuv
  • llvm-toolchain
  • gyp

Below is an analysis of the unbundling effort.

jemalloc

This library was in use until 0.8. It's no more bundled in subsequent releases. See rust#9933

libuv

  • Upstream: alexcrichton is taking care of synching with libuv master. The rust copy is mostly equivalent to 0.11.12, except for libuv#887

  • Debian: libuv 0.10 is already in unstable and testing, Kaeso takes care of if. 0.11 is development series, not intended for jessie (in extremis for experimental). We hope to target the unbundling effort for 0.12.

Note: make sure that when finally linking everything (libuv, jemalloc and rust) together, jemalloc is used consistently for all malloc/free, otherwise chaos will ensue.

LLVM

  • Upstream: Sylvestre is currently looking at upstreaming all the LLVM patches currently queued in rust. Reference bug is rust#4259

  • Debian: LLVM 3.3 is already in jessie, we hope to have the patches merged upstream soon for a stable release (3.4/3.5?)

gyp

Todo. This should be the easiest one to unbundle, and the least relevant too...