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

Mitul mitul_b_shah at hotmail.com
Wed May 4 02:31:15 BST 2005


Hello,

I have the following:
AMD 64 2800 running Fedora Core 3.
Linux localhost 2.6.9-1.667 #1 Tue Nov 2 14:50:10 EST 2004 x86_64 x86_64 x86_64
GNU/Linux

gcc-3.4.2-6.fc3
binutils-2.15.92.0.2-5

I'm trying to compile xapian-core on my machine and am receiving the following
errors under the testsuite compile:

if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../common -I../include -I../include   -Wall -W -Wno-long-long
-fno-gnu-keywords -g -O -MT testsuite.lo -MD -MP -MF ".deps/testsuite.Tpo" -c -o
testsuite.lo testsuite.cc; \
then mv -f ".deps/testsuite.Tpo" ".deps/testsuite.Plo"; else rm -f
".deps/testsuite.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I../include -I../include -Wall -W
-Wno-long-long -fno-gnu-keywords -g -O -MT testsuite.lo -MD -MP -MF
.deps/testsuite.Tpo -c testsuite.cc  -fPIC -DPIC -o .libs/testsuite.o
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
testsuite.cc:207: warning: cast from pointer to integer of different size
testsuite.cc:207: warning: cast from pointer to integer of different size
testsuite.cc:207: warning: cast from pointer to integer of different size
testsuite.cc:265: warning: cast from pointer to integer of different size
testsuite.cc:265: warning: cast from pointer to integer of different size
testsuite.cc:265: warning: cast from pointer to integer of different size
testsuite.cc:265: warning: cast from pointer to integer of different size
/tmp/ccBSemNc.s: Assembler messages:
/tmp/ccBSemNc.s:171: Error: suffix or operands invalid for `mov'
/tmp/ccBSemNc.s:235: Error: suffix or operands invalid for `mov'
/tmp/ccBSemNc.s:2230: Error: suffix or operands invalid for `mov'
/tmp/ccBSemNc.s:2250: Error: suffix or operands invalid for `mov'
/tmp/ccBSemNc.s:2274: Error: suffix or operands invalid for `mov'
/tmp/ccBSemNc.s:3029: Error: suffix or operands invalid for `mov'
/tmp/ccBSemNc.s:3047: Error: suffix or operands invalid for `mov'
/tmp/ccBSemNc.s:3075: Error: suffix or operands invalid for `mov'
/tmp/ccBSemNc.s:9332: Error: suffix or operands invalid for `mov'

I've googled for the same with no real answers other than to remove the -O2 and
replace with -O or checking the version of binutils...however, nothing relavant.

Any help is appreciated.

Thanks,
Mitul





More information about the Xapian-discuss mailing list