This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Description
Docker 5.6.2-centos7
> [builder 7/11] RUN swift build -c release --static-swift-stdlib:
#13 1.577 Building for production...
#13 1.738 In file included from /build/.build/checkouts/swift-backtrace/Sources/CBacktrace/elf.c:41:
#13 1.738 /usr/include/unistd.h:1147:35: error: __block attribute not allowed, only allowed on local variables
#13 1.738 extern void encrypt (char *__block, int __edflag) __THROW __nonnull ((1));
#13 1.738 ^
#13 1.766 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization1 error generated.
#13 1.808 [0/875] Compiling CBacktrace elf.c
#13 1.809 [1/875] Compiling _NumericsShims _NumericsShims.c
#13 1.812 [1/875] Compiling CBacktrace dwarf.c
#13 1.812 [2/875] Compiling printf.c
#13 1.813 [3/875] Compiling CBacktrace backtrace.c
#13 1.813 [3/875] Compiling socket.c
------
executor failed running [/bin/sh -c swift build -c release --static-swift-stdlib]: exit code: 1