mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
valgrind: Add workaround for slow loading of debuginfo by valgrind.
See nbdkit commitbd32d899edand https://bugzilla.redhat.com/show_bug.cgi?id=1662656 (cherry picked from commitea7c13fed7)
This commit is contained in:
@@ -124,9 +124,10 @@ dnl Check for valgrind
|
||||
AC_CHECK_PROG([VALGRIND],[valgrind],[valgrind],[no])
|
||||
AS_IF([test "x$VALGRIND" != "xno"],[
|
||||
# Substitute the whole valgrind command.
|
||||
# --read-inline-info=no is a temporary workaround for RHBZ#1662656.
|
||||
# Note we run libtool, not $(LIBTOOL) since the latter expands to
|
||||
# libtool-kill-dependency-libs.sh
|
||||
VG='libtool --mode=execute $(VALGRIND) --vgdb=no --log-file=$(abs_top_builddir)/tmp/valgrind-%q{T}-%p.log --leak-check=full --error-exitcode=119 --suppressions=$(abs_top_srcdir)/valgrind-suppressions --trace-children=no --child-silent-after-fork=yes --run-libc-freeres=no'
|
||||
VG='libtool --mode=execute $(VALGRIND) --vgdb=no --log-file=$(abs_top_builddir)/tmp/valgrind-%q{T}-%p.log --leak-check=full --error-exitcode=119 --suppressions=$(abs_top_srcdir)/valgrind-suppressions --trace-children=no --child-silent-after-fork=yes --run-libc-freeres=no --read-inline-info=no'
|
||||
],[
|
||||
# No valgrind, so substitute VG with something that will break.
|
||||
VG=VALGRIND_IS_NOT_INSTALLED
|
||||
|
||||
Reference in New Issue
Block a user