Environment details : Windows 10 64bit x64, Intel Core i5.
ndk version : android-ndk-r13-windows-x86_64
Error :
jni/g729/siphon-g729/Headers\basic_op.h:641:21: error: invalid output constraint '=&r_i' in asm
: "=&r_i"(out),
and in line 700:
'=&r*i' in asm
Diagnosis : I read the documentation and the "_i" output constraint syntax was not found in the asm Library. I think, the gcc compiler which my version of ndk build was using could not understand "_i"
There seems to be some mismatch in the constraints that the compiler on my system was identifying . Possibly due to deprecation or version changes. Since it is assembly language level change I removed that unidentified constraint on one of the output register.
Solution : Changed “=&r*i"(out) to "=&r"(out)
Environment details : Windows 10 64bit x64, Intel Core i5. ndk version : android-ndk-r13-windows-x86_64
Error : jni/g729/siphon-g729/Headers\basic_op.h:641:21: error: invalid output constraint '=&r_i' in asm : "=&r_i"(out), and in line 700: '=&r*i' in asm
Diagnosis : I read the documentation and the "_i" output constraint syntax was not found in the asm Library. I think, the gcc compiler which my version of ndk build was using could not understand "_i" There seems to be some mismatch in the constraints that the compiler on my system was identifying . Possibly due to deprecation or version changes. Since it is assembly language level change I removed that unidentified constraint on one of the output register. Solution : Changed “=&r*i"(out) to "=&r"(out)