Skip to content

Internal compiler error when bootstrapping in Ubuntu Oneiric #2126

@ghost

Description

I am using Ubuntu Oneiric (11.10) 32-bit with the requisite packages from standard repositories installed for configuring and building rust 0.2. I am using gcc and not clang. My only option for configure is a custom prefix for the directory to which I wish to install the binaries.

Most of the build process completes normally, but when compiling and linking librustc.so the compiler displays an error message about an internal compiler error. After the first attempt to make the rust compiler failed with the same error message as shown below, I set the environment variable for producing a backtrace and the second make resulted in this print-out (copied and pasted from terminal):

pekka@tykky:~/installed/languages/rust-0.2$ make
cfg: shell host triple i686-unknown-linux-gnu
cfg: host for i686-unknown-linux-gnu is i386
cfg: unix-y environment
cfg: using gcc
cfg: no node found, omitting doc/tutorial.html
cfg: no node found, omitting doc/tutorial.html
cfg: no llnextgen found, omitting grammar-verification
compile_and_link: i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/librustc.so
rust: upcall fail 'explicit failure', /home/rustbuild/src/rustbot/workspace-snap-stage3-x86_64-unknown-linux-gnu/src/src/libcore/run.rs:195
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(_ZN9rust_task4failEv+0x39)[0x40fce919]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(upcall_s_fail+0x7f)[0x40fd10bf]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(+0x263bf)[0x40fe23bf]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(upcall_fail+0x11c)[0x40fd24cc]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/libcore-14bd852465126fe7-0.2.so(_ZN3run13start_program17_55d381c56ef476a9E+0x207)[0x4005e8e7]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/libcore-14bd852465126fe7-0.2.so(_ZN3run14program_output17_ccbd99aa2cad80d2E+0x49)[0x4005f2c9]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustc-2384c9e5928f8c53-0.2.so(_ZN4back4link11link_binary17_92870fd7dd67fabaE+0x34a7)[0x406cd0c7]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustc-2384c9e5928f8c53-0.2.so(+0x49be91)[0x407b1e91]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustc-2384c9e5928f8c53-0.2.so(+0x4b8d38)[0x407ced38]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustc-2384c9e5928f8c53-0.2.so(+0x4998f9)[0x407af8f9]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustc-2384c9e5928f8c53-0.2.so(_ZN6driver6driver12compile_upto17_9fed196d814be3e7E+0x4501)[0x407ae8d1]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustc-2384c9e5928f8c53-0.2.so(_ZN6driver6driver13compile_input17_18e4a638ff9f17daE+0xc3)[0x407b1f63]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustc-2384c9e5928f8c53-0.2.so(+0x4b8d38)[0x407ced38]
i686-unknown-linux-gnu/stage0/bin/rustc[0x804bd34]
i686-unknown-linux-gnu/stage0/bin/rustc[0x804f646]
i686-unknown-linux-gnu/stage0/bin/rustc[0x804ee92]
i686-unknown-linux-gnu/stage0/bin/rustc[0x804ea3f]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/libcore-14bd852465126fe7-0.2.so(+0x467e6)[0x400697e6]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x31)[0x40fcf701]
error: internal compiler error unexpected failure
note: The compiler hit an unexpected failure path. This is a bug. Try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: upcall fail 'explicit failure', /home/rustbuild/src/rustbot/workspace-snap-stage3-x86_64-unknown-linux-gnu/src/src/rustc/driver/rustc.rs:182
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(_ZN9rust_task4failEv+0x39)[0x40fce919]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(upcall_s_fail+0x7f)[0x40fd10bf]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(+0x263bf)[0x40fe23bf]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(upcall_fail+0x11c)[0x40fd24cc]
i686-unknown-linux-gnu/stage0/bin/rustc[0x804e29c]
i686-unknown-linux-gnu/stage0/bin/rustc[0x804fb24]
i686-unknown-linux-gnu/stage0/bin/rustc[0x804f52d]
i686-unknown-linux-gnu/stage0/bin/rustc(_rust_main+0x38)[0x804f598]
/home/pekka/installed/languages/rust-0.2/i686-unknown-linux-gnu/stage0/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x31)[0x40fcf701]
rust: domain main @0x9647dd8 root task failed
make: *** [i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/librustc.so] Error 101

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions