Skip to content

rustc build for gnueabihf host / target fails at rust_try.o #12789

@itdaniher

Description

@itdaniher

Working to get a rustc build for armv7 hardfloat machines. Getting the following stdout / error message.

cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples arm-unknown-linux-gnueabihf
cfg: target triples arm-unknown-linux-gnueabihf
cfg: non-build host triples arm-unknown-linux-gnueabihf
cfg: non-build target triples arm-unknown-linux-gnueabihf
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for arm-unknown-linux-gnueabihf is arm
cfg: os for arm-unknown-linux-gnueabihf is unknown-linux-gnueabihf
cfg: using gcc
/home/it/projects/rust/mk/stage0.mk:7: warning: overriding recipe for target `/'
/home/it/projects/rust/mk/stage0.mk:4: warning: ignoring old recipe for target `/'
cfg: no pdflatex found, omitting doc/rust.pdf
cfg: no pandoc found, omitting PDF and EPUB docs
cfg: no llnextgen found, omitting grammar-verification
compile: arm-unknown-linux-gnueabihf/rt/rust_builtin.o
compile: arm-unknown-linux-gnueabihf/rt/rust_android_dummy.o
compile: arm-unknown-linux-gnueabihf/rt/rust_test_helpers.o
compile: arm-unknown-linux-gnueabihf/rt/rust_try.o
/bin/sh: -mtriple=arm-unknown-linux-gnueabihf: command not found
make: [arm-unknown-linux-gnueabihf/rt/rust_try.o] Error 127 (ignored)
compile: arm-unknown-linux-gnueabihf/rt/arch/arm/record_sp.o
link: arm-unknown-linux-gnueabihf/rt/librustrt.a
arm-linux-gnueabihf-ar: arm-unknown-linux-gnueabihf/rt/rust_try.o: No such file or directory
make: *** [arm-unknown-linux-gnueabihf/rt/librustrt.a] Error 1

It looks like some recent work has been done @ https://github.com/mozilla/rust/blob/master/mk/rt.mk#L76, nothing looks immediately amiss.

It looks like this may just be a build system glitch, but putting an issue up in case @luqmana or @alexcrichton know of the fix off the top of their heads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions