-
Notifications
You must be signed in to change notification settings - Fork 22
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
sd-boot 无法执行 #93
Comments
Not a firmware bug. |
可以绕过嘛?之前是可以正常启动的。 |
AFAIK using LSX instructions in UEFI applications has never been supported. Not sure what you mean by "before." Maybe something has changed in systemd-boot or the toolchain (causing it to start generating LSX instructions). |
参考这个补丁:systemd/systemd#31608 |
如果发行版编译 GCC 的时候用了 |
这种情况确实没有办法,这个补丁只对编译 GCC 时未开启 lsx,但在编包时使用 CFLAGS=" -mlsx" 环境变量的情况有效。 |
那么要搞多个版本的 libgcc.a 吗,例如
|
按道理来说应该用 用了 但是这意味着为了编译 bootloader 而让用户空间里面的所有 LP64S ABI 代码一起变慢,我很讨厌这种为了一个包坑其他所有包的做法。 而且还有一个问题是 ABI 降级以后甚至需要一个 LP64S 的 Glibc (提供 limits.h),我就编译个 bootloader 居然需要一个 Glibc?bootloader 逻辑上就不能用 Glibc 啊?! 反正我选择用 GRUB。 |
串口日志如下:
console-2024-03-02-220502.log
BIOS Version: Loongson-UDK2018-V4.0.05636-stable202311
The text was updated successfully, but these errors were encountered: