Yep, detailed logs from the compiler validation suite, including this recurring error:
Command Output (stderr):
--
<unknown>:0: warning: the '-enable-experimental-cxx-interop' flag is deprecated; please pass '-cxx-interoperability-mode=' instead
<unknown>:0: note: Swift will maintain source compatibility for imported APIs based on the selected compatibility mode, so updating the Swift compiler will not change how APIs are imported
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "SwiftGlibc.h"
^
/data/data/com.termux/files/home/build/Ninja-Release/swift-android-aarch64/lib/swift/android/aarch64/SwiftGlibc.h:165:10: note: in file included from /data/data/com.termux/files/home/build/Ninja-Release/swift-android-aarch64/lib/swift/android/aarch64/SwiftGlibc.h:165:
#include <iconv.h>
^
/data/data/com.termux/files/usr/include/iconv.h:122:3: error: missing '#include <bits/mbstate_t.h>'; 'mbstate_t' must be declared before it is used
mbstate_t dummy2;
^
/data/data/com.termux/files/usr/include/bits/mbstate_t.h:47:3: note: declaration here is not visible
} mbstate_t;
^
<unknown>:0: error: could not build C module 'SwiftGlibc'
I will be trying some things in the coming weeks and let you know how that goes. If my attempts don't work, I may take you up on that.