With dev-qt/qtwebengine there is seriuos problem using distcc with cross architecture builds. It ignores during build make.conf and explicit -march which causes failure to compile with distcc with different architecture than host of portage for which package is build. This package is very big so compilation on embedded device takes days instade of hours with distcc and fast remote server. Reproducible: Always Steps to Reproduce: On arm64 host make.conf CC=clang CXX=clang++ CHOST="aarch64-unknown-linux-gnu" CFLAGS="--target=aarch64-unknown-linux-gnu -pipe -march=armv8-a+crc+simd+crypto -mcpu=cortex-a72+crc+simd+crypto" CXXFLAGS="$CFLAGS" Actual Results: During compilation with distcc custom cflags are missing and march too which will at least generate wrong arch code ar fail at all compilation with distcc [829/5657] /usr/lib/distcc/bin/clang++ -MMD -MF obj/third_party/blink/renderer/core/accessibility/accessibility/ax_object_cache_base.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_CORE_IMPLEMENTATION=1 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DVK_NO_PROTOTYPES -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DNO_MAIN_THREAD_WRAPPING -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_GL -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_HAS_JPEG_LIBRARY -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_NO_PROTOTYPES -DV8_DEPRECATION_WARNINGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DSUPPORT_WEBGL2_COMPUTE_CONTEXT=1 -DWTF_USE_WEBAUDIO_PFFFT=1 -DUSE_SYSTEM_LIBJPEG -DV8_DEPRECATION_WARNINGS -DUSE_SYSTEM_ZLIB=1 -Igen -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium -Igen -Igen -Igen -Igen -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/libyuv/include -Igen -Igen -Igen -Igen -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/vulkan/include -Igen -Igen -Igen -Igen -Igen -Igen -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/khronos -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/gpu -Igen -Igen/third_party/dawn -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/dawn/src/include -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/webrtc_overrides -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/webrtc -Igen/third_party/webrtc -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/ced/src -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/protobuf/src -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/skia -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/vulkan/include -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/skia/third_party/vulkanmemoryallocator -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/vulkan/include -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/angle/include -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/angle/include -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/v8/include -Igen/v8/include -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/libwebm/source -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/leveldatabase -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/leveldatabase/src -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/leveldatabase/src/include -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/iccjpeg -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/ots/include -I../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/v8/include -Igen/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-attributes -Wno-unknown-pragmas -Wno-unknown-warning-option -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants --target=aarch64-linux-gnu -no-canonical-prefixes -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -fno-omit-frame-pointer -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -Wconversion -Wno-float-conversion -Wno-sign-conversion -Wno-implicit-float-conversion -Wno-implicit-int-conversion -Wno-shorten-64-to-32 -Wno-header-guard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/libxml2 -Wno-parentheses-equality -Wno-tautological-compare -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/blink/renderer/core/accessibility/ax_object_cache_base.cc -o obj/third_party/blink/renderer/core/accessibility/accessibility/ax_object_cache_base.o distcc[2997] ERROR: compile ../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/blink/renderer/core/accessibility/ax_object_cache_base.cc on 192.168.1.12 failed distcc[2997] (dcc_build_somewhere) Warning: remote compilation of '../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/blink/renderer/core/accessibility/ax_object_cache_base.cc' failed, retrying locally distcc[2997] Warning: failed to distribute ../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/blink/renderer/core/accessibility/ax_object_cache_base.cc to 192.168.1.12, running locally instead distcc[2997] (dcc_please_send_email_after_investigation) Warning: remote compilation of '../../../../qtwebengine-everywhere-src-5.14.2/src/3rdparty/chromium/third_party/blink/renderer/core/accessibility/ax_object_cache_base.cc' failed, retried locally and got a different result.
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to * attach the logs and * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Man You can produce it for Yourself it is reproductible always on every architecture. During build clang have missing --target=.... based on CHOST from make.conf without which DISTCC can't compile with cross architecture. emerge info I attached , but build log I dont have time to build brokend package for next few days. emerge --info Portage 2.3.99 (python 3.6.10-final-0, default/linux/arm64/17.0/systemd, gcc-10.1.0, glibc-2.31-r2, 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1 aarch64) ================================================================= System uname: Linux-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1-aarch64-with-gentoo-2.7 KiB Mem: 3968820 total, 598448 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 10 May 2020 21:30:01 +0000 Head commit of repository gentoo: 4a890910ceb0e96232fe6edfa2f50abb3dfd4335 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p1) 2.34.0 distcc 3.3.3 aarch64-unknown-linux-gnu [enabled] app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo dev-util/cmake: 3.17.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: no gentoo-overlay-mali-x11 location: /usr/local/gentoo-overlay-mali-x11 masters: gentoo ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="*" CBUILD="aarch64-unknown-linux-gnu" CC="clang" CFLAGS="--target=aarch64-unknown-linux-gnu -O3 -pipe -march=armv8-a+crc+simd+crypto -mcpu=cortex-a72+crc+simd+crypto" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="clang++" CXXFLAGS="--target=aarch64-unknown-linux-gnu -O3 -pipe -march=armv8-a+crc+simd+crypto -mcpu=cortex-a72+crc+simd+crypto" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.fau.de/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.netcologne.de/gentoo/" LANG="pl_PL.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en pl" MAKEOPTS="-j12 -l6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/md0/portage" USE="X a52 aac acl acpi activities alsa arm64 bash-completion berkdb branding bzip2 cairo cli crypt cups cxx dbus declarative dri dts egl emboss encode exif fam flac fortran gdbm gif git glamor gles gles1 gles2 gles2-only gpm gtk iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mpeg natspec ncurses nls nptl ogg openmp pam pango pcre pdf phonon plasma png policykit qml qt5 readline seccomp semantic-desktop spell split-usr ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode usb vorbis widgets x264 xattr xcb xcomposite xml xv xvid zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 crypto thumb2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 ARM" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS