Questions tagged [distcc]

A program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network

68 questions
1
vote
1 answer

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 the build. distcc currently fails with the…
Serge Rogatch
  • 13,865
  • 7
  • 86
  • 158
1
vote
2 answers

How to implement distcc using make & kubernetes?

I am trying to implement the distcc for my compilations using docker & kubernetes. How do I dynamically give IP Addresses of the containers?
1
vote
0 answers

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 triggered the cmake. Still getting the same error Any…
stackjohnny
  • 645
  • 3
  • 7
  • 22
1
vote
1 answer

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 https://github.com/ccache/ccache/issues/212 and…
whacky_bruce
  • 99
  • 1
  • 6
1
vote
2 answers

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 configuration i.e."./configure". The configuration does…
ichiwahato
  • 211
  • 1
  • 2
  • 15
1
vote
0 answers

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 completely identical, with the same executables on both…
Joao Pincho
  • 939
  • 2
  • 11
  • 26
1
vote
2 answers

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 make command but taking advantage of a beefy server…
MrE
  • 19,584
  • 12
  • 87
  • 105
1
vote
1 answer

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 distcc[32060] (dcc_zeroconf_add_hosts) CRITICAL!…
user3002273
1
vote
0 answers

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 desktop. What I cannot find is a way to pass either…
Axiombadger
  • 161
  • 10
1
vote
2 answers

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" command to build .deb file. With make-kpkg, i…
user2088082
1
vote
1 answer

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

This question actually consists of two observations. First: The inclusion of makes GCC not emit the conversion-null diagnostic in at least some cases where it otherwise does. For example, consider the file noerror.cpp: #include…
Tom
  • 433
  • 3
  • 9
1
vote
1 answer

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-seed=string flag but impossible to have the same…
1
vote
1 answer

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 will still print 4.4.7. So when i use pump make…
robin
  • 51
  • 7
0
votes
1 answer

Can I change gnu make parallelism factor on the fly?

I want to run my make with -j8 if I'm not using distcc, but -j40 if distcc is enabled. If I don't figure out whether or not I can use distcc until deep in the execution of the makefile, is there a way to change the -j factor at that late date? Or…
Frank Klotz
  • 590
  • 4
  • 8
0
votes
1 answer

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 the LLVM build system in isolation, but not…
Edd Barrett
  • 3,425
  • 2
  • 29
  • 48