Closed Jumhyn closed 1 year ago
@Jumhyn could you check if this is resolved by https://github.com/apple/swift/pull/69044?
With a debug compiler, this only seems to reproduce with --bootstrapping=off
.
@kubamracek I was able to repro this at top-of-tree yesterday so I don't think it's solved by that PR sadly.
@AnthonyLatsis hmmm, I don't think I was building with bootstrapping off, but I have in the past so maybe I haven't reconfigured. I'll see if i can repro today
Confirmed @AnthonyLatsis that this only appears to reproduce with --bootstrapping=off
, and I can reproduce it in release mode in that case as well. A clean build with default boostrapping settings does not have the issue but recompiling with --bootstrapping=off --reconfigure
reproduces.
@kubamracek I just reproduced with the following build command:
utils/build-script --skip-build-benchmarks \
--skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "$(uname -m)" \
--sccache --release-debuginfo --swift-disable-dead-stripping --test --bootstrapping=off --reconfigure
at the following commit:
commit fd6a4947e61dfc5cef09eed09c265e9cb459a483 (origin/main, origin/HEAD)
Merge: 9ba500d4e49 801b9700124
Author: Alastair Houghton <ahoughton@apple.com>
Date: Thu Oct 12 11:50:15 2023 +0100
I've updated the title and description to reflect that this appears to be related to bootstrapping, not debug mode
Fixing in https://github.com/apple/swift/pull/69165.
Thank you @kubamracek!
When building the compiler without bootstrapping enabled I get a crash related to Embedded Swift. Haven't enabled any special settings related to embedded mode, not sure what's triggering the concurrency lib to build in embedded mode...
cc @kubamracek