gegy
1
Hell there. I am not sure if this is the right place, but maybe it is. ;)
I have installed swift (5.3.1) on my linux device and vapor toolbox (18.0.3). I installed the toolbox from source with make. Everything seems to be fine. Then I created a new vapor project. Also this works. But then when I tried to build the project I am getting the following errors:
clang-10: error: unable to execute command: Segmentation fault
clang-10: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 10.0.0 (git@github.com:apple/llvm-project.git 3093af41dd65ad466dcd5603e9289244edfee4f5)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/share/swift/usr/bin
clang-10: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
clang-10: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: /tmp/tls_record-d7f9bc.cpp
clang-10: note: diagnostic msg: /tmp/tls_record-d7f9bc.cache
clang-10: note: diagnostic msg: /tmp/tls_record-d7f9bc.sh
clang-10: note: diagnostic msg:
[74/930] Compiling tls_method.cc
Does anybody know what do to?
gegy
2
Meanwhile i tried to build Swift from suource but i also getting an clang-10 error on building.
0xTim
(Tim)
3
This looks like a Debian/LLVM bug. It's probably best to raise it with them