Skip to content

Conversation

@daveinglis
Copy link
Contributor

  • libstdc++ needs to be added when linking if any dependency has a cpp dependency

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis daveinglis force-pushed the fix_linux_link_error branch from b71befd to 27bcc50 Compare October 29, 2025 19:58
@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test windows

@daveinglis daveinglis force-pushed the fix_linux_link_error branch from 27bcc50 to 3e1e26a Compare October 30, 2025 01:18
@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test windows

@jakepetroules
Copy link
Contributor

This seems more appropriate to be done at the Swift Build level - @owenv, what do you think?

@owenv
Copy link
Contributor

owenv commented Oct 30, 2025

Maybe. Could this be modeled using impartedSettings instead of manually propagating the flags from dependency to dependent?

@daveinglis
Copy link
Contributor Author

ah, ya, let me try the impartedSettings to see if that will work, forgot about that as a way to pass settings up the chain

@daveinglis daveinglis force-pushed the fix_linux_link_error branch from 3e1e26a to 6f87ef9 Compare October 31, 2025 13:35
@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test windows

2 similar comments
@daveinglis
Copy link
Contributor Author

@swift-ci test windows

@daveinglis
Copy link
Contributor Author

@swift-ci test windows

@daveinglis
Copy link
Contributor Author

@swift-ci test macos

Copy link
Contributor

@owenv owenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm assuming tests pass

- libstdc++ needs to be added when linking if any dependency has a cpp
  dependency
@daveinglis daveinglis force-pushed the fix_linux_link_error branch from 6f87ef9 to 8c8cebf Compare October 31, 2025 19:30
@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test windows

Copy link
Contributor

@jakepetroules jakepetroules left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, much cleaner. I think this sort of thing should probably still be handled at the Swift Build level, but this seems fine as an immediate fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants