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-4608] Missing dependencies in build system? #47185
Comments
@swift-ci create |
In fact I very commonly see overlays and other components that depend on the standard library building long before the standard library is finished compiling. Is it possible they're all depending on the .swiftmodule but not the .dylib, but they need to depend on both? Please make this a priority; it really gets in the way of standard library development. /cc najacque (JIRA User) |
najacque (JIRA User) Can you please escalate this? It's gotten to the point that I need to do
after I change anything in the standard library. Otherwise I get link errors and my benchmark results are out-of-date. @shahmishal You might need to add something like the above to any incremental builds in CI until this is fixed. |
zisko (JIRA User) I think you told me you were going to add a patch to the build script to squash this problem until we could implement a real solution? |
Escalating to @bob-wilson since nothing seems to be happening here. Bob, this problem makes it impossible to be sure you are getting accurate benchmark or test results unless you touch all the other swift files whenever the stdlib (and presumably, the compiler too?) changes. IMO this is an intolerable fragility. It didn't use to be this way; it regressed. I've been manually using this, but it's still easy to forget:
|
Weird; I just saw this happen when I built without the extra "touch" step:
It's as though generating SwiftRevision.inc brought a bunch of targets up-to-date or something. |
Additional Detail from JIRA
md5: 816665ab1842c12203bf934db4311a18
Issue Description:
I keep seeing things like this when I make changes in the Standard library, especially to types with lots of
@_transparent
methods:simd.o is another one that was failing to be linked recently.
Is it possible these .o files aren't dependent on the standard library's .o file in the build system?
The text was updated successfully, but these errors were encountered: