A program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network
Questions tagged [distcc]
68 questions
0
votes
1 answer
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, some of the hosts in the distcc pool are not available, and…

Steve Lorimer
- 27,059
- 17
- 118
- 213
0
votes
0 answers
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…

xiaojueguan
- 870
- 10
- 19
0
votes
0 answers
pump mode with Red Hat Developer Toolset
I have a very big project, I managed to use distcc with the non-pump method.
I use red hat servers but I have to use
source scl_source enable devtoolset-7
In order to use a more recent version of g++ and build the project.
Is there any specific…
0
votes
0 answers
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
- 101
- 1
- 9
0
votes
0 answers
How to prevent distcc blocking remote jobs from firing if putting a limit on localhost jobs?
I am attempting to use distcc to setup a distributed build. I am willing to use resources on "localhost" however only up to 32 threads. So I essentially have:
DISTCC_HOSTS="localhost/32 remotehost/32,lzo"
Using distcc monitor, I notice that this…

Chuu
- 4,301
- 2
- 28
- 54
0
votes
0 answers
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.26"
distcc[20890] (dcc_check_backoff) still in backoff period…

TroubleTruffle
- 39
- 2
0
votes
1 answer
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. which i have…

anish anil
- 2,299
- 7
- 21
- 41
0
votes
1 answer
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 system like so:
cmake…

DomTomCat
- 8,189
- 1
- 49
- 64
0
votes
1 answer
Is it possible to use distccmon-text to see which distcc hosts are up and ready to work?
When I run distccmon-text 1 it creates a new empty line one time per second even though I (should) have one distcc daemon up and running.
Is it possible to list the host nodes in my ~/.distcc/hosts which are up and running, ready to work?

Deleted
- 4,067
- 6
- 33
- 51
0
votes
3 answers
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 I am particularly interested in Makefiles, I…

Berthin
- 189
- 2
- 12
0
votes
1 answer
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 machines which are compiling are going down because…

konio00
- 13
- 5
0
votes
1 answer
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 "keil ccache" or "cross-compile ccache", but…

Russ Schultz
- 2,545
- 20
- 22
0
votes
1 answer
Installation of distcc 3.1 on Sun Solaris
I am trying to install distcc 3.1 on one of the Sun Solaris platform.
After extracting the files to a folder I run configure (script which basically checks the required configuration).
This script throws out the following error
make: Fatal error…

Lokesh
- 47
- 1
- 6
0
votes
1 answer
How do I compile a crosscompiler targeting Linux x64 on a Windows host?
I am planning on harvesting my gaming HTPCs spare cycles for compiling my software using distcc, but I will need to set up a cross compiler. The problem is that Google is sadly lacking in relevant information.

Hayes Williams
- 23
- 5
0
votes
0 answers
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 function dcc_compress_file_lzo1x in compress.c. It…

JakubWalecki
- 19
- 6