Skip to content

linking with rust-lld failed: exit code: 1 #73284

Open
@imran82ali

Description

@imran82ali

Dear Experts,
I am working on Discovery repository, I am building this for STM32F3 Discovery. I am facing following error
linking with rust-lld failed: exit code: 1

When I am building by

cargo build --target thumbv7em-none-eabihf

It was working fine a couple of weeks ago, I am using Linux 18.04 LTS, I have updated rust my current version is

imran82ali@gmail:~$ rustup --version --verbose
rustup 1.21.1 (7832b2ebe 2019-12-20)

imran82ali@gmail:~$ rustc --version --verbose
rustc 1.44.0 (49cae55 2020-06-01)
binary: rustc
commit-hash: 49cae55
commit-date: 2020-06-01
host: x86_64-unknown-linux-gnu
release: 1.44.0
LLVM version: 9.0

Looking forward for your response.
Thanks, IMRAN ALI

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateO-bare-metalTarget: Rust without an operating systemT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions