Skip to content

Conversation

qiongsiwu
Copy link
Contributor

@qiongsiwu qiongsiwu commented Oct 15, 2025

swiftlang/llvm-project#11631 is cherry-picking clang commits that change CompilerInstance's APIs. The API changes are causing Swift build breaks. This PR fixes the API breaks.

@qiongsiwu
Copy link
Contributor Author

swiftlang/llvm-project#11631

@swift-ci please smoke test.

@qiongsiwu
Copy link
Contributor Author

swiftlang/llvm-project#11631

@swift-ci please test Windows

@qiongsiwu
Copy link
Contributor Author

swiftlang/llvm-project#11631

@swift-ci please smoke test.

@qiongsiwu
Copy link
Contributor Author

swiftlang/llvm-project#11631

@swift-ci please test Windows

@qiongsiwu
Copy link
Contributor Author

swiftlang/llvm-project#11631

@swift-ci please smoke test.

@qiongsiwu
Copy link
Contributor Author

swiftlang/llvm-project#11631

@swift-ci please test Windows

@qiongsiwu
Copy link
Contributor Author

swiftlang/llvm-project#11631

@swift-ci please smoke test.

2 similar comments
@qiongsiwu
Copy link
Contributor Author

swiftlang/llvm-project#11631

@swift-ci please smoke test.

@qiongsiwu
Copy link
Contributor Author

swiftlang/llvm-project#11631

@swift-ci please smoke test.

@qiongsiwu
Copy link
Contributor Author

The macOS failure could be dependency scanning related (https://ci.swift.org/job/swift-PR-macos-smoke-test/23721/consoleFull). Specifically, the error is _Builtin_stdint-AQKSPIMLZOESNDH73ZPMF2AZI.pcm' is out of date and needs to be rebuilt: module file has a different size than expected when we build LocalTestingDistributedActorSystem.swift. I cannot reproduce this failure on desk so far.

@nkcsgexi
Copy link
Contributor

Probably similar to #84995?

@artemcm
Copy link
Contributor

artemcm commented Oct 20, 2025

@swift-ci Please clean smoke test macOS platform

@artemcm
Copy link
Contributor

artemcm commented Oct 20, 2025

swiftlang/llvm-project#11631
@swift-ci Please clean smoke test macOS platform

@vanvoorden
Copy link
Contributor

vanvoorden commented Oct 21, 2025

https://ci.swift.org/job/swift-PR-macos-smoke-test/23793/

[2025-10-21T19:11:28.306Z] error: generate-pcm command failed with exit code 1 (use -v to see invocation)
[2025-10-21T19:11:28.306Z] <module-includes>:1:9: note: in file included from <module-includes>:1:
[2025-10-21T19:11:28.306Z] 1 | #import "tgmath.h"
[2025-10-21T19:11:28.306Z]   |         `- note: in file included from <module-includes>:1:
[2025-10-21T19:11:28.306Z] 2 | 
[2025-10-21T19:11:28.306Z] 
[2025-10-21T19:11:28.306Z] 1 error generated.
[2025-10-21T19:11:28.306Z] /Users/ec2-user/jenkins/workspace/swift-PR-macos-smoke-test/branch-main/build/buildbot_incremental/llvm-macosx-x86_64/lib/clang/21/include/tgmath.h:21:4: error: module file '/var/folders/bb/hcrjxg1s0b96pfst0ymhmp240000gn/C/clang/ModuleCache/_math-6X1XIJLGY09OU392JSQVQDTP4.pcm' is out of date and needs to be rebuilt: module file has a different size than expected
[2025-10-21T19:11:28.306Z]   19 |  */
[2025-10-21T19:11:28.306Z]   20 | #if defined(__APPLE__) && __STDC_HOSTED__ && __has_include_next(<tgmath.h>)
[2025-10-21T19:11:28.306Z]   21 | #  include_next <tgmath.h>
[2025-10-21T19:11:28.306Z]      |    |- error: module file '/var/folders/bb/hcrjxg1s0b96pfst0ymhmp240000gn/C/clang/ModuleCache/_math-6X1XIJLGY09OU392JSQVQDTP4.pcm' is out of date and needs to be rebuilt: module file has a different size than expected
[2025-10-21T19:11:28.306Z]      |    `- note: imported by module '_tgmath' in '/var/folders/bb/hcrjxg1s0b96pfst0ymhmp240000gn/C/clang/ModuleCache/_tgmath-2GYTFMG43DA744YYSLNZJ1P27.pcm'
[2025-10-21T19:11:28.306Z]   22 | #else

@jansvoboda11 I think I saw this similar error when trying to run smoke tests. Do I need to rebase my branch diff on the new main commit after this diff lands?

@jansvoboda11
Copy link
Contributor

@vanvoorden I think one of my PRs introduced a bug. I have reverts here: swiftlang/llvm-project#11670 #85051

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.

6 participants