Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 773661 - sys-libs/compiler-rt-sanitizers-11.0.1: Incorrect REQUIRED_USE and/or USE masks
Summary: sys-libs/compiler-rt-sanitizers-11.0.1: Incorrect REQUIRED_USE and/or USE masks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-01 22:36 UTC by Luke-Jr
Modified: 2021-03-01 22:58 UTC (History)
0 users

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 Luke-Jr 2021-03-01 22:36:39 UTC
- sys-libs/compiler-rt-sanitizers-11.0.1::gentoo USE="asan clang libfuzzer msan profile scudo tsan ubsan xray (-cfi) (-dfsan) (-gwp-asan) (-hwasan) (-lsan) (-safestack) (-shadowcallstack) -test"
   The following REQUIRED_USE flag constraints are unsatisfied:
    ubsan? ( cfi )

Not only is the unmasked ubsan depending on the masked cfi USE flag, but at least ubsan works fine with 11.0.0...
Comment 1 Larry the Git Cow gentoo-dev 2021-03-01 22:58:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=566059c6b81614bc9640f854f91cab1bc0e724c3

commit 566059c6b81614bc9640f854f91cab1bc0e724c3
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-03-01 22:56:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-03-01 22:58:06 +0000

    sys-libs/compiler-rt-sanitizers: Relax the component constraints
    
    Relax the component constraints to apply only with USE=test.  Reverse
    the constraint between ubsan and cfi -- it is cfi that requires ubsan
    for its tests to work.  At the same time, stub out automagically enabled
    cfi tests when ubsan is enabled but cfi is not.  This should fix
    impossible constraints on architectures that support ubsan but not cfi.
    
    Closes: https://bugs.gentoo.org/773661
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../compiler-rt-sanitizers-11.0.1.ebuild                      | 11 ++++++++---
 .../compiler-rt-sanitizers-11.1.0.ebuild                      | 11 ++++++++---
 .../compiler-rt-sanitizers-12.0.0.9999.ebuild                 | 11 ++++++++---
 .../compiler-rt-sanitizers-12.0.0_rc2.ebuild                  | 11 ++++++++---
 .../compiler-rt-sanitizers-13.0.0.9999.ebuild                 | 11 ++++++++---
 5 files changed, 40 insertions(+), 15 deletions(-)