Comments (4)
Nice. I saw the change in canPrespecializeTarget
, but wasn't sure that it will address this issue.
Thank you! @buttaface
@michaelknoch Seems you can try toolchain release based on Swift 5.4.2.
from swift-everywhere-toolchain.
The call /lib/arm/libswiftCore.so (swift_getCanonicalPrespecializedGenericMetadata+20)
seems corresponds to this line: https://github.com/apple/swift/blob/swift-5.4.1-RELEASE/stdlib/public/runtime/Metadata.cpp#L805
The call /lib/arm/libswiftCore.so (swift_once+44)
seems corresponds to this line: https://github.com/apple/swift/blob/swift-5.4.1-RELEASE/stdlib/public/runtime/Metadata.cpp#L731
The call /lib/arm/libc++_shared.so (std::__ndk1::__call_once(unsigned long volatile&, void*, void (*)(void*))+74)
seems corresponds to this line: https://github.com/apple/swift/blob/swift-5.4.1-RELEASE/stdlib/public/runtime/Once.cpp#L65
The remaining two lines /lib/arm/libswiftCore.so
seems something what executed inside swift_once
:
swift_once(
token,
[](void *uncastDescription) {
auto *description = (const TypeContextDescriptor *)uncastDescription;
_cacheCanonicalSpecializedMetadata(description);
},
(void *)description)
Maybe like something wrong with _cacheCanonicalSpecializedMetadata(description)
call. Or maybe with call to std::__ndk1::__call_once
.
Seems you need a debug build of libswiftCore
to see more symbols.
from swift-everywhere-toolchain.
This is a known issue with Swift 5.4, apple/swift#36658, that was fixed with Swift 5.4.2, which I see Vlad just released.
from swift-everywhere-toolchain.
seems to work, the crash does not happen when using the 5.4.2 release. thanks @buttaface @vgorloff !
from swift-everywhere-toolchain.
Related Issues (20)
- Update to use last LTS release of NDK r21e - 21.4.7075529 HOT 1
- build toolchain for linux host machines HOT 4
- Update to use Swift v5.4.1 HOT 1
- host MacOS failed build for android NDK arm-linux-androideabi-gcc on $PATH at (eval 10) line 124. HOT 3
- SIGSEGV when calling print() HOT 5
- Update to Swift release 5.4.2 HOT 1
- error: no such module 'Darwin.C' @_exported import Darwin.C while compile HOT 2
- swift package build fail HOT 15
- Update to use Swift 5.4.3 HOT 1
- Update to use Swift 5.5 HOT 12
- Question about build process HOT 6
- Where is concurrency lib? HOT 57
- Notarize toolchain.
- Toolchain for Apple Silicon HOT 2
- Does the build work right now? HOT 2
- CMath build errors HOT 1
- build error when xcode 13.3 command line tools are installed
- m1 apple silicon builds
- __aarch64_ldadd1_relax
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-everywhere-toolchain.