【问题标题】:valgrind installation make error __longjmp_chk already definedvalgrind 安装 make 错误 __longjmp_chk 已定义
【发布时间】:2012-12-28 08:26:42
【问题描述】:

我正在尝试在具有 glibc 2.11 的 ubuntu 10.04 上安装 valgrind 2.2.0。我使用了valgrind doesn't accept newest version of glibc 链接。虽然让我遇到了一些错误。屏幕上出现的最后 10 行是

vg_libpthread.c:314: note: expected ‘const Char *’ but argument is of type ‘char *’
vg_libpthread.c:3292: warning: pointer targets in passing argument 4 of ‘my_assert_fail’ differ in signedness
vg_libpthread.c:314: note: expected ‘const Char *’ but argument is of type ‘const char *’
/tmp/ccGHnzp9.s: Assembler messages:
/tmp/ccGHnzp9.s:2463: Error: symbol `__longjmp_chk' is already defined
make[4]: *** [vg_libpthread.o] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

/tmp/ccGHnzp9.s 文件不存在。我无法找到问题所在。 谢谢。

【问题讨论】:

    标签: valgrind ubuntu-10.04 glibc


    【解决方案1】:

    我正在尝试在 ubuntu 10.04 上安装 valgrind 2.2.0

    Valgrind 2.2.0 是古老的(于 2004 年 8 月 31 日发布),如果没有对最近的 Linux 系统进行大量黑客攻击,就无法构建。

    我也想不出任何好的理由来尝试构建那个特定的 Valgrind 版本。只需使用较新的版本(current 版本在 ubuntu 10.04 上构建就很好,没有任何黑客攻击)。

    【讨论】:

      猜你喜欢
      • 2012-11-05
      • 1970-01-01
      • 2014-11-26
      • 1970-01-01
      • 2021-06-23
      • 1970-01-01
      • 1970-01-01
      • 2015-07-08
      相关资源
      最近更新 更多