Subject: Re: compiling -current on amd64...
To: Kurt Schreiner <>
From: Andrew Reilly <>
List: current-users
Date: 06/26/2006 21:40:44
On Mon, Jun 26, 2006 at 11:42:01AM +0200, Kurt Schreiner wrote:
> ...failed (sources cvs updated an hour ago or so, starting from clean ...obj/ etc
> and using gcc4:

I've been getting the same fault today, cross-building
netbsd-i386 on a FreeBSD-amd64 system.  Thought it was my fault.

I've had a look at this and it's very odd.  I can get concat.c to
compile by running that command line with -E and then
back-editing the varargs parts by hand, but haven't figured out
an incantation to make it compile normally.  Seems that
__buildin_stdarg_start() (which va_start seems to expand to,
which VA_START() uses) is doing something terribly broken.  The
code itself looks fine.

*** Failed target:  concat.o
*** Failed command:
-6.1-RC-i386/bin/i386--netbsdelf-gcc -O2 -Werror -DHAVE_CONFIG_H
p/netbsd/src/gnu/dist/binutils/include -nostdinc -isystem
comp/netbsd/src/../obj/destdir.i386/usr/include -c
tbsd/src/gnu/dist/binutils/libiberty/concat.c -o concat.o
*** Error code 1

nbmake: stopped in