Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-11862] Can't build C++ libraries with a development version of SwiftPM #4640

Open
hartbit opened this issue Nov 27, 2019 · 2 comments
Open
Labels

Comments

@hartbit
Copy link
Collaborator

hartbit commented Nov 27, 2019

Previous ID SR-11862
Radar rdar://problem/57549479
Original Reporter @hartbit
Type Bug
Additional Detail from JIRA
Votes 1
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 6c4bea113cd9ceb4463c7b6f4fe3f876

Issue Description:

The fake toolchain symlink of clang setup by the SwiftPM bootstrap script can't find standard libraries. For example, trying to build Swift NIO with a development version of SwiftPM results in the following error:

In file included from /Users/david/Downloads/vapor/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:15:
In file included from /Users/david/Downloads/vapor/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_ssl.h:145:
/Users/david/Downloads/vapor/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_base.h:474:10: fatal error: 'memory' file not found
#include <memory>
         ^~~~~~~~
@weissi
Copy link
Member

weissi commented Nov 27, 2019

This probably applies to all C++ software that uses #include <memory>.

@beccadax
Copy link
Contributor

beccadax commented Dec 2, 2019

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants