GoogleCloudPlatform / GoogleCloudPlatform/cloud-profiler-python

googlecloudprofiler breaks other packages which depend on C++ code compiled against a different version of libstdc++

Đang mở
#129 1 bình luận 4 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
32
Fork
35
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

These lines here,

https://github.com/GoogleCloudPlatform/cloud-profiler-python/blob/ea964fc72095ca60492e7e5e1e4a45b01a91eccc/setup.py#L46-L53

statically link this package's native code against the particular version of libstdc++ available at link time. This breaks other packages which have native code and depend on a different version of libstdc++.

It seems reasonable to me to ask your users to have a recent version of libstdc++ and libgcc available. Or perhaps you could publish two packages to PyPI, this one and one that uses a dynamic link?

Thanks!

PS: I discovered this because version 4.0.0 is [incompatible with libsass](https://github.com/sass/libsass-python/issues/413).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.