运行cloud9时出错“错误:ld以信号11终止”

时间:2014-03-31 18:21:23

标签: 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
  

我收到同样的错误" collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped

1 个答案:

答案 0 :(得分:2)

如果即使对于最简单的程序(如helloworld)也无法运行ld,看起来某些东西(ld二进制文件或其库)已损坏,无论是在内存中(重启都会有帮助),还是在硬盘上。

您可以重新检查已安装软件包的md5sums(基于rpm的linuxes - rpm --verify;基于deb的 - debsumsdpkg --verify - 根据debian bug 187019),或者只是重新安装它们。

使用memtest,您可以测试RAM的缺陷(ECC RAM最好保护您的数据)。使用现代文件系统,拥有data checksumming(ZFS,btrfs)和/或像AIDE这样的完整性检查器,您可以检测存储在硬盘上的数据的静默损坏。