Skip to content

Rustc Fails to Compile Piston with Illegal Instruction Error #15346

Closed
@indiv0

Description

@indiv0

Attempting to compile the piston project results in the following error:

vagrant@vagrant-ubuntu-trusty-32:~/piston$ ./build.sh
--- Building /home/vagrant/piston
--- Deleted binaries and documentation
/bin/bash: line 1:  2037 Illegal instruction     (core dumped) rustc --target "i686-unknown-linux-gnu" --crate-type=rlib src/lib.rs -L "target/deps/" --out-dir "target"
make: *** [target/libpiston-a1b791b5-0.0.rlib] Error 132

Compiling a simple "Hello world!" function works fine, so the rust compiler is working.

Attempting to go through the piston issue tracker resulted in a dead end, as this appears to be an issue with rust. Full discussion can be viewed here.

Sidenote: as discussed on the piston issue tracker, is the high RAM use while compiling expected (>1G)?

rustc -v: rustc 0.11.0-pre
uname -a: Linux vagrant-ubuntu-trusty-32 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:02:19 UTC 2014 i686 i686 i686 GNU/Linux

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