googleapis / googleapis/google-cloud-cpp

Unexpected linker warnings on macOS builds

Đang mở
#13,624 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
cpp: operator type: cleanup
Ngôn ngữ chính
C++
Star
659
Fork
462
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
89

Mô tả

The macOS + CMake builds are issuing warnings such as:

```
ld: warning: ignoring duplicate libraries: 'google/cloud/bigtable/libgoogle_cloud_cpp_bigtable.a', 'google/cloud/bigtable/libgoogle_cloud_cpp_bigtable_protos.a', 'google/cloud/libgoogle_cloud_cpp_common.a', 'google/cloud/libgoogle_cloud_cpp_grpc_utils.a', 'vcpkg_installed/arm64-osx/debug/lib/libgmock.a', 'vcpkg_installed/arm64-osx/debug/lib/libgrpc++.a', 'vcpkg_installed/arm64-osx/debug/lib/libgrpc.a', 'vcpkg_installed/arm64-osx/debug/lib/libgtest.a', 'vcpkg_installed/arm64-osx/debug/lib/libprotobufd.a', 'vcpkg_installed/arm64-osx/debug/lib/manual-link/libgmock_main.a'
```

https://github.com/googleapis/google-cloud-cpp/actions/runs/7934388869/job/21665281291

These look new to me, and are probably not a great experience.

I remember seeing similar warnings with macOS + Bazel:

```
ld: warning: ignoring duplicate libraries: '-lc++'
```

https://github.com/googleapis/google-cloud-cpp/actions/runs/7926236215/job/21640717801

This suggests the toolchain may be issuing new warnings?

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.