I can compile for both intel architectures: x86(32bit) and x86_64(64bit), with the following header file: cef_atomicops_x86_gcc.h
and I can compile the following arm arch: armeabi-v7a (32bit). But the arm64-v8a(64bit) gives me the following assembler errors.
- Code: Select all
[arm64-v8a] Compile++ : native-codec-jni <= cef_callback_internal.cc
/tmp/ccQqlxIY.s: Assembler messages:
/tmp/ccQqlxIY.s:24: Error: unknown mnemonic `lock' -- `lock'
/tmp/ccQqlxIY.s:24: Error: unknown mnemonic `xaddl' -- `xaddl x1,[x0]'
/tmp/ccQqlxIY.s:73: Error: unknown mnemonic `lock' -- `lock'
/tmp/ccQqlxIY.s:73: Error: unknown mnemonic `xaddl' -- `xaddl x1,[x0]'
/tmp/ccQqlxIY.s:85: Error: unknown mnemonic `lfence' -- `lfence'
Has anyone else had this issue? What was the work around?