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

BPI-F3 Bianbu 无法正常使用 box64 启动 WPS #176

Open
weilinfox opened this issue Jul 15, 2024 · 2 comments
Open

BPI-F3 Bianbu 无法正常使用 box64 启动 WPS #176

weilinfox opened this issue Jul 15, 2024 · 2 comments
Milestone

Comments

@weilinfox
Copy link
Contributor

ruyi 版本

0.14.0

由于 RuyiSDK 当前版本并不计划支持 BPI-F3,该 issue 也就不影响 0.14.0 版本质量。

由于 Bianbu 使用百度网盘和 Google Drive 分发,这里给出所用镜像的文件名 bianbu-23.10-desktop-k1-v1.0rc1-release-20240429194149.img

问题描述

该问题在 box64-upstream 0.2.8-ruyi.20240702 和 box64-upstream 0.2.9-pre.ruyi.20240702+git.4b0b3fc9 均可复现;在 WPS 文字、 WPS 演示组件均可复现。

错误信息:

Incompatible processor. This Qt build requires the following features:
    sse2
Aborted. Incompatible processor: missing feature 0x2 - sse2.
terminating with uncaught foreign exception

这里同时给出 box64-upstream 0.2.9-pre.ruyi.20240702+git.4b0b3fc9 的完整日志。

$ .local/share/ruyi/binaries/riscv64/box64-upstream-0.2.9-pre.ruyi.20240702+git.4b0b3fc9/bin/box64 .local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/wps
Dynarec for RISC-V With extension: I M A F D C Zba Zbb Zbc Zbs Vector PageSize:4096 Running on Unknown CPU with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 14 entries
Box64 with Dynarec v0.2.9  built on Jul  2 2024 12:09:19
BOX64: Didn't detect 48bits of address space, considering it's 39bits
BOX64 will force the used of emulated libs for libsqlite3.so.0 
Counted 63 Env var
BOX64 LIB PATH: /opt/debian-bookworm.amd64/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/snap/bin/
Looking for .local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/wps
Rename process to "wps"
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libc++abi.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libtcmalloc_minimal.so.4
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/liblibsafec.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libc++.so.1
Using native(wrapped) libm.so.6
Using emulated /opt/debian-bookworm.amd64/usr/lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libwpsmain.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libksolite.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libkso.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libgriddrawer.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libwpsio.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libkprometheus.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libsearchcore.so
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgobject-2.0.so.0
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5XmlKso.so.5
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5NetworkKso.so.5
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5PrintSupportKso.so.5
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5X11ExtrasKso.so.5
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libthrift.so.0.13.0
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libxercesc3.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5WidgetsKso.so.5
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5GuiKso.so.5
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5CoreKso.so.5
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libicui18n.so.55
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libicuuc.so.55
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libicudata.so.55
Using native(wrapped) libgthread-2.0.so.0
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libstdc++.so.6
Using native(wrapped) libGL.so.1
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/addons/krecentfile/libkrecentfile.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libkdownload.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libkcloudfiledialog.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5ConcurrentKso.so.5
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5WebKitWidgets.so.5
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5DBusKso.so.5
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libcurl.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libcrypto.so.1.1
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libssl.so.1.1
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5WebKit.so.5
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libxml2.so.2
Using native(wrapped) libxslt.so.1
Using emulated /opt/debian-bookworm.amd64/usr/lib/x86_64-linux-gnu/libsqlite3.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/addons/konlinefileconfig/libkonlinefileconfig.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libqingipc.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libksqlite3.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/addons/kmodule/libkmodule.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/addons/kfpccomb/libkfpccomb.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/addons/knetwork/libknetwork.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libQt5SvgKso.so.5
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libmythes.so
Using emulated /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/libIRLAS.so
Incompatible processor. This Qt build requires the following features:
    sse2
