While building dev-libs/nss-3.52 I noticed -DNSS_DISABLE_AVX2 being passed to the compiler, hinting at optional support for the AVX2 instructions. Please add the corresponding USE flag to the ebuild. Reproducible: Always Steps to Reproduce: 1. Build dev-libs/nss-3.52 with CPU_FLAGS_X86_AVX2 globally enabled 2. Check compiler command line used Actual Results: -DNSS_DISABLE_AVX2 is passed to the compiler Expected Results: -DNSS_ENABLE_AVX2 (or similar) is passed to the compiler
There is no -DNSS_ENABLE_AVX2 support in the build system. It's either NSS_DISABLE_AVX2 = 0 or NSS_DISABLE_AVX2 = 1 and I have yet to figure out if this can even be made optional...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2294dc1f3d8f713ceaf821e661862e167c64c8de commit 2294dc1f3d8f713ceaf821e661862e167c64c8de Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2023-06-05 09:28:15 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-06-05 09:28:15 +0000 dev-libs/nss: add 3.90 Closes: https://bugs.gentoo.org/721102 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/nss/Manifest | 1 + dev-libs/nss/nss-3.90.ebuild | 414 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 415 insertions(+)