wilsony
(Wilson Yu)
February 1, 2021, 1:04am
1
Hi developers,
I am trying to compile the swift compiler using the following command with Xcode 12.4 and macOS 11.1 installed, and I got an error saying that the header file "atomic" cannot be found:
The command:
utils/build-script --skip-build-benchmarks --skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "$(uname -m)" --sccache --release-debuginfo --test --xcode --skip-test-cmark
Here's the link to the gist containing the error log:
https://gist.github.com/Xkinler/c2366507656f3561aedb1775cbccadcd
Could you please take a look and help me with that?
Thank you so much for your help!
Hi @wilsony
I don't know about this error in specific but here are some references you may found helpful
I am trying to compile Swift for a while now. The compilation goes perfectly but some test case fails which results in the process to terminate with an exit status of 65.
I am using Xcode 12 ( not beta ) and macOS Big Sur Beta. I am using this command to build the Swift compiler.
utils/build-script --skip-build-benchmarks \
--skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "x86_64"
--cmake-c-launcher="$(which sccache)" --cmake-cxx-launcher="$(which sccache)"
--release-…
Hey. Since yesterday I'm trying to build the Swift compiler but I'm always getting the exact same error:
FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.osx.dir/sanitizer_platform_limits_posix.cc.o
/Users/admin/swift-source/build/Ninja-ReleaseAssert/llvm-macosx-x86_64/./bin/clang++ -DHAVE_RPC_XDR_H=0 -I/Users/admin/swift-source/llvm/projects/compiler-rt/lib/sanitizer_common/.. -Wall -std=c++11 -Wno-unused-parameter -O3 -DNDEBUG -arch arm64 -arch x86_64 -arch x86_64h -isy…
Also make sure you run update-checkout :)
wilsony
(Wilson Yu)
February 3, 2021, 2:16pm
3
Hi @LucianoPAlmeida ,
Thank you for your reply.
That error no longer exists for me.
Thank you again for your time.
1 Like