Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
788 views

Building LLVM with direct mode distcc and ccache

I'm trying to build LLVM with both distcc (in direct mode, i.e. non-pump mode) and with a ccache on the initiating machine. Tools in isolation I've managed to get both of these systems to work with ...
Edd Barrett's user avatar
  • 3,515
1 vote
1 answer
1k views

How can I use CMake to configure an environment variable to be used during the build?

I am using distcc to speed up building my C++ project. I configure cmake to use distcc using the CMAKE_CXX_COMPILER_LAUNCHER variable: set(CMAKE_CXX_COMPILER_LAUNCHER "distcc") At times, ...
Steve Lorimer's user avatar
0 votes
1 answer
157 views

gcc distcc LTO cc invocations are not worth distributing

env description os: ubuntu 20.04 distcc: 3.4 (compiled from source) with method in below common: sudo apt-get install gcc make python3 python3-dev libiberty-dev autoconf -y wget https://github.com/...
xiaojueguan's user avatar
  • 1,000
1 vote
0 answers
86 views

How to set localslots_cpp when distcc is used with ccache?

From distcc's documentation I understand that localslots_cpp can limit the concurrency of preprocessing. But the setting of localslots_cpp doesn't work when called via ccache.
zcfh's user avatar
  • 111
1 vote
1 answer
186 views

Is it possible to apply different compilation jobs to a different targets into a Makefile in order to use distcc

I have a Makefile which has several targets. One of then it’s just to generate cpp code automatically. The second one is designated to compile those generated cpp. I have configured a cluster of ...
ArAmIuS's user avatar
  • 11
0 votes
0 answers
159 views

Distcc blocks ip when using portage

distcc[20890] (dcc_get_hostlist) read hosts from environment distcc[20890] (dcc_parse_hosts) found localhost token "localhost" distcc[20890] (dcc_parse_hosts) found tcp token "192.168.0....
TroubleTruffle's user avatar
1 vote
1 answer
137 views

How to configure distcc for a text file dependency

I am trying to distribute the build with distcc that uses clang with sanitizers in the following way: clang++-12 -fsanitize-blacklist=/path/to/the/blacklist.txt ... So there is a non-cpp dependency in ...
Serge Rogatch's user avatar
0 votes
1 answer
544 views

How to check if all the server listed is actually being used when running a build using distcc

I'm first time using distcc and have gone through the Readme. To setup I have three Ubuntu Servers: Master and Client: As per the readme it sound like we need to install them on all theree machines. ...
anish anil's user avatar
  • 2,590
0 votes
1 answer
639 views

Compile with distcc doesn't distribute to other system(s) / slave not working

I've encountered a problem with discc, a compile job distribution tool, where a (cmake) build was not distributed to other specified systems (as defined in ~/.distcc/host). I configured the build ...
DomTomCat's user avatar
  • 8,469
0 votes
3 answers
2k views

Configuring distcc for makefiles

I am testing distcc and I found this tutorial very easy to follow, I should say that I am able to compile llvm using CMake + Ninja and CMake + Makefiles using distcc and docker with no problems. Since ...
Berthin's user avatar
  • 329
4 votes
1 answer
141 views

distcc - are there cases it requires a synchronized network filesystem

Two simplified makefiles makefile1 a.txt: echo “123144234” > a.txt t2: a.txt cat a.txt > b.txt makefile2 t1: echo “123144234” > a.txt t2: t1 cat a.txt > b.txt Both ...
Bob's user avatar
  • 4,910
0 votes
1 answer
2k views

linux kernel panic unable to handle kernel NULL pointer dereference at

I'm facing issues with some kernel panic but I don't have any idea how to find which soft is exacly causing this issue. I'm trying to compile some soft on remote host using distcc software but my ...
konio00's user avatar
  • 13
0 votes
1 answer
238 views

CCACHE and DISTCC support for non-gcc tools?

We're looking at ways to speed our compilation up for our project that uses Keil, Xtensa, and potentially another non-gcc compiler tool for a 3rd flavor of core in the chip. I've been searched for "...
Russ Schultz's user avatar
  • 2,649
3 votes
2 answers
4k views

How to use distcc to preprocess and compile everything remotely only?

