Subject: recent commits to "make" break cross-compilation on Linux
To: None <current-users@netbsd.org>
From: Julian C. Dunn <lists@aquezada.com>
List: current-users
Date: 07/08/2004 12:34:30
Some recent commits to src/usr.bin/make have broken cross-compilation on 
Linux (Fedora Core 2). This is what I get now:

cc  -O -D_PATH_BSHELL="/bin/sh" -D_PATH_DEFSHELLDIR="/bin" -DHAVE_SETENV=1 
-DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c 
/n/repo/netbsd-current/src/tools/make/../../usr.bin/make/arch.c
In file included from /n/repo/netbsd-current/src/usr.bin/make/arch.c:144:
/n/repo/netbsd-current/src/usr.bin/make/make.h:103:20: missing binary 
operator before token "("

This is with the command

./build.sh -D /n/repo/netbsd-current/destdir \
            -O /n/repo/netbsd-current/obj \
            -m i386 \
            -U \
            -R /n/repo/netbsd-current/snap-2004-07-07-release \
            -T 
/n/repo/netbsd-current/obj/tooldir.Linux-2.6.6-1.435.2.3-i686 \
            -x
            -X /n/repo/netbsd-current/xsrc tools

The offending commit is this:

 	http://news.gw.com/netbsd.source.changes/163038

- Julian


[    Julian C. Dunn <jdunn@aquezada.com> * <julian@dreaming.org>      ]
[   WWW: www.aquezada.com/staff/julian/ * www.dreaming.org/~julian/   ]
[ PGP: 0xFDC205B9 - 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
[   "half a love is better than no love at all" - nerissa nields      ]