https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012
--- Comment #6 from Levi Zim <rsworktech at outlook dot com> --- (In reply to Sam James from comment #5) > Can you link me to your packaging script? Thanks. Our packaging script is a patch[1] over Arch Linux's one[2]. After applying the patch, it is https://paste.rs/578r4 There are some {C,CXX,LD,RUST}FLAGS set implicitly[3] [1]: https://github.com/felixonmars/archriscv-packages/blob/master/gcc/riscv64.patch [2]: https://gitlab.archlinux.org/archlinux/packaging/packages/gcc [3]: https://github.com/felixonmars/archriscv-packages/blob/master/devtools-riscv64/makepkg-riscv64.patch