Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721102 - dev-libs/nss-3.52 needs CPU_FLAGS_X86_AVX2
Summary: dev-libs/nss-3.52 needs CPU_FLAGS_X86_AVX2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-05 15:44 UTC by Jan Henke
Modified: 2023-06-05 09:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Henke 2020-05-05 15:44:22 UTC
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
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-05-05 16:24:48 UTC
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...
Comment 2 Larry the Git Cow gentoo-dev 2023-06-05 09:31:04 UTC
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(+)