-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Allow linking to native library multiple times through build dependencies #5237
Copy link
Copy link
Open
Labels
A-build-dependenciesArea: [build-dependencies]Area: [build-dependencies]A-dependency-resolutionArea: dependency resolution and the resolverArea: dependency resolution and the resolverA-linksArea: `links` native library links settingArea: `links` native library links settingS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Metadata
Metadata
Assignees
Labels
A-build-dependenciesArea: [build-dependencies]Area: [build-dependencies]A-dependency-resolutionArea: dependency resolution and the resolverArea: dependency resolution and the resolverA-linksArea: `links` native library links settingArea: `links` native library links settingS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Recently the
mpicrate has stopped building because it transitively depends on different versions of theclang-syscrate which links to the nativelibclang. Here is the error message:I understand that this would be a problem if both versions of the
clang-syscrate were to end up being linked to by thempicrate, but they do not.bindgen(and transitivelyclang-sys) in both cases is a build dependency ofmpi-sysandlibffi-sysand is only linked to their respectivebuildscripts and does not end up in thempicrate. Should this really be an error, or iscargobeing too cautious here?