Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

www-client/chromium failed to use distcc properly

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
costel78
Guru
Guru
Posts: 416
Joined: Fri Apr 20, 2007 6:17 pm

www-client/chromium failed to use distcc properly

  • Quote

Post by costel78 » Tue Jul 29, 2025 2:00 pm

Seeing this thread Speeding up complilation on Raspberry Pi 5 bare metal, decided to give it a try.
Surprisingly, it compiled:

Code: Select all

genlop -t chromium
 * www-client/chromium

     Tue Jul 29 11:11:26 2025 >>> www-client/chromium-138.0.7204.168
       merge time: 1 day, 8 hours, 20 minutes and 57 seconds.
The next step was to try to use distcc. Tried directly with llvm as chromium compile on gentoo using clang and the others packages can be compiled on pi5 itself, without help in under 24 hours. Didn't work:

Code: Select all

crossdev --llvm aarch64-unknown-linux-gnu

 * error: LLVM/Clang cannot currently compile glibc
 * 
 * If you file a bug, please attach the following logfiles:
 * /-info.log
So, I setup crossdev normaly, using gcc and distcc.
For clang setup the helper scripts:

Code: Select all

gentoo /usr/local/bin # cat aarch64-unknown-linux-gnu-clang*
#!/bin/sh
CHOST=aarch64-unknown-linux-gnu
/usr/lib/llvm/20/bin/clang --target=${CHOST} $@
#!/bin/sh
CHOST=aarch64-unknown-linux-gnu
/usr/lib/llvm/20/bin/clang++ --target=${CHOST} $@
#!/bin/sh
CHOST=aarch64-unknown-linux-gnu
/usr/lib/llvm/20/bin/clang++ --target=${CHOST} $@
#!/bin/sh
CHOST=aarch64-unknown-linux-gnu
/usr/lib/llvm/20/bin/clang --target=${CHOST} $@
and

Code: Select all

eselect compiler-shadow update
Updating masquerade for distcc ...
'clang' -> '/usr/bin/distcc'
'clang-20' -> '/usr/bin/distcc'
'clang++' -> '/usr/bin/distcc'
'clang++-20' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-clang' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-clang-20' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang-20' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-clang++' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang++' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-clang++-20' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-clang++-20' -> '/usr/bin/distcc'
'gcc' -> '/usr/bin/distcc'
'gcc-15' -> '/usr/bin/distcc'
'g++' -> '/usr/bin/distcc'
'g++-15' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-gcc' -> '/usr/bin/distcc'
'bpf-unknown-none-gcc' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-gcc' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-gcc-15' -> '/usr/bin/distcc'
'bpf-unknown-none-gcc-15' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-gcc-15' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-g++' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-g++' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-g++-15' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-g++-15' -> '/usr/bin/distcc'
'cc' -> '/usr/bin/distcc'
'c99' -> '/usr/bin/distcc'
'c++' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-cc' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-cc' -> '/usr/bin/distcc'
'aarch64-unknown-linux-gnu-c++' -> '/usr/bin/distcc'
'x86_64-pc-linux-gnu-c++' -> '/usr/bin/distcc'
The problem: Can not compile chromium using distcc. Others packages can be compiled with distcc by using either gcc or clang. Tried with app-misc/mc and libreoffice, with both gcc and clang.

Errors on x86 host:

Code: Select all

