[distcc] ./configure fails: "cannot compute suffix of object files: cannot compile"

mbp at sourcefrog.net mbp at sourcefrog.net
Thu Jul 29 14:07:37 GMT 2004


On 29 Jul 2004, Alexander Skwar <listen at alexander.skwar.name> wrote:
> Good morning!
> 
> I'm having a problem with distcc-2.16 on a Gentoo client and
> distcc-2.16-1.1.el3.dag on a RHEL 3 server.
> 
> Sometimes when I (or Gentoos ebuild) runs ./configure, I'm
> getting error messages like this:
> 
> error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> 
> In config.log, I then see:
> 
> ______________________________________________________________________
> configure:2805: checking for suffix of object files
> configure:2826: gcc -c -march=pentium4 -O2 -pipe -fno-stack-protector -fno-strict-aliasing  conftest.c >&5
> distcc[30886] ERROR: compile on dewup-ww02.dewup.europe.delphiauto.net/4 failed
> cc1: error: unrecognized option `-fno-stack-protector'

This is because your Gentoo compiler supports this option and the
Redhat one does not.  You need to install the same compiler on both
machines, or rebuild Gentoo's compiler without the stack-protector patch.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20040729/a44b7cb1/attachment.bin


More information about the distcc mailing list