Skip to content

[6.2][wasm] Fix installation paths for libxml2.a #83358

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

Conversation

kateinoigakukun
Copy link
Member

  • Explanation: Clang driver only passes arch-specific library paths as search paths to the linker for WebAssembly targets but we were installing libxml2.a under <sysroot>/lib without the multiarch triple. It led to the linker not finding libxml2.a when importing FoundationXML
  • Scope: Narrow, only affects Wasm Swift SDK.
  • Original PRs: [wasm] Fix installation paths for libxml2.a #83356
  • Risk: Low, just a change to Wasm Swift SDK
  • Testing: CI
  • Reviewers: @shahmishal

Clang driver only passes arch-specific library paths as search paths
to the linker for WebAssembly targets but we were installing
libxml2.a under `<sysroot>/lib` without the multiarch triple. It led
to the linker not finding libxml2.a when importing FoundationXML
@kateinoigakukun kateinoigakukun requested a review from a team as a code owner July 27, 2025 23:09
@kateinoigakukun
Copy link
Member Author

@swift-ci test

@kateinoigakukun kateinoigakukun merged commit 73209e1 into swiftlang:release/6.2 Jul 28, 2025
5 checks passed
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.

2 participants