It seems that the valgrind-3.6.1-alt3 is completely broken: $ echo 'int main(void) { return 0; } '|gcc -xc -o test - $ valgrind ./test ==11438== Memcheck, a memory error detector ==11438== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==11438== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==11438== Command: ./test ==11438== --11438-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x2a valgrind: m_debuginfo/readdwarf.c:2338 (copy_convert_CfiExpr_tree): Assertion 'srcix >= 0 && srcix < VG_(sizeXA)(srcxa)' failed. ==11438== at 0x3802D6D7: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) sched status: running_tid=0 Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks.
А раньше эта сборка работала...
https://bugs.kde.org/show_bug.cgi?id=277045 Видимо, с новым gcc придётся наконец обновить и valgrind до 3.7.0.
(In reply to comment #2) > https://bugs.kde.org/show_bug.cgi?id=277045 > > Видимо, с новым gcc придётся наконец обновить и valgrind до 3.7.0. Кто будет обновлять? ;)
Кстати, valgrind-3.7.0 не будет собираться с новым automake: coregrind/Makefile.am:498: `pkglibdir' is not a legitimate directory for `DATA' Makefile.am:64: `pkglibdir' is not a legitimate directory for `DATA' В svn это уже исправили. Не знаю как у вас принято, но возможно стоит собирать версию из svn.
Для себя заткнул пока проблему сборкой: http://git.altlinux.org/people/legion/packages/valgrind.git?p=valgrind.git;a=commit;h=001cfa27201f6e20448b1153e6a4d5f5876515f7
(In reply to comment #5) > Для себя заткнул пока проблему сборкой: > > http://git.altlinux.org/people/legion/packages/valgrind.git?p=valgrind.git;a=commit;h=001cfa27201f6e20448b1153e6a4d5f5876515f7 Ее можно использовать для подготовки сборки в Сизиф?
Я собрал 3.7.0, обновил RH патчи, сбэкпортировал несколько фиксов из апстрима. Думаю да.
(In reply to comment #7) > Я собрал 3.7.0, обновил RH патчи, сбэкпортировал несколько фиксов из апстрима. > Думаю да. А valgrind-3.7.0-gcc-version.patch откуда?
(В ответ на комментарий №8) > А valgrind-3.7.0-gcc-version.patch откуда? Из апстрима, но это просто их код. Я не знаю номера ревизии.
valgrind-3.7.0-alt1 -> sisyphus: * Mon Jun 18 2012 Dmitry V. Levin <ldv@altlinux> 3.7.0-alt1 - Updated to 3.7.0 release (closes: #27411). - Backported upstream build fixes. - Merged with Fedora valgrind-3.7.0-4 (by legion@).