-
Notifications
You must be signed in to change notification settings - Fork 0
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
在龙架构上用 qemu-user 模式运行特定的其他架构的动态链接程序会报错 #75
Labels
AREA: Emulation
Related to emulation (NOT virtualization -- host and guest must have different arches)
Comments
配置16K页的内核下确实没有出现问题:
|
可能需要多尝试一些程序,不是每个库都能触发问题。 |
确实在user模式下有部分工具会出现库无法找到的问题 |
用 16/64k 页的 aarch64 能复现吗? |
16k/64k 的 aarch64 有一样的问题。 |
可以在config后追加 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
AREA: Emulation
Related to emulation (NOT virtualization -- host and guest must have different arches)
复现方式 & 典型报错信息,以 Loong Arch Linux 环境为例:
安装 qemu-user-static:
pacman -S qemu-user-static
下载和准备 Arch Linux x86_64 和/或 riscv64 rootfs:
随着 Arch 镜像版本更新,每次能复现出这个问题的二进制/动态链接库不完全相同。截至当前的 Arch x86_64 和 riscv64 能复现这个问题的具体程序/动态链接库在彼此架构的 qemu-user 环境中能正常运行。
两个月前向武老师请教时,有建议过尝试 4k 页的内核,目前还没有试过。LCPU 仓库内核目前保持上游默认的 16k 页。
The text was updated successfully, but these errors were encountered: