[distcc] local builds fails with -fPIC ?

Dag Wieers dag at wieers.com
Sun Feb 1 02:59:47 GMT 2004


Hi,

I'm having a strange problem. When no distcc-server is available and 
distcc decides to run a task locally, it fails.

	configure:5648: checking for i386-redhat-linux-gcc-3.3.2 option to produce PIC
	configure:5825: result: -fPIC
	configure:5833: checking if i386-redhat-linux-gcc-3.3.2 PIC flag -fPIC works
	configure:5854: i386-redhat-linux-gcc-3.3.2 -c -O2 -march=i386 -mcpu=i686  -fPIC -DPIC conftest.c >&5
	distcc[32203] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
	configure:5858: $? = 0
	configure:5866: result: no

For some reason configure thinks -fPIC is not supported although it works 
if a distcc-server is started. This causes some software to not work when 
build with distcc (but without distcc-servers). If build without distcc, 
it works (as -fPIC is supported).

What could be the cause ? I'm running the latest distcc.

--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]



More information about the distcc mailing list