Subject: Build failure: netbsd-4 amd64 built on i386, libcompat/regexp/regexp.c blowup
To: NetBSD-current Users's Discussion List <>
From: Greg A. Woods <>
List: current-users
Date: 05/27/2007 17:04:43
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

This is from a "build -m amd64 ..." running on a NetBSD/i386 3.1_RC4
host, and a netbsd-4 source tree updated from an rsync at ~2007/05/26-03:00

--- regexp.go ---
#   compile  libcompat/regexp.go
/build/woods/always/netbsd-4-i386-amd64-tools/bin/x86_64--netbsd-gcc -O2 -g=
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-c=
ompare -Wno-traditional -Wreturn-type -Wswitch -Wshadow  -Werror -O2 -pipe =
  -DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__   -nostdinc -isystem /b=
uild/woods/always/netbsd-4-amd64-destdir/usr/include -c -DDEBUG    -g /buil=
ding/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c -o regexp.go
cc1: warnings being treated as errors
/building/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c: In function =
/building/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c:1178: warning=
: format '%2d' expects type 'int', but argument 2 has type 'long int'
/building/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c:1183: warning=
: format '%d' expects type 'int', but argument 2 has type 'long int'
*** [regexp.go] Error code 1
1 error

nbmake: stopped in /building/work/woods/m-NetBSD-4/lib/libcompat

						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <>
Planix, Inc. <>       Secrets of the Weird <>

Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

Version: PGPfreeware 5.0i for non-commercial use
MessageID: ISVKFS+scNc2oMkPIh5kxcptqk8+N8YC