Skip to content

Linking liblibc with musl target fails with the new nightlies #529

Closed
@golddranks

Description

@golddranks

Not sure if this belongs in the Rust repo issues or here, but anyway.
When building with nightly-2017-02-19 (on a Linux host) and with target x86_64-unknown-linux-musl, the error message is as following:

  = note: /usr/bin/ld: /root/.rustup/toolchains/nightly-2017-02-19-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/liblibc-95af4192ed69a1c8.rlib(exit.lo): unrecognized relocation (0x2a) in section `.text.libc_exit_fini'
          /usr/bin/ld: final link failed: Bad value
          collect2: error: ld returned 1 exit status

With nightly-2017-02-13 it builds without problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions