Summary: | www-client/chromium-113.0.5672.63 fails to build with clang (The expected clang version is llvmorg-17-init-4759-g547e3456-1 but the actual version is ...) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kernelpanic, sergeev917, thorus.dv |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Disable the test |
Description
Patrick Lauer
2023-05-06 08:11:16 UTC
Same here. lto or libcxx or pgo (anything that require llvm/clang) trigger that error. Created attachment 861215 [details, diff]
Disable the test
This gets things working for me
*** Bug 905867 has been marked as a duplicate of this bug. *** (In reply to Yuki N. from comment #1) > Same here. lto or libcxx or pgo (anything that require llvm/clang) trigger > that error. Happened for me as well: The expected clang version is llvmorg-17-init-4759-g547e3456-1 but the actual version is Did you run "gclient sync"? The installed version is clang is 16.0.3, 17.x is currently masked. As can be seen in the script output above, the actual version is shown as an empty string: https://github.com/chromium/chromium/blob/113.0.5672.63/tools/clang/scripts/update.py#L360 The stamp file seems to be "third_party/llvm-build/Release+Asserts/cr_build_revision" in the source tree: https://github.com/chromium/chromium/blob/113.0.5672.63/tools/clang/scripts/update.py#L54 And it's indeed contains only a newline: # hexdump -C /var/tmp/portage/www-client/chromium-113.0.5672.63/work/chromium-113.0.5672.63/third_party/llvm-build/Release+Asserts/cr_build_revision 00000000 0a |.| 00000001 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36756f98fbabfc24deb746ac7574380a99191959 commit 36756f98fbabfc24deb746ac7574380a99191959 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-05-07 18:21:55 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-05-07 18:21:55 +0000 www-client/chromium: update compiler patch Should fix gn failure with clang. Closes: https://bugs.gentoo.org/905798 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../chromium/files/chromium-113-compiler.patch | 50 +++++++++++++++++----- 1 file changed, 39 insertions(+), 11 deletions(-) |