Cfish icon indicating copy to clipboard operation
Cfish copied to clipboard

Android building issue using updated code.

Open AlexB123 opened this issue 3 years ago • 6 comments

Hello, i have a problem with android compilation (using Clang on Termux, and cross compiling with NDK, also clang). Source code taken from here https://github.com/Sopel97/Cfish/commit/666f0f87e2a339f499ca1e5e5d49a9a29d8cf074 When i'm trying to compile engine for android i'm receiving the following errors, (see txt documents). Can you please take a look at this code? Something is very wrong there, and you are the only person who can fix it. :) Termux ERRORS.zip NDK errors.zip

AlexB123 avatar Jul 12 '21 21:07 AlexB123

@AlexB123 did you build it with sparse=yes ? sparse has not working

Try again with updated SRCs https://github.com/Sopel97/Cfish/tree/update

JavaMast avatar Jul 13 '21 16:07 JavaMast

@AlexB123 did you build it with sparse=yes ? sparse has not working

Try again with updated SRCs https://github.com/Sopel97/Cfish/tree/update

Yes, with previous source code, i've tried sparse=yes and sparse=no, didn't work.

AlexB123 avatar Jul 13 '21 20:07 AlexB123

With last source code https://github.com/Sopel97/Cfish/commit/4c71e9dc631f497c9ed4d7e1f07a507f141c18d1 i'm getting less errors, which (i suppose) has to do with LTO. Again, with sparse=yes and sparse=no, i'm getting exactly the same errors. !with or without sparce

By turning lto=no, i'm getting the following errors, something is still broken. !without lto

AlexB123 avatar Jul 13 '21 20:07 AlexB123

Have you gotten anywhere on Termux Alex? I got it down to just 1 error, that being the vec_zero_psqt error.

SwiftSnips avatar Jul 17 '21 19:07 SwiftSnips

Have you gotten anywhere on Termux Alex? I got it down to just 1 error, that being the vec_zero_psqt error.

Nope, without the intervention of an expert, it is unlikely that it will work.

AlexB123 avatar Jul 19 '21 21:07 AlexB123

Sopel fixed the one issue where 32x4 was backwards but im not sure he knows what to do about the vec_zero_psqt problem

Have you gotten anywhere on Termux Alex? I got it down to just 1 error, that being the vec_zero_psqt error.

Nope, without the intervention of an expert, it is unlikely that it will work.

SwiftSnips avatar Jul 19 '21 21:07 SwiftSnips