这里肥猫大佬提供了许多材料,对于目前的我暂时还是消化不了,暂且把所有的材料放在这里收藏一下,以防后面需要时找不到。
原始问题:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011913
Arch的解决方案: https://github.com/felixonmars/archriscv-packages/blob/master/gcc/riscv64.patch#L65
gcc那边的issue: https://github.com/riscv-collab/riscv-gcc/issues/337
惊人的分析文章: https://blog.jiejiss.com/A-RISC-V-gcc-pitfall-revealed-by-a-glibc-update/