Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946853 - www-client/chromium:missing sanitizer ignorelist: '/usr/lib/llvm/18/bin/../../../../lib/clang/18/share/cfi_ignorelist.txt'
Summary: www-client/chromium:missing sanitizer ignorelist: '/usr/lib/llvm/18/bin/../.....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-23 05:15 UTC by dE
Modified: 2025-01-16 08:00 UTC (History)
1 user (show)

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


Attachments
Failed build log of chromium-130.0.6723.116-r1 with clang 18. (chromium_failed_build_missing_sanitize.log,86.55 KB, text/x-log)
2024-12-23 05:15 UTC, dE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dE 2024-12-23 05:15:58 UTC
Created attachment 914782 [details]
Failed build log of chromium-130.0.6723.116-r1 with clang 18.

All versions of chromium (tried 130.0.6723.116-r1 and 131.0.6778.139) require llvm-runtimes/compiler-rt-sanitizers[cfi], otherwise the build fails with missing sanitizer ignorelist: '/usr/lib/llvm/18/bin/../../../../lib/clang/18/share/cfi_ignorelist.txt'

Reproducible with both llvm 19 and 18.
Comment 1 Matt Jolly gentoo-dev 2025-01-08 05:35:32 UTC
Thanks, I'll update the usedep when I'm done with Rust.
Comment 2 Larry the Git Cow gentoo-dev 2025-01-16 08:00:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b40c2dc50ed4e09d413563e0bbcd519f90f3c3d

commit 1b40c2dc50ed4e09d413563e0bbcd519f90f3c3d
Author:     Matt Jolly <kangie@gentoo.org>
AuthorDate: 2025-01-15 12:05:05 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2025-01-16 08:00:17 +0000

    www-client/chromium: depend on compiler-rt-sanitizers[cfi]
    
    We enable CFI with USE=official when LTO is enabled. While most
    profiles enable USE=cfi anyway, we can be more specific and ensure
    that the USE is enabled when CFI is likely to be enabled - we can't
    do that based on LTO so USE=official will serve as a reasonable
    proxy.
    
    Since llvm/runtimes/compiler-rt-sanitizers[cfi] is not available
    on ppc64, special-case that arch and do not enable CFI.
    
    Closes: https://bugs.gentoo.org/946853
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 www-client/chromium/chromium-130.0.6723.116-r1.ebuild | 18 +++++++++++-------
 www-client/chromium/chromium-131.0.6778.139.ebuild    | 11 +++++++++--
 www-client/chromium/chromium-131.0.6778.204.ebuild    | 11 +++++++++--
 www-client/chromium/chromium-131.0.6778.264.ebuild    |  9 ++++++++-
 www-client/chromium/chromium-132.0.6834.83.ebuild     |  9 ++++++++-
 www-client/chromium/chromium-133.0.6943.6.ebuild      |  9 ++++++++-
 6 files changed, 53 insertions(+), 14 deletions(-)