Hi everyone,
i was trying to rebuild the project but after installing ubuntu linux.
and used this flag to build
utils/build-script --release-debuginfo --debug-swift -j6
then after a while i got this error
: && /usr/local/bin/swift/usr/bin/clang++ -Wno-unknown-warning-option -Werror=unguarded-availability-new -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -target x86_64-unknown-linux-gnu -fuse-ld=gold -Xlinker --build-id=sha1 tools/swift-ast-script/CMakeFiles/swift-ast-script.dir/ASTScriptConfiguration.cpp.o tools/swift-ast-script/CMakeFiles/swift-ast-script.dir/ASTScriptParser.cpp.o tools/swift-ast-script/CMakeFiles/swift-ast-script.dir/ASTScriptEvaluator.cpp.o tools/swift-ast-script/CMakeFiles/swift-ast-script.dir/swift-ast-script.cpp.o -o bin/swift-ast-script -L/home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/./lib -L/usr/local/bin/swift/usr/lib/swift/linux -L/usr/local/bin/swift/usr/lib/swift/linux/x86_64 -L/home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/swift-linux-x86_64/lib -Wl,-rpath,"\$ORIGIN/../lib/swift/linux:\$ORIGIN/../lib/swift/host/compiler" -lpthread -ldl /usr/local/bin/swift/usr/lib/swift/linux/x86_64/swiftrt.o -lswiftCore lib/libswiftAST.a lib/libswiftFrontendTool.a lib/libswiftDependencyScan.a lib/libswiftDependencyScanImpl.a lib/libswiftImmediate.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMMCJIT.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMOrcJIT.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMExecutionEngine.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMRuntimeDyld.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMJITLink.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMOrcTargetProcess.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMOrcShared.a lib/libswiftIndex.a lib/libswiftMigrator.a lib/libswiftPrintAsClang.a lib/libswiftFrontend.a lib/libswiftConstExtract.a lib/libswiftAPIDigester.a lib/libswiftLocalization.a lib/libswiftSymbolGraphGen.a lib/libswiftIRGen.a lib/libswiftLLVMPasses.a lib/libswiftIDE.a lib/libswiftDriver.a lib/libswiftIDEUtilsBridging.a lib/swift/host/compiler/lib_CompilerSwiftIDEUtils.so lib/libswiftSILGen.a lib/libswiftSILOptimizer.a lib/libswiftSerialization.a lib/libswiftSIL.a lib/libswiftSema.a lib/libswiftSerialization.a lib/libswiftSIL.a lib/libswiftSema.a lib/libswiftOption.a lib/libswiftClangImporter.a lib/libswiftParse.a lib/libswiftMacroEvaluation.a lib/libswiftAST.a lib/libswiftASTGen.a lib/libswiftAST.a lib/libswiftASTGen.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMX86CodeGen.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMX86AsmParser.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMX86Desc.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMX86Disassembler.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMX86Info.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMARMCodeGen.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMARMAsmParser.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMARMDisassembler.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMARMDesc.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMARMInfo.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMARMUtils.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMAArch64CodeGen.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMAArch64AsmParser.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMAArch64Disassembler.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMAArch64Desc.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMAArch64Info.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMAArch64Utils.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMPowerPCCodeGen.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMPowerPCAsmParser.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMPowerPCDesc.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMPowerPCDisassembler.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMPowerPCInfo.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMSystemZCodeGen.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMSystemZAsmParser.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMSystemZDisassembler.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMSystemZDesc.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMSystemZInfo.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMMipsCodeGen.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMMipsAsmParser.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMMipsDesc.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMMipsDisassembler.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMMipsInfo.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMRISCVCodeGen.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMGlobalISel.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMRISCVAsmParser.a /home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/llvm-linux-x86_64/lib/libLLVMRISCVDisassembler.a /home/ziad/GSoC/Swift/build/Nin
lib/libswiftMacroEvaluation.a(Macros.swift.o):Macros.swift.o:function $s20swiftMacroEvaluation018expandFreestandingB013diagEnginePtr05macroH017discriminatorText03rawB4Role010sourceFileH00n8LocationH0017expandedSourceOutH0SiSv_SVSPys4Int8VGs5UInt8VSVSPyANGSgSpySo16BridgedStringRefVGtF:(.text.$s20swiftMacroEvaluation018expandFreestandingB013diagEnginePtr05macroH017discriminatorText03rawB4Role010sourceFileH00n8LocationH0017expandedSourceOutH0SiSv_SVSPys4Int8VGs5UInt8VSVSPyANGSgSpySo16BridgedStringRefVGtF+0x5bb): error: undefined reference to '$ss27_allocateUninitializedArrayySayxG_BptBwlFyp_Tg5'
lib/libswiftASTGen.a(Bridge.swift.o):Bridge.swift.o:function $s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg:(.text.$s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg+0x3a): error: undefined reference to '$sSa5countSivgSi_Tg5'
lib/libswiftASTGen.a(Bridge.swift.o):Bridge.swift.o:function $s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg:(.text.$s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg+0x7e): error: undefined reference to '$sSayxSicigSi_Tg5'
lib/libswiftASTGen.a(Bridge.swift.o):Bridge.swift.o:function $s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg:(.text.$s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg+0x148): error: undefined reference to '$sSayxSicigSi_Tg5'
lib/libswiftASTGen.a(Bridge.swift.o):Bridge.swift.o:function $s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg:(.text.$s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg+0x26c): error: undefined reference to '$sSayxSicigSi_Tg5'
lib/libswiftASTGen.a(Bridge.swift.o):Bridge.swift.o:function $s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg:(.text.$s22_CompilerSwiftIfConfig12VersionTupleV11swiftASTGenE7bridgedSo07BridgedeF0Vvg+0x390): error: undefined reference to '$sSayxSicigSi_Tg5'
lib/libswiftASTGen.a(DiagnosticsBridge.swift.o):DiagnosticsBridge.swift.o:function $s11swiftASTGen19addQueuedDiagnostic20queuedDiagnosticsPtr011perFrontende5StateH04text8severity4cLoc12categoryName17documentationPath015highlightRangesH0012numHighlightT013fixItsUntypedySv_SvSo16BridgedStringRefVSo0zE8SeverityVSo0z6SourceN0VA2NSPySo0Z15CharSourceRangeVGSgSiSo0Z8ArrayRefVtF:(.text.$s11swiftASTGen19addQueuedDiagnostic20queuedDiagnosticsPtr011perFrontende5StateH04text8severity4cLoc12categoryName17documentationPath015highlightRangesH0012numHighlightT013fixItsUntypedySv_SvSo16BridgedStringRefVSo0zE8SeverityVSo0z6SourceN0VA2NSPySo0Z15CharSourceRangeVGSgSiSo0Z8ArrayRefVtF+0x97a): error: undefined reference to '$sSlss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyFSnySiG_Tg5'
lib/libswiftASTGen.a(DiagnosticsBridge.swift.o):DiagnosticsBridge.swift.o:function $s11swiftASTGen19addQueuedDiagnostic20queuedDiagnosticsPtr011perFrontende5StateH04text8severity4cLoc12categoryName17documentationPath015highlightRangesH0012numHighlightT013fixItsUntypedySv_SvSo16BridgedStringRefVSo0zE8SeverityVSo0z6SourceN0VA2NSPySo0Z15CharSourceRangeVGSgSiSo0Z8ArrayRefVtF:(.text.$s11swiftASTGen19addQueuedDiagnostic20queuedDiagnosticsPtr011perFrontende5StateH04text8severity4cLoc12categoryName17documentationPath015highlightRangesH0012numHighlightT013fixItsUntypedySv_SvSo16BridgedStringRefVSo0zE8SeverityVSo0z6SourceN0VA2NSPySo0Z15CharSourceRangeVGSgSiSo0Z8ArrayRefVtF+0x9ba): error: undefined reference to '$ss16IndexingIteratorV4next7ElementQzSgyFSnySiG_Tg5'
lib/libswiftASTGen.a(Exprs.swift.o):Exprs.swift.o:function $s11swiftASTGen0B7VisitorV8generate11closureExprSo07BridgedF0V20_CompilerSwiftSyntax07ClosurefJ0V_tF:(.text+0x74a): error: undefined reference to '$sSlss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyFSNySiG_Tg5'
lib/libswiftASTGen.a(Exprs.swift.o):Exprs.swift.o:function $s11swiftASTGen0B7VisitorV8generate11closureExprSo07BridgedF0V20_CompilerSwiftSyntax07ClosurefJ0V_tF:(.text+0x776): error: undefined reference to '$ss16IndexingIteratorV4next7ElementQzSgyFSNySiG_Tg5'
lib/libswiftASTGen.a(LexicalLookup.swift.o):LexicalLookup.swift.o:function $sSS11swiftASTGenE14addPaddingUpTo33_CFA2C99ADB37D26A26D800A9461D085FLL10charactersSSSi_tF:(.text+0x1594): error: undefined reference to '$sSlss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyFSnySiG_Tg5'
lib/libswiftASTGen.a(LexicalLookup.swift.o):LexicalLookup.swift.o:function $sSS11swiftASTGenE14addPaddingUpTo33_CFA2C99ADB37D26A26D800A9461D085FLL10charactersSSSi_tF:(.text+0x15a9): error: undefined reference to '$ss16IndexingIteratorV4next7ElementQzSgyFSnySiG_Tg5'
lib/libswiftASTGen.a(LexicalLookup.swift.o):LexicalLookup.swift.o:function $sSS11swiftASTGenE14addPaddingUpTo33_CFA2C99ADB37D26A26D800A9461D085FLL10charactersSSSi_tF:(.text+0x16d2): error: undefined reference to '$sSlss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyFSnySiG_Tg5'
lib/libswiftASTGen.a(LexicalLookup.swift.o):LexicalLookup.swift.o:function $sSS11swiftASTGenE14addPaddingUpTo33_CFA2C99ADB37D26A26D800A9461D085FLL10charactersSSSi_tF:(.text+0x16f3): error: undefined reference to '$ss16IndexingIteratorV4next7ElementQzSgyFSnySiG_Tg5'
lib/libswiftASTGen.a(LexicalLookup.swift.o):LexicalLookup.swift.o:function $s11swiftASTGen18astConsumedResults33_CFA2C99ADB37D26A26D800A9461D085FLL10sourceFile0C14ScopeResultRefSayAA0d6LookupQ0ACLLCGSPyAA014ExportedSourceO0VG_So012BridgedArrayR0VtFAGSgSo0vdsQ0VXEfU_:(.text+0x4920): error: undefined reference to '$ss27_allocateUninitializedArrayySayxG_BptBwlFyp_Tg5'
lib/libswiftASTGen.a(LexicalLookup.swift.o):LexicalLookup.swift.o:function $s11swiftASTGen17unqualifiedLookup13sourceFilePtr10astContext8lookupAt23finishInSequentialScope0hO9ResultRefSbSv_So17BridgedASTContextVSo0R9SourceLocVSbSo0r5ArrayQ0VtF:(.text.$s11swiftASTGen17unqualifiedLookup13sourceFilePtr10astContext8lookupAt23finishInSequentialScope0hO9ResultRefSbSv_So17BridgedASTContextVSo0R9SourceLocVSbSo0r5ArrayQ0VtF+0x9bc): error: undefined reference to '$ss27_allocateUninitializedArrayySayxG_BptBwlFyp_Tg5'
/home/ziad/GSoC/Swift/swift/lib/ASTGen/Sources/ASTGen/StableHasher.swift:0: error: undefined reference to '$sSlss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyFSnySiG_Tg5'
/home/ziad/GSoC/Swift/swift/lib/ASTGen/Sources/ASTGen/StableHasher.swift:0: error: undefined reference to '$ss16IndexingIteratorV4next7ElementQzSgyFSnySiG_Tg5'
/home/ziad/GSoC/Swift/swift-experimental-string-processing/Sources/_RegexParser/Regex/Printing/DumpAST.swift:61: error: undefined reference to '$sSa5countSivgSS_Tg5'
/home/ziad/GSoC/Swift/swift-experimental-string-processing/Sources/_RegexParser/Regex/Printing/DumpAST.swift:62: error: undefined reference to '$sSayxSicigSS_Tg5'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
ERROR: command `['/home/ziad/GSoC/Swift/swift/utils/build-script-impl', '--workspace', '/home/ziad/GSoC/Swift', '--build-dir', '/home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release', '--install-prefix', '/usr', '--host-target', 'linux-x86_64', '--stdlib-deployment-targets=linux-x86_64', '--host-cc', '/usr/local/bin/swift/usr/bin/clang', '--host-cxx', '/usr/local/bin/swift/usr/bin/clang++', '--darwin-xcrun-toolchain', 'default', '--darwin-deployment-version-osx=13.0', '--darwin-deployment-version-ios=16.0', '--darwin-deployment-version-tvos=16.0', '--darwin-deployment-version-watchos=6.0', '--darwin-deployment-version-xros=1.0', '--cmake', '/home/ziad/GSoC/Swift/build/cmake-linux-x86_64/bin/cmake', '--llvm-build-type', 'Release', '--swift-build-type', 'Debug', '--swift-stdlib-build-type', 'Release', '--lldb-build-type', 'Release', '--foundation-build-type', 'Release', '--libdispatch-build-type', 'Release', '--xctest-build-type', 'Release', '--llbuild-build-type', 'Release', '--swift-enable-assertions', 'true', '--swift-stdlib-enable-assertions', 'false', '--swift-analyze-code-coverage', 'false', '--llbuild-enable-assertions', 'true', '--lldb-assertions', 'true', '--cmake-generator', 'Ninja', '--cross-compile-append-host-target-to-destdir', 'true', '--build-jobs', '4', '--lit-jobs', '4', '--common-cmake-options=-G Ninja -DCMAKE_C_COMPILER:PATH=/usr/local/bin/swift/usr/bin/clang -DCMAKE_CXX_COMPILER:PATH=/usr/local/bin/swift/usr/bin/clang++ -DCMAKE_Swift_COMPILER:PATH=/usr/local/bin/swift/usr/bin/swiftc -DCMAKE_LIBTOOL:PATH= -DCMAKE_AR:PATH=/usr/bin/ar -DCMAKE_RANLIB:PATH=/usr/bin/ranlib -DLLVM_VERSION_MAJOR:STRING=17 -DLLVM_VERSION_MINOR:STRING=0 -DLLVM_VERSION_PATCH:STRING=0 -DCLANG_VERSION_MAJOR:STRING=17 -DCLANG_VERSION_MINOR:STRING=0 -DCLANG_VERSION_PATCH:STRING=0 -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja', '--build-args=-j4', '--dsymutil-jobs', '1', '--build-swift-libexec', 'true', '--swift-enable-backtracing', 'true', '--build-swift-clang-overlays', 'true', '--build-swift-remote-mirror', 'true', '--swift-source-dirname', 'swift', '--swift-cmake-options=-DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE -DSWIFT_FORCE_OPTIMIZED_TYPECHECKER:BOOL=FALSE -DSWIFT_STDLIB_ENABLE_STDLIBCORE_EXCLUSIVITY_CHECKING:BOOL=FALSE -DSWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING:BOOL=TRUE -DSWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY:BOOL=TRUE -DSWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP:BOOL=TRUE -DSWIFT_ENABLE_CXX_INTEROP_SWIFT_BRIDGING_HEADER:BOOL=TRUE -DSWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED:BOOL=TRUE -DSWIFT_ENABLE_BACKTRACING:BOOL=TRUE -DSWIFT_ENABLE_EXPERIMENTAL_OBSERVATION:BOOL=TRUE -DSWIFT_ENABLE_SYNCHRONIZATION:BOOL=TRUE -DSWIFT_ENABLE_VOLATILE:BOOL=TRUE -DSWIFT_ENABLE_RUNTIME_MODULE:BOOL=TRUE -DSWIFT_STDLIB_STATIC_PRINT=FALSE -DSWIFT_FREESTANDING_IS_DARWIN:BOOL=FALSE -DSWIFT_STDLIB_BUILD_PRIVATE:BOOL=TRUE -DSWIFT_STDLIB_ENABLE_UNICODE_DATA=TRUE -DSWIFT_SHOULD_BUILD_EMBEDDED_STDLIB=TRUE -DSWIFT_SHOULD_BUILD_EMBEDDED_STDLIB_CROSS_COMPILING=FALSE -DSWIFT_STDLIB_BUILD_SYMBOL_GRAPHS:BOOL=FALSE -DSWIFT_TOOLS_LD64_LTO_CODEGEN_ONLY_FOR_SUPPORTING_TARGETS:BOOL=FALSE -DSWIFT_ENABLE_EXPERIMENTAL_PARSER_VALIDATION:BOOL=TRUE -USWIFT_DEBUGINFO_NON_LTO_ARGS -DSWIFT_ENABLE_NEW_RUNTIME_BUILD:BOOL=FALSE', '--build-stdlib-deployment-targets', 'all', '--ninja-bin=/usr/bin/ninja', '--install-destdir', '/home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/toolchain-linux-x86_64', '--skip-build-benchmarks', '--skip-build-foundation', '--skip-build-xctest', '--skip-build-lldb', '--skip-build-llbuild', '--skip-build-libcxx', '--skip-build-libdispatch', '--skip-build-libxml2', '--skip-build-zlib', '--skip-build-curl', '--build-swift-dynamic-stdlib', '--build-swift-dynamic-sdk-overlay', '--skip-build-android', '--skip-test-swift', '--skip-test-lldb', '--skip-test-llbuild', '--skip-test-xctest', '--skip-test-foundation', '--skip-test-libdispatch', '--skip-test-benchmarks', '--android-deploy-device-path', '/data/local/tmp', '--extra-cmake-options=-USWIFT_DARWIN_SUPPORTED_ARCHS -DSWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE:PATH=/home/ziad/GSoC/Swift/swift-syntax -DSWIFT_BUILD_SWIFT_SYNTAX:BOOL=TRUE -DSWIFTSYNTAX_ENABLE_ASSERTIONS:BOOL=TRUE -DSWIFT_EARLY_SWIFT_DRIVER_BUILD=/home/ziad/GSoC/Swift/build/Ninja+cmark-DebugAssert+llvm-ReleaseAssert+swift-DebugAssert+stdlib-Release/earlyswiftdriver-linux-x86_64/debug/bin', '--llvm-lit-args=-sv --param color_output', '--llvm-install-components=llvm-ar;llvm-cov;llvm-profdata;IndexStore;clang;clang-resource-headers;compiler-rt;clangd;LTO;lld', '--musl-path=/usr/local/musl', '--linux-static-archs=x86_64;aarch64', '--only-execute', 'linux-x86_64-swift-build']` terminated with a non-zero exit status 1, aborting
Do you have any suggestions to solve these errors ?