Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails on aarch64 #906

Open
parkerlreed opened this issue Aug 15, 2020 · 6 comments
Open

Compilation fails on aarch64 #906

parkerlreed opened this issue Aug 15, 2020 · 6 comments

Comments

@parkerlreed
Copy link

Possibly related to #416. New issue because different architecture and the only solution back then was a fork which is now outdated

Log https://gist.github.com/parkerlreed/5ee2e088851036eb8f500bfb7c8a3011

@parkerlreed
Copy link
Author

As suggested on that issue, I tried adding stk's Angelscript arm snippet to the current openspades but it still bails trying the x64 codepath.

https://github.com/supertuxkart/stk-code/blob/master/lib/angelscript/projects/cmake/CMakeLists.txt#L115

@Haxk20
Copy link
Contributor

Haxk20 commented Sep 25, 2020

Yes this is because OpenSpades uses a VERY old version of AngelScript. 2.31.1 which is from 2016 and the latest is 2.33 from 2018 which includes many fixes for the aarch64.

I will fork OS today and see if i can update the AngelScript version to the latest version.

EDIT: So it seems like yvt and other people did some changes to the AngelScript and updating it is not just copy and paste.
Also updating it would require some changes in the addons because it changed a little and addons fail.

@yvt Updating the angelscript from https://sourceforge.net/p/angelscript/code/commit_browser to r2666 would fix most of our issues and OS would be able to run on aarch64.

@Haxk20
Copy link
Contributor

Haxk20 commented Sep 25, 2020

BTW this is how supertuxkart got it fixed supertuxkart/stk-code#2569

@feikname feikname added bug some feature is broken compilation-issue labels Oct 2, 2020
@yvt yvt pinned this issue Nov 20, 2020
@CloudyProton
Copy link

The same issue occurs when building on ppc64el

/usr/bin/ld: ../lib/libAngelscript.a(as_callfunc.cpp.o): in function CallSystemFunction(int, asCContext*)':
/home/User/OpenSpades/openspades/Sources/AngelScript/source/as_callfunc.cpp:712: undefined reference to CallSystemFunctionNative(asCContext*, asCScriptFunction*, void*, unsigned int*, void*, unsigned long&, void*)'
collect2: error: ld returned 1 exit status
make[2]: *** [Sources/CMakeFiles/OpenSpades.dir/build.make:3562: bin/openspades] Error 1
make[1]: *** [CMakeFiles/Makefile2:230: Sources/CMakeFiles/OpenSpades.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

@yvt yvt unpinned this issue Dec 10, 2020
@yvt yvt removed the bug some feature is broken label Dec 10, 2021
@yvt
Copy link
Owner

yvt commented Dec 10, 2021

Removing the bug label as it's not a bug but just a lack of support.

@tigercoding56
Copy link

tigercoding56 commented Sep 16, 2022

any activity on solving this issue ?

also you can compile with #1005 but it will not start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants