Try this. One contains previous changes plus your recent finding:mortonP wrote:client side:
x86_64-pc-linux-gnu-clang++-20: error: no such file or directory: '../../tools/ubsan/array_bounds_ignorelist.txt'
Code: Select all
--- a/build/config/compiler/BUILD.gn 2025-09-13 17:15:05.585891128 +0300
+++ b/build/config/compiler/BUILD.gn 2025-09-13 17:10:57.398681527 +0300
@@ -1707,10 +1707,7 @@
config("clang_warning_suppression") {
# Some build configs use older versions of clang that don't support WSMs
if (use_clang_warning_suppression_file) {
- from_build_root =
- rebase_path(clang_warning_suppression_file, root_build_dir)
- inputs = [ clang_warning_suppression_file ]
- cflags = [ "--warning-suppression-mappings=" + from_build_root ]
+ cflags = [ "-w" ]
}
}
@@ -1735,10 +1732,6 @@
"-fsanitize-trap=array-bounds",
]
- if (defined(ubsan_array_bounds_ignorelist_path)) {
- rebased = rebase_path(ubsan_array_bounds_ignorelist_path, root_build_dir)
- cflags += [ "-fsanitize-ignorelist=$rebased" ]
- }
}
}
--- a/build/linux/unbundle/openh264.gn 2025-09-09 02:21:33.000000000 +0300
+++ b/build/linux/unbundle/openh264.gn 2025-09-13 17:11:37.951153925 +0300
@@ -6,13 +6,7 @@
import("//build/shim_headers.gni")
config("encoder_cfi_flags") {
- cflags = []
- if (current_toolchain == default_toolchain && is_clang) {
- openh264_cfi_ignorelist_path =
- rebase_path("//build/linux/unbundle/openh264_encoder_cfi_ignores.txt",
- root_build_dir)
- cflags += [ "-fsanitize-ignorelist=$openh264_cfi_ignorelist_path" ]
- }
+ cflags = [ "-w" ]
}
pkg_config("config") {Went through - from a quick browse I only see "COMPILE_OK exit:0" in /var/log/distccd.log and runtime also feels approximately right.Try this.
Code: Select all
* Applying 02-distcc.patch ...
patching file build/config/compiler/BUILD.gn
Hunk #1 succeeded at 1701 (offset -6 lines).
Hunk #2 FAILED at 1732.
1 out of 2 hunks FAILED -- saving rejects to file build/config/compiler/BUILD.gn.rej
patching file build/linux/unbundle/openh264.gn
[ !! ]
* ERROR: www-client/chromium-144.0.7559.109::gentoo failed (prepare phase):
mortonP wrote:patch fails with chromium-144.0.7559.109:
Code: Select all
--- a/build/config/compiler/BUILD.gn 2026-02-06 09:03:18.496535389 +0300
+++ b/build/config/compiler/BUILD.gn 2026-02-06 09:25:26.124644545 +0300
@@ -1701,10 +1701,7 @@
config("clang_warning_suppression") {
# Some build configs use older versions of clang that don't support WSMs
if (use_clang_warning_suppression_file) {
- from_build_root =
- rebase_path(clang_warning_suppression_file, root_build_dir)
- inputs = [ clang_warning_suppression_file ]
- cflags = [ "--warning-suppression-mappings=" + from_build_root ]
+ cflags = [ "-w" ]
}
}
--- a/build/linux/unbundle/openh264.gn 2025-09-09 02:21:33.000000000 +0300
+++ b/build/linux/unbundle/openh264.gn 2025-09-13 17:11:37.951153925 +0300
@@ -6,13 +6,7 @@
import("//build/shim_headers.gni")
config("encoder_cfi_flags") {
- cflags = []
- if (current_toolchain == default_toolchain && is_clang) {
- openh264_cfi_ignorelist_path =
- rebase_path("//build/linux/unbundle/openh264_encoder_cfi_ignores.txt",
- root_build_dir)
- cflags += [ "-fsanitize-ignorelist=$openh264_cfi_ignorelist_path" ]
- }
+ cflags = [ "-w" ]
}
pkg_config("config") {There are two choices: either file a bug or create a user patch :)mortonP wrote:...btw, how to bribe someone to add this patch to chromium ebuilds by default?
There is already a bug about chromium and distcc https://bugs.gentoo.org/870085 ...which has stopped in 2024.file a bug
Well, a patch carried with chromium would at least be an improvement, before e.g. distcc is improved.could be fixed with either improved distcc or just in chromium ebuild patch
thank you. I did not notice it when started playing with chromium ebuild last summer. Actually the bug is not only about the issue we're talking in here. For me the proposal to have kinda distcc wrapper looks a bit ugly. The problem however was touchedmortonP wrote:There is already a bug about chromium and distcc https://bugs.gentoo.org/870085 ...which has stopped in 2024.file a bug
just finished with 144 ebuild in 4 hours..For me, without distcc, chromium is a ~1.5 day compile...
Code: Select all
$ qlop -v --date yesterday
...
2026-03-14T23:34:39 >>> www-client/chromium-146.0.7680.80: 4:38:39