Aborted. Incompatible processor: missing feature 0x2 - sse2.
terminating with uncaught foreign exception
NativeBT: .local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/wps() [0x34a9aa44]
NativeBT: linux-vdso.so.1(__vdso_rt_sigreturn+0) [0x3fb93b1800]
NativeBT: /lib/riscv64-linux-gnu/libc.so.6(+0x6c0da) [0x3fb929e0da]
NativeBT: /lib/riscv64-linux-gnu/libc.so.6(gsignal+0x12) [0x3fb926829a]
NativeBT: /lib/riscv64-linux-gnu/libc.so.6(abort+0xac) [0x3fb92583c4]
NativeBT: [0x3fb87f8904]
EmulatedBT: box64(abort+0) [0x60060]
EmulatedBT: /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/wps+21f55a [0x41f55a]
EmulatedBT: /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/wps+21df67 [0x41df67]
EmulatedBT: /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/wps+21abfb [0x41abfb]
EmulatedBT: /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/wps+22cba2 [0x42cba2]
EmulatedBT: box64(ExitEmulation+0) [0x10080]
EmulatedBT: /home/hachi/.local/share/ruyi/binaries/x86_64/wps-office-11.1.0-r.11719/opt/kingsoft/wps-office/office6/wps(_start+29) [0x317029]
4860|SIGABRT @0x3fb929e0da (???(/lib/riscv64-linux-gnu/libc.so.6+0x6c0da)) (x64pc=0x60060/???:"???", rsp=0x3fb91033e8, stack=0x3fb8905000:0x3fb9105000 own=(nil) fp=0x3fb9103ab0), for accessing 0x3e8000012fc (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000000000000 RSP-0x18:0x000000680000002f RSP-0x10:0x00000000367b4e00 RSP-0x08:0x0000000000000004
RSP+0x00:0x0000003f000083b7 RSP+0x08:0x0000006800000063 RSP+0x10:0x0000003f0003ff18 RSP+0x18:0x000000003f1d5adf
RAX:0x000000000000000a RCX:0x0000003f1d5adfc0 RDX:0x0000003fb91034a0 RBX:0x0000003fb93864d8 
RSP:0x0000003fb91033e8 RBP:0x0000003fb9103ab0 RSI:0x0000003fb9386318 RDI:0x000000000000000a 
 R8:0x0000000000000018  R9:0x0000000000000055 R10:0x0000003f0003fee6 R11:0x00000000000027ae 
R12:0x0000003f1d41d370 R13:0x0000000036821b48 R14:0x0000003fb93864d8 R15:0x0000003f1d41d4b0 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
已放弃

其他信息

Bianbu 的 systemd-binfmt 疑似是有问题的。

○ systemd-binfmt.service - Set Up Additional Binary Formats
     Loaded: loaded (/lib/systemd/system/systemd-binfmt.service; static)
     Active: inactive (dead)
  Condition: start condition failed at Sat 2024-07-13 19:19:31 CST; 47s ago
             ├─ ConditionPathIsMountPoint=/proc/sys/fs/binfmt_misc was not met
             ├─ ConditionDirectoryNotEmpty=|/usr/local/lib/binfmt.d was not met
             └─ ConditionDirectoryNotEmpty=|/run/binfmt.d was not met
       Docs: man:systemd-binfmt.service(8)
             man:binfmt.d(5)
             https://docs.kernel.org/admin-guide/binfmt-misc.html
             https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems

9月 19 23:54:42 k1 systemd[1]: systemd-binfmt.service - Set Up Additional Binary Formats was skipped because of an unmet condition check (ConditionPathIsMountPoint=/proc/sys/fs/binfmt_misc).
7月 13 19:19:31 k1 systemd[1]: systemd-binfmt.service - Set Up Additional Binary Formats was skipped because of an unmet condition check (ConditionPathIsMountPoint=/proc/sys/fs/binfmt_misc).
@lz-bro
Copy link

lz-bro commented Jul 16, 2024

我使能了BINFMT_MISC,并重新编译安装了内核,一样出现了这个问题

@xen0n
Copy link
Collaborator

xen0n commented Jul 21, 2024

没有软硬件环境,无法复现,只能暂缓处理

@xen0n xen0n added this to the Backlog milestone Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants