swift: [Regression] Build fails on Linux Armv7

Describe the bug I am trying to compile Swift with the buildbot_linux,no_test preset and the build fails.

Steps To Reproduce Steps to reproduce the behavior:

  1. Clone and Swift 5.7.1 sources on Debian 11 Armhf
  2. Build with ./swift/utils/build-script --preset=buildbot_linux,no_test

Expected behavior The build process should not fail. This previously worked with Swift 5.1.5.

Environment (please fill out the following information)

  • OS: Debian Bullseye armhf
  • Swift: swift-5.7.1-RELEASE

Additional context

swift-linux-armv7.log

Running on CTL J4+ Chromebook with Cadmium.

Screenshot 2022-11-07 at 1 54 11 PM

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 39 (39 by maintainers)

Most upvoted comments

I was able to cross compile everything with minor changes and patches. Building natively is still not working for me.

Screenshot 2022-11-12 at 9 33 32 PM

Building with

./swift/utils/build-script -RA --swift-enable-ast-verifier=0 --no-swift-stdlib-assertions '--swift-install-components=autolink-driver;compiler;clang-resource-dir-symlink;stdlib;swift-remote-mirror;sdk-overlay;parser-lib;static-mirror-lib;toolchain-tools;license;sourcekit-inproc' '--llvm-install-components=llvm-cov;llvm-profdata;IndexStore;clang;clang-resource-headers;compiler-rt;clangd;lld;LTO;clang-features-file' --llbuild --swiftpm --swift-driver --xctest --libicu --swiftdocc --build-ninja --install-llvm --install-swift --install-lldb --install-llbuild --install-swiftpm --install-swift-driver --install-xctest --install-libicu --install-prefix=/usr --install-sourcekit-lsp --install-swiftdocc --build-swift-static-stdlib --build-swift-static-sdk-overlay --build-swift-stdlib-unittest-extra --test-installable-package --toolchain-benchmarks --install-destdir=/home/coleman/Developer/swift-source/install --installable-package=/home/coleman/Developer/swift-source/install/swift-5.7.1-armv7-RELEASE-Debian11.tar.gz --relocate-xdg-cache-home-under-build-subdir --build-subdir=buildbot_linux --lldb --release --test --validation-test --long-test --stress-test --test-optimized --foundation --libdispatch --indexstore-db --sourcekit-lsp --skip-test-sourcekit-lsp --swiftdocc '--lit-args=-v --time-tests' --lldb-test-swift-only --install-foundation --install-libdispatch --reconfigure --skip-test-cmark --skip-test-lldb --skip-test-swift --skip-test-llbuild --skip-test-swiftpm --skip-test-swift-driver --skip-test-xctest --skip-test-foundation --skip-test-libdispatch --skip-test-playgroundsupport --skip-test-libicu --skip-test-indexstore-db --skip-test-sourcekit-lsp --skip-test-swiftdocc  --extra-cmake-options='-DCMAKE_C_FLAGS="-w" -DCMAKE_CXX_FLAGS="-w"' --bootstrapping=off