I'm working on Fedora 27 x86_64 from Master trying to sidestep https://bugs.kde.org/show_bug.cgi?id=387773.
I configured Valgrind with the following:
PKGCONFIG: /usr/local/lib64/pkgconfig
CPPFLAGS: -I/usr/local/include -DNDEBUG
CFLAGS: -g2 -O2 -m64 -march=native -fPIC
CXXFLAGS: -g2 -O2 -m64 -march=native -fPIC
LDFLAGS: -L/usr/local/lib64 -m64 -Wl,-R,/usr/local/lib64
-Wl,--enable-new-dtags
LDLIBS: -ldl -lpthread
Make'ing results in:
$ make
...
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../include
-I../VEX/pub -I../VEX/pub -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1
-DVGPV_x86_linux_vanilla=1 -Ipriv -I/usr/local/include -DNDEBUG -m32
-mpreferred-stack-boundary=2 -O2 -finline-functions -g -Wall
-Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes
-Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings
-Wempty-body -Wformat -Wformat-security -Wignored-qualifiers
-Wmissing-parameter-type -Wlogical-op -Wold-style-declaration
-fno-stack-protector -fno-strict-aliasing -fno-builtin
-fomit-frame-pointer -Wbad-function-cast -fstrict-aliasing -g2 -O2
-m64 -march=native -fPIC -MT priv/libvex_x86_linux_a-main_main.o -MD
-MP -MF priv/.deps/libvex_x86_linux_a-main_main.Tpo -c -o
priv/libvex_x86_linux_a-main_main.o `test -f 'priv/main_main.c' ||
echo './'`priv/main_main.c
cc1: error: -mpreferred-stack-boundary=2 is not between 3 and 12
gmake[3]: *** [Makefile:1907: priv/libvex_x86_linux_a-main_globals.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
cc1: error: -mpreferred-stack-boundary=2 is not between 3 and 12
gmake[3]: *** [Makefile:1921: priv/libvex_x86_linux_a-main_main.o] Error 1
mv -f priv/.deps/libvex_amd64_linux_a-host_mips_isel.Tpo
priv/.deps/libvex_amd64_linux_a-host_mips_isel.Po
Should we specify -mpreferred-stack-boundary=3 as additional CFLAGS
and CXXFLAGS? Or maybe something else?
Would you like it added to the bug reporter?
Config log is attached.
Jeff
config.log.tar.gz
Description: application/gzip
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
