Subject: I'm having problems cross-building xsrc-current for amd64
To: NetBSD-current Users's Discussion List <current-users@netbsd.org>
From: Greg A. Woods <woods@planix.com>
List: current-users
Date: 06/06/2007 15:47:59
--pgp-sign-Multipart_Wed_Jun__6_15:47:59_2007-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

I'm having problems cross-building xsrc-current for netbsd-4 amd64,
building it from i386.

I have no problems with the same source tree building from i386 to i386.

I'm not even sure I understand the error message, especially not in the
context of the source line it's complaining about.

--- TMparse.go ---
#   compile  Xt/TMparse.go
/build/woods/once/netbsd-4-i386-amd64-tools/bin/x86_64--netbsd-gcc -O2 -g  =
-Werror -O2 -pipe -fno-strict-aliasing   -DXTHREADS -D_REENTRANT -DXUSE_MTS=
AFE_API  -DXNO_MTSAFE_PWDAPI -DUSE_POLL -DUSE_SNPRINTF -DLIBXT -I. -DCSRG_B=
ASED -DFUNCPROTO=3D15 -DNARROWPROTO -I/build/woods/once/netbsd-4-amd64-dest=
dir/usr/X11R6/include -D__AMD64__   -nostdinc -isystem /build/woods/once/ne=
tbsd-4-amd64-destdir/usr/include -c -DDEBUG    -g /usr/xsrc-current/xfree/x=
c/lib/Xt/TMparse.c -o TMparse.go
cc1: warnings being treated as errors
/usr/xsrc-current/xfree/xc/lib/Xt/TMparse.c:365: warning: overflow in impli=
cit constant conversion
*** [TMparse.go] Error code 1
1 error


There's a really old post on gcc@gcc.gnu.org suggesting that this is a
long-standing i386 to amd64 cross-compiling bug:


	http://gcc.gnu.org/ml/gcc/2001-10/msg01585.html

could what I'm seeing be the same or a similar bug?


--=20
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>

--pgp-sign-Multipart_Wed_Jun__6_15:47:59_2007-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: DgCsofRgl5DIXMRMVHu09dQdQTdwMPyy

iQA/AwUBRmcPb2Z9cbd4v/R/EQLBkwCglzBEIk8hu8HI36ErwXjRHUtsNtYAoMZG
oMlbjwWvWrC6YDbKl1L5xxIo
=AMLd
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Wed_Jun__6_15:47:59_2007-1--