[distcc] 0 length files

Martin Pool mbp at samba.org
Thu Apr 3 02:40:14 GMT 2003

On  2 Apr 2003, Dara Hazeghi <dhazeghi at yahoo.com> wrote:

> I'm trying to build mozilla (on MacOS X) with a
> combination of my wrapper scripts and. Anyhow, I'm
> having problems because there are a couple of files in
> mozilla which compile to zero length .s files.

Heh, I'd always wondered if that could happen.

How do you get zero-length .s files, though?  With gcc even compiling
an empty C file produces a little header like this in the output:

	.file	"server_0000031907.i"
	.version	"01.01"
	.ident	"GCC: (GNU) 2.95.4 20011002 (Debian prerelease)"

> As a result, distcc doesn't return the (empty) file, and the build
> fails. Now this wouldn't be an issue, if I didn't have to use -S,
> since zero-length .s files result in nonzero-length .o files, but
> for reasons elaborated earlier, I lack the necessary
> cross-assembler. Any suggestions? Thanks,

I guess distcc could/should be fixed to distinguish empty from


More information about the distcc mailing list