Skip to content
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

Building the libcore crashes with Illegal instruction #36725

Closed
paly2 opened this issue Sep 25, 2016 · 2 comments
Closed

Building the libcore crashes with Illegal instruction #36725

paly2 opened this issue Sep 25, 2016 · 2 comments

Comments

@paly2
Copy link

paly2 commented Sep 25, 2016

Hello,
I am trying to compile the rust compiler on a Raspberry Pi 2 (host: arm-unknown-linux-gnueabihf).

LLVM has been compiled in about eight hours (I used only one job for make, because on the very limited Raspberry Pi RAM), but finally it succeeded. The rust compiler (rustc) looks correctly built in arm-unknown-linux-gnueabihf/stage0/bin.

However, make fails with the following error log:

cfg: version 1.13.0-dev (f2c53ea66 2016-09-22)
cfg: build triple arm-unknown-linux-gnueabihf
cfg: host triples arm-unknown-linux-gnueabihf
cfg: target triples arm-unknown-linux-gnueabihf
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: enabling debug assertions (CFG_ENABLE_DEBUG_ASSERTIONS)
cfg: enabling debuginfo (CFG_ENABLE_DEBUGINFO)
cfg: host for arm-unknown-linux-gnueabihf is arm
cfg: os for arm-unknown-linux-gnueabihf is unknown-linux-gnueabihf
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: no good valgrind for arm-unknown-linux-gnueabihf
cfg: using CC=gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
rustc: arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcore
Illegal instruction
/home/pi/programs/rust/mk/target.mk:212: recipe for target 'arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/stamp.core' failed
make: *** [arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/stamp.core] Error 132
@nagisa
Copy link
Member

nagisa commented Sep 25, 2016

Duplicate of #34427

@paly2
Copy link
Author

paly2 commented Sep 26, 2016

Oh, sorry for opening this duplicate issue!

@paly2 paly2 closed this as completed Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants