]> sourceware.org Git - systemtap.git/commit
Testsuite: Prevent the hwcaps based dynamic loader search
authorMartin Cermak <mcermak@redhat.com>
Wed, 4 May 2022 09:21:17 +0000 (11:21 +0200)
committerMartin Cermak <mcermak@redhat.com>
Wed, 4 May 2022 09:21:17 +0000 (11:21 +0200)
commita8cf9ad006396ce839fbc46b937829863dcff58a
tree56837335489b638e775fd1a4e56743df1e8417f3
parent0c335a75a789ff44b514e567d458881e15cc283d
Testsuite:  Prevent the hwcaps based dynamic loader search

The s390x syscall testsuite started to experience a problem where
the test logs were flooded with hundreds of newfstatat and openat
syscalls.  The reason for this was that the dynamic loader was
searching for shared objects based on hwcaps:

https://sourceware.org/pipermail/libc-alpha/2020-May/113757.html

This doesn't happen if the LD_LIBRARY_PATH isn't set.  Another
approach to avoid the flood would be to export LD_HWCAP_MASK=0.
This patch only  unsets LD_LIBRARY_PATH because it looks good
enough.

Instead of doing full autoreconf, which, in my case, would
produce a huge messy patch, this only is a targetted change
to the testsuite Makefile.{am,in}.

This update doesn't seem to break the dyninst part of the
testsuite, regardless of systemtap configure --prefix.
testsuite/Makefile.am
testsuite/Makefile.in
This page took 0.029131 seconds and 5 git commands to generate.