Skip to content

C-ABI crates don't build. #1

Description

@infinityabundance

C-ABI crates don't build. Both crates/ncurses-cabi and crates/ncurses-tinfo-cabi fail to link:

/usr/bin/ld: anonymous version tag cannot be combined with other version tags

Root cause: rustc unconditionally injects its own anonymous version script ({ global: ; local: *; };) for any cdylib with #[no_mangle] exports, before build.rs-supplied --version-script=version.map. GNU ld refuses to combine an anonymous-tag script with a named-tag script across two --version-script args.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions