-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
segfault on ppc64le when compiling master using nightly-2016-10-19 #37320
Comments
Note that for the most part we're just producing cross compilers, not actually running them. In that sense it may be possible that they just segfault on startup (as this appears to be doing) and it may be a legit bug in trans or something like that (unsure) |
T-compiler. Might also want a powerpc tag of some sort. |
The cross-build I created a while back didn't have this issue. I plan on cross-building again when I have a moment to see if I can reproduce. Off the top of my head two differences are they were built from different commits on master, and my initial cross-build was done with the standard build system, not rustbuild. I'll try to iron out whether either of those has had an effect. |
I believe PPC has multiple possible page sizes -- perhaps this is a case like #36994? If your page size is larger than what jemalloc was compiled with, then |
@cuviper thanks, exporting |
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 rust-lang#36994 Closes rust-lang#37320 cc jemalloc/jemalloc#467
Disable jemalloc on aarch64/powerpc 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
Disable jemalloc on aarch64/powerpc 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
After setting this envvar for the whole build on powerpc64le (and making other fixes) I'm getting a failure in
|
Hi,
I see that nightlies and betas are now up for ppc{,64{,le}}! I've had a crack at building master on a ppc64le host using nightly-2016-10-19 as stage0, but no luck:
My naive gdb bt gave:
Happy to dig in further if the debug symbols are available somewhere.
The text was updated successfully, but these errors were encountered: