Skip to content

Nightlies since 2017-07-20 break when linking some libraries targeting Musl #43486

Closed
@golddranks

Description

@golddranks

In my experience, this breaks builds that try to link the crate libpq-sys when targeting Musl. I haven't confirmed any other libraries breaking.

This is a stable-to-nightly regression. The exact breakage happens between nightlies 2017-07-19 and 2017-07-20. Here's a comparison between the commits that the two nightlies were built from: 83c659e...582af6e I haven't yet looked at the commits.

Here's a test case that runs in a docker container. See the scripts build_musl_breaks.sh and build_musl_works.sh: https://github.com/golddranks/diesel_musl_testcase

The containers use this docker image: https://github.com/golddranks/rust_musl_docker

Metadata

Metadata

Assignees

Labels

A-linkageArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.P-highHigh priorityT-cargoRelevant to the cargo team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions