Xi Ruoyao

Results 35 comments of Xi Ruoyao

I have a "working" rustc fork for LoongArch: https://github.com/xry111/rust/tree/xry111/loongarch-1.61.0. At least it can compile Spidermonkey and librsvg so I can make GNOME running on my LoongArch board. The rustc fork...

我看看能不能把 PDF 的字体换一下,这个 PDF 的字体确实没法区分 O 和 0。 对于 HTML 来说字体是浏览器设置决定的,可以在英文版里面加个说明然后再翻译过来。

Fixed: https://github.com/xry111/lfs-book-i18n/commit/7f8a9fccd568ab9b0e038a6392b7fb8537b60f69#diff-9caf1774423fae146acdf9238c93d27af7d9056bd2b3a483dd7e75ca45cb651dR81

> I think that the easiest would it be to remove the comments in the translated file all together. > > Would it work for you? Yes. I'm currently using...

> 另外请教一下,龙芯3A4000CPU支持mips MSA吗? 支持,我编译 LFS 的时候全程开 -mmsa 没问题。但是上游的 x264 我记得 MSA 相关的内嵌汇编代码写得有 bug 需要处理一下。 (也可能是 x265,记不太清了。)

> @xry111 感谢即使回复。我这边运行开启MSA优化的x264,报错:非法指令段错误。 非法指令和段错误是完全不同的概念,如果报非法指令可以拿 GDB 看一下具体是哪条指令的问题。 我不确定是不是所有 3A4000 都支持 MSA,应该可以用 lscpu 命令查看。 > 龙芯论坛上的x264-0.152-1是开源的吗?在哪里可以获取呢? 我不太清楚,我在 3A4000 上编译系统用的是上游软件包。

> 这个msa选项是从哪里开启呢? 可能要重新编译内核并且启用 CPU_HAS_MSA?

> @xry111 再请教一下哈: 我这边银河麒麟操作系统版本是:Linux version 4.4.131-20200710.kylin.desktop-generic (YHKYLIN-OS@Kylin) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6kord1~16.04.4k2) ) #kylin SMP PREEMPT Fri Jul 10 13:48:38 CST 2020 > > 可以说一下你这边用的版本吗?是否是更高版本的系统就支持msa了呢?msa特性跟系统版本有关系吗? 我用的自己编译的系统,内核是 5.10 的。 MSA...

I've created #49 to cover these corner cases, based on the behavior of GCC trunk. But again, maybe the status quo of GCC is not perfect.

Please note that if you'd like to change GCC behavior it's better to do it ASAP. Once GCC 12 is released, you'll need to write some really boring code to...