Backport: e894527ecf531d1b31bdcc9b23a10627c1b4d355 1) tcmalloc can't be dlopen()ed successfully on non-x86_64 arches, or at least not on aarch64, s390x, and armv7hl; causing issues with qemu and/or libvirt on those platforms. 2) invoking rpmbuild with --without-tcmalloc creates the %global %_without_tcmalloc (=true), and AFAIK does not creat the %global %_with_tcmalloc (=false). The later tests for %_with_tcmalloc: do not work correctly, they need to test for '!%_without_tcmalloc'. 3) a %global %_without_libtcmalloc is created but never used. The %configure step uses %_without_tcmalloc. Signed-off-by: imxcc <xingchaochao@huawei.com> Signed-off-by: kalebskeithley <kaleb@redhat.com> Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Signed-off-by: Wenchao Hao <haowenchao@huawei.com> (cherry picked from commit 402675e26a2234a8c8c3646d3282519a3bdcf1d4)
Description
No description provided
Languages
Diff
100%