Skip to content

Bootstrap build is failing on Mac OS X with "rust: task ... ran out of stack" #6061

Closed
@pnkfelix

Description

@pnkfelix

Fresh clone of repo.
commit 1d53bab

% configure --disable-debug --disable-optimize  --enable-clang
% time make -j8
...
compile_and_link: x86_64-apple-darwin/stage1/lib/rustc/x86_64-apple-darwin/lib/libcore.dylib
rust: task 7fa031d00000 ran out of stack
compile_and_link: x86_64-apple-darwin/stage1/lib/rustc/x86_64-apple-darwin/lib/libstd.dylib
cp: x86_64-apple-darwin/stage2/lib/libcore.dylib
cp: x86_64-apple-darwin/stage1/lib/rustc/x86_64-apple-darwin/lib/libcore-*.dylib: No such file or directory
make: *** [x86_64-apple-darwin/stage2/lib/libcore.dylib] Error 1
make: *** Waiting for unfinished jobs....
rust: task 7fa058c0ad10 ran out of stack

real    4m54.362s
user    22m36.394s
sys 1m4.580s

This may be a duplicate of another issue, for example perhaps #6049. I'm honestly not sure.

At this point I have bisected the problem down to:

4a24f10 is the first bad commit
commit 4a24f10
Author: Huon Wilson [email protected]
Date: Wed Apr 24 22:29:19 2013 +1000

(But it is possible that Huon's code is just exposing a latent bug in rustc, rather than actually having something fundamentally wrong with it itself.) I plan to investigate backing out Huon's change to see if that makes the problem go away, just so I can actually bootstrap a compiler and do more investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions