Subject: I'm having problems cross-building xsrc-current for amd64
To: NetBSD-current Users's Discussion List <>
From: Greg A. Woods <>
List: current-users
Date: 06/06/2007 15:47:59
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=
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 suggesting that this is a
long-standing i386 to amd64 cross-compiling bug:

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

						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: DgCsofRgl5DIXMRMVHu09dQdQTdwMPyy