When ever Compiling pjsip for arm64 architecture with g729 codec getting errors
i success with armv7 and armv7s but it's getting error with arm64.
Any suggestions helpful a lot.
************ G729 Codec Makefile ************
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f /Projects/WesternUnion/pjproject-2.4.5_UPD/build/rules.mak APP=G729_CODEC app=libg729codec ../../lib/libg729codec-arm64-apple-darwin_ios.a
mkdir -p output/libg729codec-arm64-apple-darwin_ios/Sources
/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/../../../Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c -Wall -DPJ_AUTOCONF=1 -O2 -Wno-unused-label -DPJ_SDK_NAME="\"iPhoneOS9.2.sdk\"" -arch arm64 -isysroot
../../g729/Headers/basic_op.h:663:19: note: use constraint modifier "w"
__asm__("qadd16 %0, %1, %2"
^~
%w0
../../g729/Headers/basic_op.h:665:17: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
: "r"(ra), "r"(rb));
^
../../g729/Headers/basic_op.h:663:23: note: use constraint modifier "w"
__asm__("qadd16 %0, %1, %2"
^~
%w1
<inline asm>:2:2: note: instantiated into assembly here
qdadd x13, x13, x17
^
In file included from ../../g729/Sources/acelp_ca.c:35:
../../g729/Headers/basic_op.h:616:11: error: unrecognized instruction mnemonic
__asm__("smulbb %0, %3, %4 \n\t"
^
<inline asm>:1:2: note: instantiated into assembly here
smulbb x0, x14, x14
^
In file included from ../../g729/Sources/acelp_ca.c:35:
../../g729/Headers/basic_op.h:616:34: error: unrecognized instruction mnemonic
__asm__("smulbb %0, %3, %4 \n\t"
^
<inline asm>:2:2: note: instantiated into assembly here
qdadd x13, x13, x0
<inline asm>:2:2: note: instantiated into assembly here
qdadd x4, x1, x6
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
44 warnings and 20 errors generated.
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org