From: Paul F. <pa...@so...> - 2024-09-29 18:24:46
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=4a634e5725623be65a4dbba49f947b2e7a784b59 commit 4a634e5725623be65a4dbba49f947b2e7a784b59 Author: Paul Floyd <pj...@wa...> Date: Sun Sep 29 18:22:10 2024 +0000 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: --- memcheck/tests/amd64/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index c0139bdb20..05299a752e 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 \ |