Hi, In order to support building for LoongArch in ::gentoo while some of the necessary bits are not upstreamed yet, recently it was discussed in #gentoo-toolchain that a new USE flag "experimental-loong" is to be added, force-masked on every ARCH except loong, that would bring the LoongArch patchset.
The patchset is already integrated for sys-libs/glibc; this patch series takes care of sys-kernel/linux-headers. Also the mask is added for extra safety. For people more comfortable with GitHub workflow, this is also posted at https://github.com/gentoo/gentoo/pull/25162 . WANG Xuerui (3): profiles/arch/base: mask sys-libs/glibc[experimental-loong] kernel-2.eclass: add masked-by-default IUSE=experimental-loong sys-kernel/linux-headers: add experimental loong patchset eclass/kernel-2.eclass | 2 ++ profiles/arch/base/package.use.mask | 9 +++++++++ sys-kernel/linux-headers/Manifest | 1 + ...aders-5.17.ebuild => linux-headers-5.17-r1.ebuild} | 11 +++++++++-- sys-kernel/linux-headers/metadata.xml | 3 +++ 5 files changed, 24 insertions(+), 2 deletions(-) rename sys-kernel/linux-headers/{linux-headers-5.17.ebuild => linux-headers-5.17-r1.ebuild} (75%) -- 2.35.1