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 . v2: - removed eclass changes; moved IUSE adjustment into ebuild WANG Xuerui (2): profiles/arch/base: mask sys-libs/glibc[experimental-loong] sys-kernel/linux-headers: add experimental loong patchset profiles/arch/base/package.use.mask | 9 +++++++++ sys-kernel/linux-headers/Manifest | 1 + ...ders-5.17.ebuild => linux-headers-5.17-r1.ebuild} | 12 ++++++++++-- sys-kernel/linux-headers/metadata.xml | 3 +++ 4 files changed, 23 insertions(+), 2 deletions(-) rename sys-kernel/linux-headers/{linux-headers-5.17.ebuild => linux-headers-5.17-r1.ebuild} (73%) -- 2.35.1