iul 29 16:16:59 gentoo.cweb.ro distccd[1364900]: (dcc_job_summary) client: 192.168.78.252:6100 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:253ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/cycleclock.cc
iul 29 16:17:59 gentoo.cweb.ro distccd[1364901]: (dcc_job_summary) client: 192.168.78.252:24756 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:324ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/strings/str_split.cc
iul 29 16:18:59 gentoo.cweb.ro distccd[1364922]: (dcc_job_summary) client: 192.168.78.252:7900 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:58ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/libc++abi/src/src/private_typeinfo.cpp
iul 29 16:18:59 gentoo.cweb.ro distccd[1364898]: (dcc_job_summary) client: 192.168.78.252:7910 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:65ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/libc++abi/src/src/stdlib_exception.cpp
iul 29 16:20:05 gentoo.cweb.ro distccd[1364906]: (dcc_job_summary) client: 192.168.78.252:59578 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:562ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/protobuf/src/google/protobuf/feature_resolver.cc
iul 29 16:27:03 gentoo.cweb.ro distccd[1364910]: (dcc_job_summary) client: 192.168.78.252:38300 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:207ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc
iul 29 16:27:03 gentoo.cweb.ro distccd[1364914]: (dcc_job_summary) client: 192.168.78.252:38308 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:237ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc
iul 29 16:27:03 gentoo.cweb.ro distccd[1364909]: (dcc_job_summary) client: 192.168.78.252:38316 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:539ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/log_severity.cc
iul 29 16:27:03 gentoo.cweb.ro distccd[1364917]: (dcc_job_summary) client: 192.168.78.252:38296 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:681ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/sysinfo.cc
iul 29 16:27:03 gentoo.cweb.ro distccd[1364911]: (dcc_job_summary) client: 192.168.78.252:38282 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:710ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/spinlock.cc
iul 29 16:27:03 gentoo.cweb.ro distccd[1364919]: (dcc_job_summary) client: 192.168.78.252:38284 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:707ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc
iul 29 16:27:03 gentoo.cweb.ro distccd[1364903]: (dcc_job_summary) client: 192.168.78.252:38266 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:826ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/cycleclock.cc
iul 29 16:27:03 gentoo.cweb.ro distccd[1364916]: (dcc_job_summary) client: 192.168.78.252:38312 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:883ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/thread_identity.cc
iul 29 16:27:04 gentoo.cweb.ro distccd[1364923]: (dcc_job_summary) client: 192.168.78.252:38364 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:148ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/tracing.cc
iul 29 16:27:04 gentoo.cweb.ro distccd[1364908]: (dcc_job_summary) client: 192.168.78.252:38340 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:524ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/strerror.cc
iul 29 16:27:04 gentoo.cweb.ro distccd[1364920]: (dcc_job_summary) client: 192.168.78.252:38354 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:698ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/throw_delegate.cc
iul 29 16:27:04 gentoo.cweb.ro distccd[1364913]: (dcc_job_summary) client: 192.168.78.252:38326 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:862ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/base/internal/raw_logging.cc
iul 29 16:28:07 gentoo.cweb.ro distccd[1364921]: (dcc_job_summary) client: 192.168.78.252:61730 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:251ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/log/internal/conditions.cc
iul 29 16:28:08 gentoo.cweb.ro distccd[1364904]: (dcc_job_summary) client: 192.168.78.252:61720 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:1613ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/log/internal/check_op.cc
iul 29 16:29:10 gentoo.cweb.ro distccd[1364918]: (dcc_job_summary) client: 192.168.78.252:11444 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:596ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc
iul 29 16:29:11 gentoo.cweb.ro distccd[1364912]: (dcc_job_summary) client: 192.168.78.252:11446 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:552ms aarch64-unknown-linux-gnu-clang++-20 ../../third_party/abseil-cpp/absl/strings/internal/str_format/output.cc
Errors on arm64 host with distcc verbose enabled:

Code: Select all

cat distcc_server_stderr_1e7ecc26.txt 
clang++: error: no such file or directory: '../../tools/cfi/ignores.txt'

locate tools/cfi/ignores.txt
/mnt/linux/portage/www-client/chromium-138.0.7204.168/work/chromium-138.0.7204.168/third_party/dawn/tools/cfi/ignores.txt
/mnt/linux/portage/www-client/chromium-138.0.7204.168/work/chromium-138.0.7204.168/tools/cfi/ignores.txt
/mnt/linux/portage/www-client/chromium-138.0.7204.168/work/chromium-138.0.7204.168/v8/tools/cfi/ignores.txt