Background: I have a 128-core server which I would like to use as a build server. I have a bunch of client machines which work with a not-so-new and not-so-powerful PC. (Can't upgrade! Not in my ...
Duck Dodgers's user avatar
  • 3,451
1 vote
0 answers
73 views

undefined reference when using distcc in CMAKE for Protobuf

I am able to cmake protobuf directly, but want to do it via distcc and all the times, it is throwing error as undefined reference to I addedCXXFLAGS="-static-libstdc++" to the configure and ...
stackjohnny's user avatar
1 vote
1 answer
2k views

Improving the ccache hit rate

I am working with distcc and ccache to speed up the compilation of my project. I noticed that I am not getting any hits when I am building the same code from different directories. I looked up online ...
whacky_bruce's user avatar
0 votes
0 answers
103 views

Malloc only works with valgrind on. How to debug?

to put you in some context here, project i test with valgrind is slightly modified version of distcc. The function that fails has not been changed. The exact place in code that is problematic is ...
JakubWalecki's user avatar
0 votes
1 answer
101 views

Distribute compilation on a server that itself distributes on more computers

If I distcc my compilation on a unique server, is it possible to this server to distribute its compilation to many more computers by using distcc too? Another way to ask it: is the distcc ...
ana's user avatar
  • 1
3 votes
2 answers
4k views

How to use clang and distcc to compile on a slave of a different architecture (e.g. Mac/Linux)

I want to use distcc to compile code from my Mac to a bunch of Linux hosts, but I can't figure out how to make everything "line up". I've successfully used distcc from Mac to Mac, so I have a general ...
xaxxon's user avatar
  • 19.7k
19 votes
6 answers
73k views

CMAKE_C_COMPILER is not a full path to an existing compiler tool

I recently explored distcc and couldn't make it work. So I sudo apt-get remove distcc After that, I get the error ==> Processing catkin package: 'gencpp' ==> Building with env: '/opt/ros/...
Ryan Lee's user avatar
  • 401
0 votes
1 answer
223 views

Distributed Build Icecream failed Resource temporarily unavailable

We are using icecream github: distributed build (like distcc) for compiling our c++ code among several machines. However, we frequently encounter exceptions: ICECC[16186] 18:57:54: write of source ...
user avatar
0 votes
2 answers
2k views

Distcc .distcc/zeroconf/hosts contained no hosts

I am getting an error from distcc. I am using the package from the repos. Here is my configuration $ cat /etc/default/distcc | grep -v \# STARTDISTCC="true" ALLOWEDNETS="127.0.0.0/16 10.0.0.0/8" ...
user avatar
1 vote
2 answers
2k views

Cross-compiling on windows with cygwin, distcc and cmake

I want my Jenkins installation (on Windows) to utilise slave machines with distcc to reduce compile time. I am using Cygwin on the slaves to run distcc, but I am having problems during the ...
ichiwahato's user avatar
2 votes
1 answer
1k views

Disabling certain warnings in distcc

I'm using plain distcc (without pump mode) to compile my code, and for each file that is distributed to the host, the following message is printed: distcc[11543] (dcc_talk_to_include_server) Warning: ...
Nancy Lee's user avatar
0 votes
1 answer
577 views

How to check which components are compiled by which server when using distcc

I've got a distccd daemon running on two servers. One (call it A, .12) serves as the master, while the other (call it B, .11) serves as a slave: Settings on A: vim ~/.distcc/hosts # contents of ~/...
Nancy Lee's user avatar
1 vote
0 answers
264 views

distcc pump mode fails to compile with armv6-none-linux-androideabi

I'm on two OS X machines, and I'm trying to build an app for Android, using distcc pump mode. I already got distcc to work on non-pump mode, and everything's fine. I have two machines that are ...
Joao Pincho's user avatar
1 vote
2 answers
2k views

debugging distcc: no job seems to run on slave

First, my ultimate goal is to cross compile OpenCV for arm so I have tried 2 approaches, but no success so far. This question is related to using distcc for compiling, using the target to run the ...
MrE's user avatar
  • 20.6k
1 vote
1 answer
1k views

CRITICAL! Failed to get host list

DistCC is apparently failing to connect to hosts. $ distcc --show-hosts distcc[32060] (dcc_parse_hosts) Warning: /home/amacdonald/.distcc/zeroconf/hosts contained no hosts; can't distribute work ...
user avatar
0 votes
1 answer
417 views

effect of network on distributed build aka distcc

I'll be using Incredibuild or Electric-Cloud, both are similar to what distcc does. CONFIG two PCs inside my company (so no slowdown due to firewall issue) both on the same (really) expensive ...
Bob's user avatar
  • 4,910
5 votes
2 answers
4k views

Is there any way to make Xcode 7.3 and above support distributed build among multi Mac devices?

I'm in an iOS development team with about 10 mates. All of us are using the Mac devices in a 1Gbps lan so I'm wondering is there anyway we can distributed build the project: When someone starts to ...
jayatubi's user avatar
  • 2,182
0 votes
1 answer
252 views

gdb can't find any source after compile through distcc

I'm using several freebsd machines, and all of them are in same version, 10.3-RELEASE i386. And installed distcc every machine through ports, /usr/ports/devel/distcc/. I think the distcc version is ...
Kim.K's user avatar
  • 1
7 votes
2 answers
5k views

How to fix distcc error

I'm trying to get distcc working between two machines CLIENT and SERVER I "think" I have it setup right but I am still getting this error (dcc_build_somewhere) Warning: failed to distribute, ...
Roge's user avatar
  • 3,492
4 votes
1 answer
2k views

How can I somewhat securely run distccd on a docker image in the cloud?

I'm compiling things on a raspberry pi and it's not going fast enough, even when I use my desktop's CPU to help. I could just install distcc the old fashioned way on a cloud server, but what if ...
tladuke's user avatar
  • 1,367
2 votes
1 answer
624 views

Distcc with C++ undefined reference

I having trouble configuring distcc to compile C++ files. I did a standard small "Hello, World" program in C++ and am trying to get distcc to compile it locally (before I get fancy with a larger ...
aaa's user avatar
  • 23
3 votes
1 answer
973 views

Distcc does not find servers

I'm sorry that the title is not really telling much, but so far, I can't be more specific... I have two Ubuntu 14.04 computers in a network (server (who should do the compiling is at 10.8.1.52) and ...
FooTheBar's user avatar
  • 860
8 votes
0 answers
1k views

Can precompiled headers be made to work with distcc?

I have a large project for which I've implemented precompiled headers. I'd also like to be able to get it to work with distcc. According to section 4.12 in the google code paper here gcc version 3.3 ...
TooTone's user avatar
  • 8,014
4 votes
0 answers
875 views

Speed up compilation time with a multicore machine [closed]

I manage a build server for an open source project and it often needs to rebuild huge libraries that take at least 30 minutes to build on a 8-logical-core i7 Intel processor, maxing at several hours. ...
Vanilla Gorilla's user avatar
1 vote
0 answers
149 views

distcc failed to write: Transport endpoint is not connected

When I use distcc, it fail with message below: dcc_writex warning: failed to write: Transport endpoint is not connected This is not happend at every time, does anybody has idea on this?
user2735005's user avatar
1 vote
0 answers
748 views

Bundler install with cflags / distcc for a Rails 4 appllication

I am setting up a Rails 4 application on a Raspberry Pi. In order to speed up the installation of gems when I run bundle install I set up a distcc server (with the ARM cross compiler) on my Linux ...
Axiombadger's user avatar
0 votes
2 answers
3k views

how to start distcc in pump mode

I have tried to start distcc in pump mode, but due to unknown reason it is not able to distributed the pre-processing task. So I have uninstalled every thing related to distcc and want to redo ...
user avatar
1 vote
2 answers
912 views

compiling kernel to create debian package using distcc

I have used distcc for distributed compilation of several packages using "make -j8 CC=distcc" command. It is working fine. But for creating debian package by compiling kernel source, we use "make-kpkg"...
user avatar
8 votes
2 answers
6k views

DistCC and CMake - select between local and distributed build when running make

My project is build using CMake and is compiled with DistCC + GCC. I configure the compiler as follows: SET(CMAKE_C_COMPILER "distcc variation-of-gcc") To build the project, I simply run 'cmake' ...
oferlivny's user avatar
  • 300
4 votes
3 answers
1k views

distcc issue: does it really speeds up compilation?

I installed distcc and Cmake for a small C++ project. I have two machines: so there is one client where compilation is done locally, and one server, where the compilation is done 'remotely'. I have ...
Carmellose's user avatar
  • 5,050
1 vote
1 answer
384 views

Including <atomic> breaks GCC's conversion-null diagnostic, and distcc fixes it. (Minimal examples included)

This question actually consists of two observations. First: The inclusion of <atomic> makes GCC not emit the conversion-null diagnostic in at least some cases where it otherwise does. For ...
Tom's user avatar
  • 433
2 votes
2 answers
764 views

Compiling gnuradio on Raspberry pi using distcc

I want to compile gnuradio on Raspberry Pi with a fresh copy of Raspbian wheezy. I have a setup of distcc with an i7 to offload the work from RPi. It works well with a simple test file when I use $...
user3278598's user avatar
1 vote
1 answer
738 views

Reproducible checksum .so file on different machine

i'm trying to generate a shared library with the same checksum on two different machines (source code, Linux OS, gcc, cmake, ccache, g++ have same version. Only hardware change). I tried -frandom-...
user3241311's user avatar
1 vote
1 answer
1k views

How to let distcc use the specified compiler

I have two gcc versions installed on my linux host, one is 4.8.1, another is 4.4.7. I want to use 4.8.1 while compile my code. After i set distcc, gcc -v will print the collect 4.8.1, but distcc -v ...
robin's user avatar
  • 81
2 votes
0 answers
724 views

How to run distcc pump include-server from within Scons

One of the features of distcc version 3 is pump mode which allows the slave servers to preprocess as well as compile code from the master. From the shell, this works great for me. My issue is that I ...
justinzane's user avatar
  • 1,927
5 votes
0 answers
1k views

qmake template app with pre_targetdeps

I have a QT project (c++) that has a library that needs to be built before the app starts because of dependencies. My qmake file does the following: TEMPLATE = MyApp QMAKE_EXTRA_TARGETS += ...
user2055935's user avatar
3 votes
2 answers
7k views

distcc like framework for Windows [closed]

We are running some heavy computations that can take a lot of time (even days). We have an architecture similar to that of a compiler (compiler + linker): many blocks of data that need to be computed ...
INS's user avatar
  • 10.7k