Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

distcc on multi cluster, obsd and freebsd

8 views
Skip to first unread message

jkv

unread,
May 13, 2003, 1:25:20 PM5/13/03
to
Hi...

Im having some trouble compiling with distcc, distccd is up and running on
my obsd 3.2 server and my laptop freebsd 4.8...

When i try to compile distcc-2.2(just a example)gcc exits with following
error:

--SNIP--
In file included from src/safeguard.c:27:
/usr/include/unistd.h:99: warning: `__printf0__' is an unrecognized format
function type
In file included from popt/system.h:29,
from popt/findme.c:9:
/usr/include/unistd.h:99: warning: `__printf0__' is an unrecognized format
function type
distcc -g -O2 -W -Wall -W -Wimplicit -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Waggregate-return -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -o distcc src/climasq.o
src/clinet.o src/clirpc.o src/cpp.o src/distcc.o
src/hosts.o src/hostfile.o
src/implicit.o src/loadfile.o src/ssh.o src/strip.o
src/where.o src/trace.o src/util.o src/io.o src/exec.o src/arg.o
src/rpc.o src/tempfile.o src/bulk.o src/help.o src/filename.o src/lock.o
src/ncpus.o src/sendfile.o
src/safeguard.o src/snprintf.o src/timeval.o
src/climasq.o: file not recognized: File format not recognized
*** Error code 1
1 error
--SNIP--

If i remove the the obsd distccd server and only run on the distccd
running on the laptop, it compile without trouble....

Anyone?


--
ipwitch
publickey: http://unixcluster.dk/public.asc

bsdbeast

unread,
May 13, 2003, 2:34:40 PM5/13/03
to
On Tue, 13 May 2003 19:25:20 +0200, jkv <ipw...@unixcluster.dk> wrote:

> If i remove the the obsd distccd server and only run on the distccd
> running on the laptop, it compile without trouble....

Sounds like a compiler issue, have not used OpenBSD sise 97 and 98, but
back then the compiler has some wierd tweaks and I think they are still
using a.out, most importanly don't they use a completely outdated version
of gcc?

I'm not familiar with DistCC, but from guessing I would suggest that it is
the OpenBSD tweaks, the a.out format and incompatible versions of gcc that,
depending on what is exchanged, simply will not work together with such a
dissimilar system as FreeBSD.

Could be completely off though ;-)

/bsdbeast

Kris Kennaway

unread,
May 14, 2003, 7:00:20 PM5/14/03
to
In article <Pine.BSO.4.53.03...@bofh.unixcluster.dk>, jkv wrote:
> Hi...
>
> Im having some trouble compiling with distcc, distccd is up and running on
> my obsd 3.2 server and my laptop freebsd 4.8...
>
> When i try to compile distcc-2.2(just a example)gcc exits with following
> error:

openbsd uses a different compiler than FreeBSD. You can't
mix-and-match like this. FreeBSD uses a different major gcc version;
a different binary executable format; and includes some compiler
features that are not present in OpenBSD's compiler.

Kris

0 new messages