On 20/05/18 21:15, John Reiser wrote:

This is peculiar: "I am working on ... x86_64" but invoking "gcc -m32"
which requests "generate code for i686".
Also, if the value is not at least 4 then some generated SSE instructions
(even on i686) will fault because they demand 16-byte alignment,
and any call involving a variable number of arguments which includes
any argument that requires 16-byte alignment will generate incorrect code.
The best strategy is to omit "-mpreferred-stack-boudnary" entirely.

It's not peculiar really - by default when building on x86_64 valgrind
will try and build both the x86 and x86_64 backends.

Use --enable-only64bit to configure if you want to stop it trying to
build the 32 bit backend.

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

------------------------------------------------------------------------------
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
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to