From: Paul Floyd Date: Sun, 29 Sep 2024 18:22:10 +0000 (+0000) Subject: Linux regtest: fix for memcheck/tests/amd64/bug492210 X-Git-Tag: VALGRIND_3_24_0~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a634e5725623be65a4dbba49f947b2e7a784b59;p=thirdparty%2Fvalgrind.git Linux regtest: fix for memcheck/tests/amd64/bug492210 On Arch Linux I get an error concerning the use of PIE and an uninitialized variable warning. Add the no PIE flag and also turn off the warning. --- diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index c0139bdb2..05299a752 100644 --- a/memcheck/tests/amd64/Makefile.am +++ b/memcheck/tests/amd64/Makefile.am @@ -81,6 +81,7 @@ AM_CFLAGS += @FLAG_M64@ AM_CXXFLAGS += @FLAG_M64@ AM_CCASFLAGS += @FLAG_M64@ +bug492210_CFLAGS = ${AM_CFLAGS} @FLAG_NO_PIE@ @FLAG_W_NO_UNINITIALIZED@ fxsave_amd64_CFLAGS = $(AM_CFLAGS) @FLAG_NO_PIE@ insn_pcmpistri_CFLAGS = $(AM_CFLAGS) more_x87_fp_CFLAGS = $(AM_CFLAGS) -O -ffast-math -mfpmath=387 \