首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >后台错误:在Ubuntu18.10上构建SourceKit-LSP的llvm.linker.options无效

后台错误:在Ubuntu18.10上构建SourceKit-LSP的llvm.linker.options无效
EN

Stack Overflow用户
提问于 2018-12-24 23:23:02
回答 1查看 388关注 0票数 2

为了在Ubuntu18.10上集成Visual Studio Code和SourceKit-LSP,我正在学习this教程,然而,我被困在了构建sourcekit-lsp项目上。

我得到的错误是:

代码语言:javascript
复制
fatal error
: 
error in backend: invalid llvm.linker.options


clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 7.0.0-3 (tags/RELEASE_700/final)
Target: x86_64-unknown-linux
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.

我不确定这是否相关,但在控制台中输入Swift后,我得到以下错误:

代码语言:javascript
复制
error: ld-2.28.so 0xffffffff0005f117: adding range [0x14167-0x141ca) which has a base that is less than the function's low PC 0x148c0. Please file a bug and attach the file at the start of this error message
error: ld-2.28.so 0xffffffff0005f117: adding range [0x141e0-0x141e6) which has a base that is less than the function's low PC 0x148c0. Please file a bug and attach the file at the start of this error message
error: ld-2.28.so 0xffffffff0005f184: adding range [0x14167-0x141ca) which has a base that is less than the function's low PC 0x148c0. Please file a bug and attach the file at the start of this error message
error: ld-2.28.so 0xffffffff0005f184: adding range [0x141e0-0x141e6) which has a base that is less than the function's low PC 0x148c0. Please file a bug and attach the file at the start of this error message
Welcome to Swift version 5.0-dev (LLVM b10ce3d642, Clang c1979d7668, Swift 94b167db75).
Type :help for assistance.

如果有人能给我一个如何解决这个问题的提示,我将不胜感激。我唯一想到的就是重新安装clang,但它并没有解决这个问题。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-12-27 19:06:28

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53915171

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档