Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upDisable jemalloc on aarch64/powerpc #37392
Conversation
rust-highfive
assigned
pnkfelix
Oct 25, 2016
This comment has been minimized.
This comment has been minimized.
|
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
r? @brson |
rust-highfive
assigned
brson
and unassigned
pnkfelix
Oct 25, 2016
This was referenced Oct 25, 2016
This comment has been minimized.
This comment has been minimized.
|
Multiple page sizes are also present on MIPS, both the 32- and 64-bit variants. Would be a good idea to include those too. :-) |
alexcrichton
force-pushed the
alexcrichton:more-disable-jemalloc
branch
from
c0ca239
to
0f6fde2
Oct 25, 2016
This comment has been minimized.
This comment has been minimized.
|
@xen0n ah, sounds good to protect against as well! I've disabled it there as well. |
cuviper
reviewed
Oct 26, 2016
| @@ -25,6 +25,10 @@ pub fn target() -> TargetResult { | |||
| cpu: "mips64r2".to_string(), | |||
| features: "+mips64r2".to_string(), | |||
| max_atomic_width: Some(64), | |||
|
|
|||
| // see #36994 | |||
| exe_allocation_crate: "alloc_system".to_string(); | |||
This comment has been minimized.
This comment has been minimized.
cuviper
Oct 26, 2016
Member
Travis failed because all these MIPS additions should end in commas, not semicolons.
alexcrichton
force-pushed the
alexcrichton:more-disable-jemalloc
branch
from
0f6fde2
to
de80670
Oct 27, 2016
This comment has been minimized.
This comment has been minimized.
|
@bors r+ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
omg jemalloc |
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Oct 29, 2016
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors: retry On Sat, Oct 29, 2016 at 8:28 PM, bors notifications@github.com wrote:
|
alexcrichton commentedOct 25, 2016
Sounds like jemalloc is broken on systems which differ in page size than the
host it was compiled on (unless an option was passed). This unfortunately
reduces the portability of binaries created and can often make Rust segfault by
default. For now let's patch over this by disabling jemalloc until we can figure
out a better solution.
Closes #36994
Closes #37320
cc jemalloc/jemalloc#467