[Xapian-discuss] Suffix or operands invalid for 'mov' on x86_64

Olly Betts olly at survex.com
Wed May 4 03:00:09 BST 2005


On Wed, May 04, 2005 at 01:31:15AM +0000, Mitul wrote:
> Linux localhost 2.6.9-1.667 #1 Tue Nov 2 14:50:10 EST 2004 x86_64 x86_64 x86_64
[snip]
> testsuite.cc: In member function `test_driver::test_result
> test_driver::runtest(const test_desc*)':
> testsuite.cc:207: warning: cast from pointer to integer of different size

The problem you've hit is that xapian-core's configure has detected
valgrind, but this valgrind is for 32 bit binaries while Xapian is
being built with a 64 bit compiler.  The warnings and errors are from
macros in valgrind.h.

This is fixed in the sources in SVN, so 0.9.0 won't have this problem.
The easiest workaround for 0.8.5 and earlier is force configure to
ignore valgrind, like so:

./configure VALGRIND=

Cheers,
    Olly



More information about the Xapian-discuss mailing list