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

Alexander Skwar listen at alexander.skwar.name
Thu Jul 29 08:14:56 GMT 2004


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'
distcc[30882] ERROR: compile on dewup-ww02.dewup.europe.delphiauto.net/4 failed
configure:2829: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2843: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
gcc on the Gentoo client is gcc (GCC) 3.3.3 20040412 (Gentoo Linux
3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) and on the RH host, it is 3.3.4.

In this case, I tried to compile openoffice (openoffice-ximian-1.1.60,
to be exact), but I also got this error in other programs (I remember
xine-lib right now).

BUT: This does NOT happen all the time. Just sometimes.

Any ideas about what I need to fix?

Thanks,

Alexander Skwar
-- 
panic("aha1740.c"); /* Goodbye */
	2.2.16 /usr/src/linux/drivers/scsi/aha1740.c
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯



More information about the distcc mailing list