Skip to content

hexagon-unknown-none-elf cannot build core, "symbol 'fma' is already defined" #129823

Closed
@saethlin

Description

@saethlin

In an empty #![no_std] Cargo project, run cargo +nightly build -Zbuild-std=core --target=hexagon-unknown-none-elf:

   Compiling compiler_builtins v0.1.123
   Compiling core v0.0.0 (/home/ben/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling rustc-std-workspace-core v1.99.0 (/home/ben/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
   Compiling byteorder v1.5.0
   Compiling zerocopy v0.7.34
error: symbol 'fma' is already defined

error: could not compile `compiler_builtins` (lib) due to 1 previous error

Pinging target maintainer @androm3da (Nobody is expecting you to fix this, just a heads-up)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.T-libsRelevant to the library 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