llvm - 运行cloud9时出错 "error: ld terminated with signal 11"

标签 llvm cloud9-ide binutils klee

我正在尝试在 ubuntu 上运行 cloud9 应用程序。但是 make 命令给了我错误

llvm[2]: Linking Release+Asserts executable klee (without symbols)
collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped
make[2]: *** [/home/mmalik9/cloud9-cloudsuite/cloud9/Release+Asserts/bin/klee] Error 1
make[2]: Leaving directory `/home/mmalik9/cloud9-cloudsuite/cloud9/tools/klee'
make[1]: *** [klee/.makeall] Error 2
make[1]: Leaving directory `/home/mmalik9/cloud9-cloudsuite/cloud9/tools'
make: *** [all] Error 1

请告诉我如何解决这个问题?

来自 https://askubuntu.com/questions/441621/cloud9-application-is-giving-error-error-ld-terminated-with-signal-11-segment 的 PS 更新

g++ helloworld.cpp -o proj

I am getting same error "collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped

最佳答案

如果即使对于最简单的程序(例如 helloworld)也无法运行 ld,则似乎某些内容(ld 二进制文件或其库)已损坏,无论是在内存中(重新启动将有所帮助),还是在硬盘驱动器上。

您可以重新检查已安装软件包的 md5sum(在基于 rpm 的 linux 中 - rpm --verify;在基于 deb 的 - debsumsdpkg --verify - 根据 debian bug 187019 ),或者简单地重新安装它们。

使用memtest,您可以测试 RAM 是否存在缺陷(ECC RAM 可以更好地保护您的数据)。对于现代文件系统,具有 data checksumming (ZFS、btrfs)和/或 AIDE 等完整性检查器,您可以检测存储在硬盘驱动器上的无声数据损坏。

关于llvm - 运行cloud9时出错 "error: ld terminated with signal 11",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22769216/

相关文章:

php - 使用 LLVM API 将全局字符串存储在可变变量中

c++ - 集成 LLVM passes

c - 构建 binutils 时使用了哪些配置选项?

android - ar 命令行长度

assembly - or32-uclinux-gcc 给出汇编消息 : no such instruction

c - Apple LLVM 3.0 编译器自动从 float 转换为 double

c++ - 使用自定义 Clang + Libc++(而不是 stdlibc++)编译 Tensorflow

ruby-on-rails - Rails-教程第一章 : rails server isn't working on Cloud9

cloud9-ide - Cloud9离线模式

rspec - 如何在 Cloud9 上执行 RSpec