A lot of still in backoff period for 192.168.78.254
distcc[1044] (dcc_scan_args) found input file "../../third_party/abseil-cpp/absl/log/globals.cc"
distcc[1044] (dcc_scan_args) found object/output file "obj/third_party/abseil-cpp/absl/log/globals/globals.o"
distcc[1044] compile from globals.cc to globals.o
distcc[1044] (dcc_get_hostlist) not reading /mnt/linux/portage/.distcc/hosts: No such file or directory
distcc[1044] (dcc_parse_hosts_file) load hosts from /etc/distcc/hosts
distcc[1044] (dcc_parse_hosts) found tcp token "192.168.78.254/24"
distcc[1044] (dcc_check_backoff) still in backoff period for 192.168.78.254/24
distcc[1044] (dcc_remove_disliked) remove 192.168.78.254/24 from list
distcc[1044] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc[1044] (dcc_get_hostlist) not reading /mnt/linux/portage/.distcc/hosts: No such file or directory
distcc[1044] (dcc_parse_hosts_file) load hosts from /etc/distcc/hosts
distcc[1044] (dcc_parse_hosts) found tcp token "192.168.78.254/24"
distcc[1044] (dcc_lock_host) /mnt/linux/portage/.distcc/lock/cpu_localhost_0 is busy
distcc[1044] (dcc_lock_host) got cpu lock on localhost slot 1 as fd3

