2753536587 / libyuv

Automatically exported from code.google.com/p/libyuv
0 stars 0 forks source link

64 bit mac row_posix broken #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Probably using a stack variable instead of a register?
64 bit linux builds okay.

g++ -o 
build/opt64/obj/session/phone/googleclient/third_party/libyuv/files/source/row_p
osix.o -c -Wno-non-virtual-dtor -Wno-ctor-dtor-privacy -fno-rtti -Wall -W
error -Wno-switch -fno-exceptions -fvisibility=hidden -gdwarf-2 -g3 -arch i386 
-fasm-blocks -m64 -fPIC -mmacosx-version-min=10.6 -isysroot 
/Developer/SDKs/MacOS
X10.6.sdk -O3 -mssse3 -DLOGGING=1 -DFEATURE_ENABLE_SSL 
-DFEATURE_ENABLE_VOICEMAIL -DFEATURE_ENABLE_PSTN -DWEBRTC_RELATIVE_PATH 
-DHAVE_LMI -DHAVE_LOGITECH_HEADER
S -DHAVE_SRTP -DHAVE_YUV -DHASHNAMESPACE=__gnu_cxx -DHASH_NAMESPACE=__gnu_cxx 
-DPOSIX -DDISABLE_DYNAMIC_CAST -DHAVE_OPENSSL_SSL_H=1 -D_REENTRANT 
-DOS_MACOSX=OS_
MACOSX -DOSX -DNDEBUG -DARCH_CPU_64_BITS -DHAVE_JPEG -Ibuild/opt64/obj -I. 
-I/Users/fbarchard/src/googleclient -I/Users/fbarchard/src/google3 
-I/Users/fbarchard
/src/googleclient/third_party/libjingle/files 
-I/Users/fbarchard/src/googleclient/third_party/libyuv/files/include 
-I/Users/fbarchard/src/googleclient/third_par
ty/libyuv/files 
-I/Users/fbarchard/src/googleclient/third_party/libjpeg_turbo/src 
/Users/fbarchard/src/googleclient/third_party/libyuv/files/source/row_posix.cc

/var/tmp//cctq9eRw.s:4465:suffix or operands invalid for `movq'
/var/tmp//cctq9eRw.s:4475:suffix or operands invalid for `movq'
scons: *** 
[build/opt64/obj/session/phone/googleclient/third_party/libyuv/files/source/row_
posix.o] Error 1
scons: building terminated because of errors.

Original issue reported on code.google.com by fbarch...@google.com on 16 Aug 2012 at 8:46

GoogleCodeExporter commented 9 years ago
On Mac, but not Linux, in 64 bit when using a 64 bit GPR register, movq can not 
be used.  movd works, and moves 64 bits.

Original comment by fbarch...@google.com on 17 Aug 2012 at 4:03

GoogleCodeExporter commented 9 years ago
r323 fixes the build error by using movd.  Unable to fully test, but this 
likely works.

Original comment by fbarch...@google.com on 17 Aug 2012 at 4:59