From 4a634e5725623be65a4dbba49f947b2e7a784b59 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sun, 29 Sep 2024 18:22:10 +0000 Subject: [PATCH] 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. --- 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 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 \ -- 2.47.2