A successfully send:
distcc[1275] (dcc_note_state) note state 2, file "check_op.cc", host "192.168.78.254"
distcc[1275] (dcc_connect_by_addr) started connecting to UNIX-DOMAIN /mnt/linux/portage/.portage.61155.net.sock
distcc[1276] (dcc_new_pgrp) entered process group
distcc[1276] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_select_for_read) select for read on fd5 for 300s
distcc[1275] (dcc_select_for_read) select for read on fd5 for 300s
distcc[1275] (dcc_note_state) note state 4, file "(NULL)", host "(NULL)"
distcc[1275] (dcc_x_token_int) send DIST00000001
distcc[1275] (dcc_x_token_int) send ARGC0000004c
distcc[1275] (dcc_x_token_int) send ARGV00000024
distcc[1275] (dcc_x_token_string) send string 'aarch64-unknown-linux-gnu-clang++-20'
distcc[1275] (dcc_x_token_int) send ARGV0000001f
distcc[1275] (dcc_x_token_string) send string '-fno-delete-null-pointer-checks'
distcc[1275] (dcc_x_token_int) send ARGV00000014
distcc[1275] (dcc_x_token_string) send string '-fno-strict-overflow'
distcc[1275] (dcc_x_token_int) send ARGV0000000a
distcc[1275] (dcc_x_token_string) send string '-fno-ident'
distcc[1275] (dcc_x_token_int) send ARGV00000014
distcc[1275] (dcc_x_token_string) send string '-fno-strict-aliasing'
distcc[1275] (dcc_x_token_int) send ARGV00000011
distcc[1275] (dcc_x_token_string) send string '-fstack-protector'
distcc[1275] (dcc_x_token_int) send ARGV00000012
distcc[1275] (dcc_x_token_string) send string '-fno-unwind-tables'
distcc[1275] (dcc_x_token_int) send ARGV0000001f
distcc[1275] (dcc_x_token_string) send string '-fno-asynchronous-unwind-tables'
distcc[1275] (dcc_x_token_int) send ARGV00000005
distcc[1275] (dcc_x_token_string) send string '-fPIC'
distcc[1275] (dcc_x_token_int) send ARGV00000008
distcc[1275] (dcc_x_token_string) send string '-pthread'
distcc[1275] (dcc_x_token_int) send ARGV00000013
distcc[1275] (dcc_x_token_string) send string '-fcolor-diagnostics'
distcc[1275] (dcc_x_token_int) send ARGV00000015
distcc[1275] (dcc_x_token_string) send string '-fmerge-all-constants'
distcc[1275] (dcc_x_token_int) send ARGV00000017
distcc[1275] (dcc_x_token_string) send string '-fno-sized-deallocation'
distcc[1275] (dcc_x_token_int) send ARGV00000024
distcc[1275] (dcc_x_token_string) send string '-Wa,--crel,--allow-experimental-crel'
distcc[1275] (dcc_x_token_int) send ARGV0000000a
distcc[1275] (dcc_x_token_string) send string '-flto=thin'
distcc[1275] (dcc_x_token_int) send ARGV00000010
distcc[1275] (dcc_x_token_string) send string '-fsplit-lto-unit'
distcc[1275] (dcc_x_token_int) send ARGV00000006
distcc[1275] (dcc_x_token_string) send string '-mllvm'
distcc[1275] (dcc_x_token_int) send ARGV00000019
distcc[1275] (dcc_x_token_string) send string '-inlinehint-threshold=360'
distcc[1275] (dcc_x_token_int) send ARGV00000017
distcc[1275] (dcc_x_token_string) send string '-fwhole-program-vtables'
distcc[1275] (dcc_x_token_int) send ARGV0000001a
distcc[1275] (dcc_x_token_string) send string '-fcomplete-member-pointers'
distcc[1275] (dcc_x_token_int) send ARGV0000001c
distcc[1275] (dcc_x_token_string) send string '-mbranch-protection=standard'
distcc[1275] (dcc_x_token_int) send ARGV0000000c
distcc[1275] (dcc_x_token_string) send string '-mno-outline'
distcc[1275] (dcc_x_token_int) send ARGV00000016
distcc[1275] (dcc_x_token_string) send string '-no-canonical-prefixes'
distcc[1275] (dcc_x_token_int) send ARGV00000049
distcc[1275] (dcc_x_token_string) send string '--warning-suppression-mappings=../../build/config/warning_suppression.txt'
distcc[1275] (dcc_x_token_int) send ARGV0000001f
distcc[1275] (dcc_x_token_string) send string '-ftrivial-auto-var-init=pattern'
distcc[1275] (dcc_x_token_int) send ARGV00000017
distcc[1275] (dcc_x_token_string) send string '-fno-omit-frame-pointer'
distcc[1275] (dcc_x_token_int) send ARGV00000014
distcc[1275] (dcc_x_token_string) send string '-fsanitize=cfi-vcall'
distcc[1275] (dcc_x_token_int) send ARGV00000031
distcc[1275] (dcc_x_token_string) send string '-fsanitize-ignorelist=../../tools/cfi/ignores.txt'
distcc[1275] (dcc_x_token_int) send ARGV00000013
distcc[1275] (dcc_x_token_string) send string '-fvisibility=hidden'
distcc[1275] (dcc_x_token_int) send ARGV00000010
distcc[1275] (dcc_x_token_string) send string '-Wheader-hygiene'
distcc[1275] (dcc_x_token_int) send ARGV00000013
distcc[1275] (dcc_x_token_string) send string '-Wstring-conversion'
distcc[1275] (dcc_x_token_int) send ARGV0000001e
distcc[1275] (dcc_x_token_string) send string '-Wtautological-overlap-compare'
distcc[1275] (dcc_x_token_int) send ARGV00000005
distcc[1275] (dcc_x_token_string) send string '-Wall'
distcc[1275] (dcc_x_token_int) send ARGV00000014
distcc[1275] (dcc_x_token_string) send string '-Wno-unused-variable'
distcc[1275] (dcc_x_token_int) send ARGV00000014
distcc[1275] (dcc_x_token_string) send string '-Wno-c++11-narrowing'
distcc[1275] (dcc_x_token_int) send ARGV0000001c
distcc[1275] (dcc_x_token_string) send string '-Wno-unused-but-set-variable'
distcc[1275] (dcc_x_token_int) send ARGV0000001f
distcc[1275] (dcc_x_token_string) send string '-Wno-missing-field-initializers'
distcc[1275] (dcc_x_token_int) send ARGV00000015
distcc[1275] (dcc_x_token_string) send string '-Wno-unused-parameter'
distcc[1275] (dcc_x_token_int) send ARGV0000000a
distcc[1275] (dcc_x_token_string) send string '-Wno-psabi'
distcc[1275] (dcc_x_token_int) send ARGV0000000f
distcc[1275] (dcc_x_token_string) send string '-Wloop-analysis'
distcc[1275] (dcc_x_token_int) send ARGV00000022
distcc[1275] (dcc_x_token_string) send string '-Wno-unneeded-internal-declaration'
distcc[1275] (dcc_x_token_int) send ARGV00000017
distcc[1275] (dcc_x_token_string) send string '-Wno-cast-function-type'
distcc[1275] (dcc_x_token_int) send ARGV00000023
distcc[1275] (dcc_x_token_string) send string '-Wno-thread-safety-reference-return'
distcc[1275] (dcc_x_token_int) send ARGV00000017
distcc[1275] (dcc_x_token_string) send string '-Wno-nontrivial-memcall'
distcc[1275] (dcc_x_token_int) send ARGV00000019
distcc[1275] (dcc_x_token_string) send string '-Wimplicit-int-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000012
distcc[1275] (dcc_x_token_string) send string '-Wshorten-64-to-32'
distcc[1275] (dcc_x_token_int) send ARGV0000000e
distcc[1275] (dcc_x_token_string) send string '-Wsign-compare'
distcc[1275] (dcc_x_token_int) send ARGV00000011
distcc[1275] (dcc_x_token_string) send string '-Wsign-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000024
distcc[1275] (dcc_x_token_string) send string '-Wtautological-unsigned-zero-compare'
distcc[1275] (dcc_x_token_int) send ARGV0000000a
distcc[1275] (dcc_x_token_string) send string '-std=c++20'
distcc[1275] (dcc_x_token_int) send ARGV0000000e
distcc[1275] (dcc_x_token_string) send string '-Wno-trigraphs'
distcc[1275] (dcc_x_token_int) send ARGV00000017
distcc[1275] (dcc_x_token_string) send string '-gsimple-template-names'
distcc[1275] (dcc_x_token_int) send ARGV0000000f
distcc[1275] (dcc_x_token_string) send string '-fno-exceptions'
distcc[1275] (dcc_x_token_int) send ARGV00000009
distcc[1275] (dcc_x_token_string) send string '-fno-rtti'
distcc[1275] (dcc_x_token_int) send ARGV0000001b
distcc[1275] (dcc_x_token_string) send string '-fvisibility-inlines-hidden'
distcc[1275] (dcc_x_token_int) send ARGV00000015
distcc[1275] (dcc_x_token_string) send string '-Wno-invalid-offsetof'
distcc[1275] (dcc_x_token_int) send ARGV0000001a
distcc[1275] (dcc_x_token_string) send string '-Wenum-compare-conditional'
distcc[1275] (dcc_x_token_int) send ARGV0000001d
distcc[1275] (dcc_x_token_string) send string '-Wno-nullability-completeness'
distcc[1275] (dcc_x_token_int) send ARGV00000011
distcc[1275] (dcc_x_token_string) send string '-Wbool-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000015
distcc[1275] (dcc_x_token_string) send string '-Wconstant-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000011
distcc[1275] (dcc_x_token_string) send string '-Wenum-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000010
distcc[1275] (dcc_x_token_string) send string '-Wint-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000014
distcc[1275] (dcc_x_token_string) send string '-Wliteral-conversion'
distcc[1275] (dcc_x_token_int) send ARGV0000001d
distcc[1275] (dcc_x_token_string) send string '-Wnon-literal-null-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000011
distcc[1275] (dcc_x_token_string) send string '-Wnull-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000019
distcc[1275] (dcc_x_token_string) send string '-Wobjc-literal-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000013
distcc[1275] (dcc_x_token_string) send string '-Wstring-conversion'
distcc[1275] (dcc_x_token_int) send ARGV0000001a
distcc[1275] (dcc_x_token_string) send string '-Wbitfield-enum-conversion'
distcc[1275] (dcc_x_token_int) send ARGV00000003
distcc[1275] (dcc_x_token_string) send string '-O2'
distcc[1275] (dcc_x_token_int) send ARGV00000005
distcc[1275] (dcc_x_token_string) send string '-pipe'
distcc[1275] (dcc_x_token_int) send ARGV0000002d
distcc[1275] (dcc_x_token_string) send string '-mcpu=cortex-a76+crc+crypto+fp16+rcpc+dotprod'
distcc[1275] (dcc_x_token_int) send ARGV0000001b
distcc[1275] (dcc_x_token_string) send string '-Wno-unknown-warning-option'
distcc[1275] (dcc_x_token_int) send ARGV00000002
distcc[1275] (dcc_x_token_string) send string '-c'
distcc[1275] (dcc_x_token_int) send ARGV0000003a
distcc[1275] (dcc_x_token_string) send string '../../third_party/abseil-cpp/absl/log/internal/check_op.cc'
distcc[1275] (dcc_x_token_int) send ARGV00000002
distcc[1275] (dcc_x_token_string) send string '-o'
distcc[1275] (dcc_x_token_int) send ARGV00000040
distcc[1275] (dcc_x_token_string) send string 'obj/third_party/abseil-cpp/absl/log/internal/check_op/check_op.o'
distcc[1275] (dcc_note_state) note state 3, file "(NULL)", host "(NULL)"
distcc[1275] (dcc_collect_child) cpp child 1276 terminated with status 0
distcc[1275] (dcc_collect_child) cpp times: user 0.000000s, system 0.000000s, 0 minflt, 0 majflt
distcc[1275] cpp ../../third_party/abseil-cpp/absl/log/internal/check_op.cc on localhost completed ok
distcc[1275] (dcc_unlock) release lock fd4
distcc[1275] (dcc_x_file) send 3707100 byte file /mnt/linux/portage/www-client/chromium-138.0.7204.168/temp/distcc_0855cc66.ii with token DOTI and compression 69
distcc[1275] (dcc_x_token_int) send DOTI003890dc
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 3444956 @262144
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 3182812 @524288
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 2920668 @786432
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 2658524 @1048576
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 2396380 @1310720
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 2134236 @1572864
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 1872092 @1835008
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 1609948 @2097152
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 1347804 @2359296
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 1085660 @2621440
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 823516 @2883584
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 561372 @3145728
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 299228 @3407872
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_pump_sendfile) sendfile: partial transmission of 262144 bytes; retrying 37084 @3670016
distcc[1275] (dcc_select_for_write) select for write on fd5
distcc[1275] (dcc_pump_sendfile) select() returned, continuing to write
distcc[1275] (dcc_compile_remote) client finished sending request to server
distcc[1275] (dcc_note_state) note state 5, file "(NULL)", host "192.168.78.254"
distcc[1275] (dcc_select_for_read) select for read on fd5 for 300s
distcc[1275] (dcc_r_token_int) got DONE00000001
distcc[1275] (dcc_r_result_header) got response header
distcc[1275] (dcc_note_state) note state 6, file "(NULL)", host "(NULL)"
distcc[1275] (dcc_r_token_int) got STAT00000100
distcc[1275] (dcc_r_token_int) got SERR0000005e
distcc[1275] (dcc_r_file) received 94 bytes to file /mnt/linux/portage/www-client/chromium-138.0.7204.168/temp/distcc_server_stderr_226ecc66.txt
distcc[1275] (dcc_r_token_int) got SOUT00000000
distcc[1275] (dcc_r_token_int) got DOTO00000000
distcc[1275] 3707100 bytes from ../../third_party/abseil-cpp/absl/log/internal/check_op.cc compiled on 192.168.78.254 in 1.6272s, rate 2225kB/s
distcc[1275] (dcc_remove_timefile) remove /mnt/linux/portage/.distcc/lock/backoff_tcp_192.168.78.254_3632_0
distcc[1275] (dcc_unlock) release lock fd3
distcc[1275] ERROR: compile ../../third_party/abseil-cpp/absl/log/internal/check_op.cc on 192.168.78.254/24 failed
distcc[1275] (dcc_build_somewhere) Warning: remote compilation of '../../third_party/abseil-cpp/absl/log/internal/check_op.cc' failed, retrying locally
distcc[1275] (dcc_mark_timefile) mark /mnt/linux/portage/.distcc/lock/backoff_tcp_192.168.78.254_3632_0
distcc[1275] Warning: failed to distribute ../../third_party/abseil-cpp/absl/log/internal/check_op.cc to 192.168.78.254/24, running locally instead
distcc[1275] (dcc_get_hostlist) not reading /mnt/linux/portage/.distcc/hosts: No such file or directory
distcc[1275] (dcc_parse_hosts_file) load hosts from /etc/distcc/hosts
distcc[1275] (dcc_parse_hosts) found tcp token "192.168.78.254/24"
distcc[1275] (dcc_lock_host) /mnt/linux/portage/.distcc/lock/cpu_localhost_0 is busy
distcc[1275] (dcc_lock_host) /mnt/linux/portage/.distcc/lock/cpu_localhost_1 is busy
distcc[1275] (dcc_lock_host) got cpu lock on localhost slot 2 as fd3
distcc[1275] exec on localhost: aarch64-unknown-linux-gnu-clang++-20 -MD -MF obj/third_party/abseil-cpp/absl/log/internal/check_op/check_op.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -D__ARM_NEON__=1 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_INSTRUMENTED_WITH_ASAN=0 -DCR_LIBCXX_REVISION=a01c02c9d4acbdae3b7e8a2f3ee58579a9c29f96 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DABSL_ALLOCATOR_NOTHROW=1 -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/abseil-cpp -fno-delete-null-pointer-checks -fno-strict-overflow -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fno-sized-deallocation -Wa,--crel,--allow-experimental-crel -flto=thin -fsplit-lto-unit -mllvm -inlinehint-threshold=360 -fwhole-program-vtables -fcomplete-member-pointers -mbranch-protection=standard -mno-outline -no-canonical-prefixes --warning-suppression-mappings=../../build/config/warning_suppression.txt -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wall -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wno-nontrivial-memcall -Wimplicit-int-conversion -Wshorten-64-to-32 -Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare -std=c++20 -Wno-trigraphs -gsimple-template-names -fno-exceptions -fno-rtti -nostdinc++ -isystem../../third_party/libc++/src/include -isystem../../third_party/libc++abi/src/include -fvisibility-inlines-hidden -Wno-invalid-offsetof -Wenum-compare-conditional -Wno-nullability-completeness -Wbool-conversion -Wconstant-conversion -Wenum-conversion -Wint-conversion -Wliteral-conversion -Wnon-literal-null-conversion -Wnull-conversion -Wobjc-literal-conversion -Wstring-conversion -Wbitfield-enum-conversion -O2 -pipe -mcpu=cortex-a76+crc+crypto+fp16+rcpc+dotprod -Wno-unknown-warning-option -c ../../third_party/abseil-cpp/absl/log/internal/check_op.cc -o obj/third_party/abseil-cpp/absl/log/internal/check_op/check_op.o
distcc[1275] (dcc_note_state) note state 5, file "check_op.cc", host "localhost"
What I'm doing wrong ?
Sorry for my English. I'm still learning this language.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Tue Jul 29, 2025 3:54 pm

costel78,
What I'm doing wrong ?
You did nothing wrong. But you may have misunderstand how 'distcc' work.

By design NOT every objects targeted by build system can be distributed to distcc helper for compilation. by default only C/C++ source code can be distribute to distcc helper.

In your case '../../tools/cfi/ignores.txt' in chromium build system was generate by 'bindgen' therefor distcc will not use it therefor distcc helper will fail. but this failure by distcc design are tolerated and the compile process shifted to use local compiler.

So in the end the build system continue without failure and therefor the build should eventually success.
Top
costel78
Guru
Guru
Posts: 416
Joined: Fri Apr 20, 2007 6:17 pm

  • Quote

Post by costel78 » Tue Jul 29, 2025 4:26 pm

First, thank you for your support!
The goal was to reduce at ~8 hours those 32 hours of compile. If distcc is not a solution, then I will keep using flatpak version.
Flatpak has a few disadvantages: ~3GB space required, six time more than chromium - dependencies included, a less portable config among others Raspberry Pi etc.
Well, a chromium compile per week is to much on Pi itself.
Sorry for my English. I'm still learning this language.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy