Forum breadcrumbs - You are here:ForumGeneral: Report Bugsaarch64,as_jit.cpp bug.
You need to log in to create posts and topics.

aarch64,as_jit.cpp bug.

PreviousPage 2 of 2

Thank you for your patience.
I think we are almost there.
Can you try with the last commit?

thanks, new error:as_callfunc_arm64.cpp

build/objects/as_callfunc_arm64.o: In function `CallSystemFunctionNative(asCContext*, asCScriptFunction*, void*, unsigned int*, void*, unsigned long&, void*)':
as_callfunc_arm64.cpp:(.text+0x2a4): undefined reference to `CallARM64Double'
as_callfunc_arm64.cpp:(.text+0x4e8): undefined reference to `CallARM64'
as_callfunc_arm64.cpp:(.text+0x6e8): undefined reference to `CallARM64'
as_callfunc_arm64.cpp:(.text+0x70c): undefined reference to `GetHFAReturnDouble'
as_callfunc_arm64.cpp:(.text+0x734): undefined reference to `CallARM64Ret128'
as_callfunc_arm64.cpp:(.text+0x7bc): undefined reference to `CallARM64RetInMemory'
as_callfunc_arm64.cpp:(.text+0x814): undefined reference to `CallARM64Float'
as_callfunc_arm64.cpp:(.text+0x844): undefined reference to `GetHFAReturnDouble'
as_callfunc_arm64.cpp:(.text+0x8a0): undefined reference to `GetHFAReturnFloat'
collect2: error: ld returned 1 exit status
make: *** [Makefile:1794: executables/SimulIDE_1.2.0/simulide] Error 1

 

new error:as_callfunc_arm64.cpp

Hmmm...
For which system are you compiling?

thanks,

aarch64-gun-gcc,not arm64

in ubuntu x86-64

 

So you are cosscompiling from x86-64?
And... is not aarch64-gun-gcc an arm64 target?

i use aarch64  pad,the same error.

too slowly.

thanks.

i will test it in arm64 cosscompiling from x86-64.

Btw... are you compiling for Android or something like that?

Not  Android ,but ununtu arm64.(aarch64),thanks。

btw,i google this:arm64 has been merged with aarch64 because aarch64 and arm64 refer to the same thing。

If you are using Qt Creator or some other IDE you can try to find out what exactly is happening.

For example open as_callfunc_arm64.cpp and see if that code is being compiled (not greyed out).
If it is, remove some #ifdef at the top of the file and corresponding #endif to find the origin.

Same thing with as_config.h from lines 530 to 696.

Thank you very much, I am not proficient in the C++language, I'll give it a try.

PreviousPage 2 of 2