MCMrARM / mcpelauncher-linux

Please note this is a legacy repository, please go to: https://github.com/minecraft-linux/mcpelauncher-manifest/wiki
GNU General Public License v3.0
312 stars 46 forks source link

port to arm #357

Closed galenzhao closed 6 years ago

galenzhao commented 6 years ago

Hi,

I can build on ARM linux success, but when I run server, it shows error like

focus@NanoPi-NEO:~/mcpe/build$ ./server 05:31:53 Trace [Launcher] Loading hybris libraries 05:31:53 Trace [Launcher] Loaded OS library libm.so.6 05:31:53 Trace [Launcher] 11Loading Minecraft library linker/home/focus/mcpe/libs/hybris/src/jb/linker.c:2040| ERROR: failed to link libminecraftpe.so 05:31:53 Error [Launcher] 22Failed to load Minecraft: Cannot load library: reloc_library[1373]: 0 cannot locate '_Unwind_Resume'...

and I lookup the so lib,

the '_Unwind_Resume' function is not in the libminecraftpe.so,

focus@NanoPi-NEO:~/.local/share/mcpelauncher/libs$ nm -D libminecraftpe.so | grep nwind_ U aeabi_unwind_cpp_pr0 U __aeabi_unwind_cpp_pr1 U gnu_unwind_frame U _Unwind_Complete U _Unwind_DeleteException U _Unwind_GetDataRelBase U _Unwind_GetLanguageSpecificData U _Unwind_GetRegionStart U _Unwind_GetTextRelBase U _Unwind_RaiseException U _Unwind_Resume U _Unwind_Resume_or_Rethrow U _Unwind_VRS_Get U _Unwind_VRS_Set

it was implement in libfmod.so,

focus@NanoPi-NEO:~/.local/share/mcpelauncher/libs$ nm -D libfmod.so | grep nwind_ 000aa9dc T aeabi_unwind_cpp_pr0 000aa9e4 W __aeabi_unwind_cpp_pr1 000aa9ec W aeabi_unwind_cpp_pr2 000aa528 T gnu_Unwind_Backtrace 000aaf88 T gnu_unwind_execute w gnu_Unwind_Find_exidx 000aa350 T gnu_Unwind_ForcedUnwind 000ab320 T gnu_unwind_frame 000aa2ac T gnu_Unwind_RaiseException 000aad68 T gnu_Unwind_Restore_VFP 000aad78 T gnu_Unwind_Restore_VFP_D 000aad88 T gnu_Unwind_Restore_VFP_D_16_to_31 000aae20 T __gnu_Unwind_Restore_WMMXC 000aad98 T gnu_Unwind_Restore_WMMXD 000aa36c T gnu_Unwind_Resume 000aa3e0 T gnu_Unwind_Resume_or_Rethrow 000aad70 T gnu_Unwind_Save_VFP 000aad80 T gnu_Unwind_Save_VFP_D 000aad90 T gnu_Unwind_Save_VFP_D_16_to_31 000aae34 T gnu_Unwind_Save_WMMXC 000aaddc T gnu_Unwind_SaveWMMXD 000aaed8 T Unwind_Backtrace 000aaed8 T _Unwind_Backtrace 000aa400 T _Unwind_Complete 000aa404 T _Unwind_DeleteException 000aaeb4 T _Unwind_ForcedUnwind 000aaeb4 T _Unwind_ForcedUnwind 000aa2a4 T _Unwind_GetCFA 000ab38c T _Unwind_GetDataRelBase 000ab370 T _Unwind_GetLanguageSpecificData 000ab360 T _Unwind_GetRegionStart 000ab394 T _UnwindGetTextRelBase 000aae48 T Unwind_RaiseException 000aae48 T _Unwind_RaiseException 000aae6c T _Unwind_Resume 000aae6c T _UnwindResume 000aae90 T Unwind_Resume_or_Rethrow 000aae90 T _Unwind_Resume_or_Rethrow 000aa41c T _Unwind_VRS_Get 000aa9f4 T _Unwind_VRS_Pop 000aa4a0 T _Unwind_VRS_Set

is there any way to fix that,

thanks,

NyaomiDEV commented 6 years ago

This launcher was intended for i386 arch, so I don't know how can you fix that with the current sources. Are you using arm libs, right? setup_bin_libs.sh will download an x86 version of FMOD afaik.

MCMrARM commented 6 years ago

Indeed, ARM compilation is currently not supported. https://github.com/MCMrARM/mcpelauncher-linux/issues/20