Compiling with arm64-v8a

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Compiling with arm64-v8a

Postby wrightpt » Mon Dec 19, 2016 5:59 pm

In the cef_atomicops.h header file, both cef_atomicops_x86_gcc.h and cef_atomicops_arm_gcc.h header files are included.


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?
wrightpt
Expert
 
Posts: 151
Joined: Wed Jun 22, 2016 11:17 am

Re: Compiling with arm64-v8a

Postby wrightpt » Mon Dec 19, 2016 7:51 pm

I saw this post by Marshall

https://bitbucket.org/chromiumembedded/ ... ld-support



I continue to get error "Atomic operations are not supported on your platform."

Will see if I can find a solution tomorrow.
wrightpt
Expert
 
Posts: 151
Joined: Wed Jun 22, 2016 11:17 am

Re: Compiling with arm64-v8a

Postby speedyxvn » Tue May 09, 2017 4:28 am

Did you manage to compile for ARM64?
speedyxvn
Newbie
 
Posts: 1
Joined: Tue May 09, 2017 4:27 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 43 guests