Commit graph

21 commits

Author SHA1 Message Date
Symphorien Gibol 973eca740b rustc: fix build with unbundled jemalloc and llvm on darwin
jemalloc with stripped prefix would cause segfaults in free:
https://github.com/NixOS/nixpkgs/pull/49557#issuecomment-436734677

Thanks to @danieldk for darwin testing/debugging.
2018-11-08 13:10:24 +01:00
Ignat Loskutov 1c7d246d81 drop the obsolete '--disable-thp' option 2018-10-31 01:44:55 +03:00
Ignat Loskutov e7f2ce9102 jemalloc: 5.0.1 -> 5.1.0 2018-10-29 02:59:11 +03:00
John Ericson ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
Yorick van Pelt c03f5f5579
jemalloc: don't try to patch 4.5.0 2018-04-16 16:18:33 +02:00
Yorick van Pelt d536542ee4
jemalloc: add 4.5.0 version 2018-04-16 12:31:26 +02:00
Robin Gloster b94c892137
jemalloc: add patch to fix aarch64 build 2018-01-06 17:25:15 +01:00
Jörg Thalheim 02e95ea0b5 jemalloc: do not expose hugepage support as an option
The only common use case so far seems ARMv6/ARMv7 support.
The way this option is exposed might collide with a package with the
same name. Also the option naming on its own is not self-descriptive
without context.
2018-01-02 15:25:06 +01:00
Ben Wolsieffer 98dd418e85 jemalloc: 4.5.0 -> 5.0.1 2018-01-01 11:12:56 -05:00
Ben Wolsieffer 275fa4162c jemalloc: disable transparent huge pages by default on ARMv6/7
The default NixOS kernels for ARMv7 (and probably ARMv6) do not have support
for transparent huge pages, but jemalloc is unable to detect this. This is a
known bug and the current solution is to pass --disable-thp to ./configure.
2018-01-01 11:12:46 -05:00
Renaud a4c68ace9c jemalloc: 4.3.1 -> 4.5.0 2017-03-16 23:04:04 +01:00
Kirill Elagin fcfe3c0909
jemalloc: 4.1.1 -> 4.3.1
Fixes #18466.
2016-11-12 21:13:11 +01:00
Dan Peebles 1f0df5f21f jemalloc: remove symbol prefix on darwin
The default darwin build added a je_ prefix to all exported symbols, and
that broke downstream consumers that were not expecting the prefix, like
mariadb.
2016-08-14 15:08:23 -04:00
Franz Pletz 7a2accbf5a jemalloc: 4.0.3 -> 4.1.1 2016-05-13 17:04:50 +02:00
Tobias Geerinckx-Rice 464f327aa6 Move some excess description to longDescription 2016-01-12 03:08:10 +01:00
William A. Kennington III 9b9d790c6c jemalloc: 4.0.2 -> 4.0.3 2015-10-16 16:45:26 -07:00
William A. Kennington III 9c345fc97d jemalloc: 4.0.0 -> 4.0.2 2015-09-23 22:31:40 -07:00
William A. Kennington III 5856e44258 jemalloc: Fix jemalloc prefix for applications which expect ^malloc 2015-09-23 20:48:14 -07:00
William A. Kennington III de2906e670 rustc: Update both versions of the compiler
rustc: 1.2.0 -> 1.3.0
  rustcMaster: 2015-09-05 -> 2015-09-21

This also removes the llvm bundling which reduced immediate the closure size
by ~50MB. It also tries to reduce some of the superfluous dependencies
to help reduce the number of potential rebuilds (namely removing git).
2015-09-23 12:30:00 -07:00
William A. Kennington III d4fc051c06 jemalloc: 3.6.0 -> 4.0.0 2015-08-30 10:57:16 -07:00
William A. Kennington III 1e873e636a jemalloc: Add derivation 2015-03-11 18:50:03 -07:00