Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 05/29/2007 20:20:02
The following reply was made to PR toolchain/36409; it has been noted by GNATS.

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, toolchain-manager@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
Date: Tue, 29 May 2007 16:18:30 -0400

 On May 29,  8:05pm, woods@planix.com ("Greg A. Woods") wrote:
 -- Subject: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
 
 | 	I cannot seem to cross-build netbsd-4 for amd64 on an i386 host
 | 	running either recent netbsd-3 or netbsd-4 code.
 | 
 | 	i386 (and I think sparc) builds for netbsd-4 work fine when
 | 	hosted on either netbsd-3 or netbsd-4 i386 hosts.
 | 
 | 	I'm trying sparc and alpha again right now....
 | 
 | >How-To-Repeat:
 | 
 | 	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-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow  -Werror -O2 -pipe   -DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__   -nostdinc -isystem /build/woods/always/netbsd-4-amd64-destdir/usr/include -c -DDEBUG    -g /building/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 'regdump':
 | /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
 
 This has been changed to %td in current which seems to be right. We should
 pull the changes up.
 
 christos