i96751414 / plugin.video.torrest

Torrest plugin for Kodi
MIT License
27 stars 6 forks source link

Torrest daemon binary v0.0.4 for armv7 error #27

Open wolfygit opened 1 year ago

wolfygit commented 1 year ago

Hi, I have the same problem with torrest daemon binary armv7, 'file not found' in the torrest plugin 0.0.16 with binary 0.0.4, these ones https://github.com/i96751414/plugin.video.torrest/files/11072160/torrest_armv7.zip) you uploaded in this issue https://github.com/i96751414/plugin.video.torrest/issues/21 worked for me but they are outdated so they are 0.0.3 torrest binary version. Could you send me the 0.0.4 fixed for armv7?

i96751414 commented 1 year ago

Hi. I believe this was fixed with the last release. Can you share the log or the output of manually starting torrest?

What is your platform / arch? Are you sure it is armv7? "File not found" is often shown when trying to run binaries for different architectures.

wolfygit commented 1 year ago

It happens in my two Lg webos TV's (Kodi 21 is compatible with webos), could you compile same way the 0.0.3 and send me the binary for testing? file torrest -sh: file: not found ls -la total 10328 drwxr-xr-x 2 6251 5000 4096 Aug 6 18:01 . drwxr-xr-x 3 6251 5000 4096 Aug 6 18:01 .. -rwxrwxrwx 1 6251 5000 10564672 Aug 6 18:01 torrest uname -a Linux LGwebOSTV 4.4.84-p.590.gyoen.k5lp.2 #1 SMP PREEMPT Wed May 3 12:35:53 KST 2023 armv7l GNU/Linux cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 54.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32

i96751414 commented 1 year ago

Ok. I don't have the time to have a look at this during this week - any chances you can compile and test this? The problem is certainly in the toolchain, so we will have to play around with it.

wolfygit commented 1 year ago

I have already compiled following this https://github.com/i96751414/torrest-cpp/blob/master/docs/building.md with the linux-armv7 docker image , same result. My developer skills are very basic. Could you compile the same way these ones? https://github.com/i96751414/plugin.video.torrest/issues/21#issuecomment-1484140334 when you can

wolfygit commented 1 year ago

I have found the problem but I don't know how to solve. My cpu does not support hard-float but soft-float and your arm c++ compiler is hard-float. I did a readelf -h and from v0.0.3 (included) are hard-float.

i96751414 commented 1 year ago

That should be an easy change, but I am concerned with the devices impacted by this change.

wolfygit commented 1 year ago

May be you should upload both the hf and sf version of armv7. My LG tv is only 2 years old and when the stable version of kodi 21 with webos compatibility is released lot of people will have this issue.

antonsoroko commented 7 months ago

That should be an easy change, but I am concerned with the devices impacted by this change.

for example, elementum has build for both hardfp and softfp, so user can chose the right build for his platform.