[distcc] __builtin_va_start error

Martin Pool mbp at sourcefrog.net
Fri Jan 9 01:38:09 GMT 2004


On 20 Dec 2003 Patrick Naubert <patrickn at tygerteam.com> wrote:

> I am using distcc to compile LFS, and running into an error at almost
> every package I try to compile.
> 
> This happens with setting DISTCC_HOSTS with anything else than
> "localhost".  The other machines are running the same gcc, glibc,and
> distcc versions as my localhost.

This is almost certainly caused by mismatched gcc versions.

> distcc  -o m4 m4.o builtin.o debug.o eval.o format.o freeze.o input.o
> macro.o ou
> tput.o path.o stackovf.o symtab.o ../lib/libm4.a 
> stackovf.o(.text+0x22d): In function `setup_stackovf_trap':
> : the `sigstack' function is dangerous.  `sigaltstack' should be used
> instead.
> builtin.o(.text+0x1bd5): In function `m4_maketemp':
> : the use of `mktemp' is dangerous, better use `mkstemp'
> debug.o(.text+0x3c7): In function `trace_format':
> : undefined reference to `__builtin_va_start'
> ../lib/libm4.a(error.o)(.text+0x26): In function `error':
> : undefined reference to `__builtin_va_start'
> collect2: ld returned 1 exit status
> distcc[400] ERROR: compile on localhost failed

Check that, when you use distccd's path, cc --version gives the same
number.

-- 
Martin 
                               linux.conf.au -- Adelaide, January 2004
-------------- 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/20040109/73620c97/attachment.bin


More information about the distcc mailing list