Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Greg A. Woods <woods@planix.ca>
List: netbsd-bugs
Date: 05/31/2007 18:25:02
The following reply was made to PR toolchain/36409; it has been noted by GNATS.

From: "Greg A. Woods" <woods@planix.ca>
To: NetBSD GNATS <gnats-bugs@NetBSD.org>
Cc: NetBSD toolchain manager <toolchain-manager@netbsd.org>
Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
Date: Thu, 31 May 2007 14:21:03 -0400

 --pgp-sign-Multipart_Thu_May_31_14:21:02_2007-1
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 the next failure building netbsd-4 for sparc:
 
 #   compile  pnozz/pnozz_driver.go
 /build/woods/always/netbsd-4-i386-sparc-tools/bin/sparc--netbsdelf-gcc -O2 =
 -mcpu=3Dv8 -mtune=3Dsupersparc -g  -Werror -O2 -mcpu=3Dv8 -mtune=3Dsuperspa=
 rc -pipe -fno-strict-aliasing   -DSHAPE -DXKB -DLBX -DXAPPGROUP -DXCSECURIT=
 Y  -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV  -DPANORAMIX -DRENDER -=
 DRANDR -DGCCUSESGAS  -DAVOID_GLYPHBLT -DSINGLEDEPTH -DXvExtension  -DXFree8=
 6Server -DXvMCExtension -DSMART_SCHEDULE  -DBUILDDEBUG -DXResExtension -DND=
 EBUG -DXINPUT -DXFreeXDGA -DXF86VIDMODE -DX_BYTE_ORDER=3DX_BIG_ENDIAN -DXFr=
 ee86LOADER -DIN_MODULE -DXFree86Module  -fno-merge-constants -I/usr/xsrc-cu=
 rrent/xfree/xc/programs/Xserver/hw/xfree86/drivers/pnozz  -I/usr/xsrc-curre=
 nt/xfree/xc/programs/Xserver/hw/xfree86/common  -I/usr/xsrc-current/xfree/x=
 c/programs/Xserver/hw/xfree86/os-support  -I/usr/xsrc-current/xfree/xc/prog=
 rams/Xserver/hw/xfree86/xaa  -I/usr/xsrc-current/xfree/xc/programs/Xserver/=
 fb  -I/usr/xsrc-current/xfree/xc/programs/Xserver/mi  -I/usr/xsrc-current/x=
 free/xc/programs/Xserver/Xext  -I/usr/xsrc-current/xfree/xc/programs/Xserve=
 r/render  -I/usr/xsrc-current/xfree/xc/programs/Xserver/hw/xfree86/ramdac  =
 -I/usr/xsrc-current/xfree/xc/programs/Xserver/include  -I/usr/xsrc-current/=
 xfree/xc/include/fonts  -I/usr/xsrc-current/xfree/xc/include/extensions  -I=
 /build/woods/always/netbsd-4-sparc-ssv8-destdir/usr/X11R6/include/X11  -I/b=
 uild/woods/always/netbsd-4-i386-sparc-ssv8-obj/building/work/woods/m-NetBSD=
 -4/x11/Xserver/include -DCSRG_BASED -DFUNCPROTO=3D15 -DNARROWPROTO -I/build=
 /woods/always/netbsd-4-sparc-ssv8-destdir/usr/X11R6/include   -nostdinc -is=
 ystem /build/woods/always/netbsd-4-sparc-ssv8-destdir/usr/include -c -DDEBU=
 G    -g /usr/xsrc-current/xfree/xc/programs/Xserver/hw/xfree86/drivers/pnoz=
 z/pnozz_driver.c -o pnozz_driver.go
 /usr/xsrc-current/xfree/xc/programs/Xserver/hw/xfree86/drivers/pnozz/pnozz_=
 driver.c:48:1: error: "DEBUG" redefined
 <command line>:1:1: error: this is the location of the previous definition
 
 *** Failed target:  pnozz_driver.go
 *** Failed command: /build/woods/always/netbsd-4-i386-sparc-tools/bin/sparc=
 --netbsdelf-gcc -O2 -mcpu=3Dv8 -mtune=3Dsupersparc -g -Werror -O2 -mcpu=3Dv=
 8 -mtune=3Dsupersparc -pipe -fno-strict-aliasing -DSHAPE -DXKB -DLBX -DXAPP=
 GROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANOR=
 AMIX -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DSINGLEDEPTH -DXvExten=
 sion -DXFree86Server -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResEx=
 tension -DNDEBUG -DXINPUT -DXFreeXDGA -DXF86VIDMODE -DX_BYTE_ORDER=3DX_BIG_=
 ENDIAN -DXFree86LOADER -DIN_MODULE -DXFree86Module -fno-merge-constants -I/=
 usr/xsrc-current/xfree/xc/programs/Xserver/hw/xfree86/drivers/pnozz -I/usr/=
 xsrc-current/xfree/xc/programs/Xserver/hw/xfree86/common -I/usr/xsrc-curren=
 t/xfree/xc/programs/Xserver/hw/xfree86/os-support -I/usr/xsrc-current/xfree=
 /xc/programs/Xserver/hw/xfree86/xaa -I/usr/xsrc-current/xfree/xc/programs/X=
 server/fb -I/usr/xsrc-current/xfree/xc/programs/Xserver/mi -I/usr/xsrc-curr=
 ent/xfree/xc/programs/Xserver/Xext -I/usr/xsrc-current/xfree/xc/programs/Xs=
 erver/render -I/usr/xsrc-current/xfree/xc/programs/Xserver/hw/xfree86/ramda=
 c -I/usr/xsrc-current/xfree/xc/programs/Xserver/include -I/usr/xsrc-current=
 /xfree/xc/include/fonts -I/usr/xsrc-current/xfree/xc/include/extensions -I/=
 build/woods/always/netbsd-4-sparc-ssv8-destdir/usr/X11R6/include/X11 -I/bui=
 ld/woods/always/netbsd-4-i386-sparc-ssv8-obj/building/work/woods/m-NetBSD-4=
 /x11/Xserver/include -DCSRG_BASED -DFUNCPROTO=3D15 -DNARROWPROTO -I/build/w=
 oods/always/netbsd-4-sparc-ssv8-destdir/usr/X11R6/include -nostdinc -isyste=
 m /build/woods/always/netbsd-4-sparc-ssv8-destdir/usr/include -c -DDEBUG -g=
  /usr/xsrc-current/xfree/xc/programs/Xserver/hw/xfree86/drivers/pnozz/pnozz=
 _driver.c -o pnozz_driver.go
 *** Error code 1
 
 Stop.
 nbmake: stopped in /building/work/woods/m-NetBSD-4/x11/Xserver/hw/xfree86/d=
 rivers/pnozz
 
 *** Failed target:  dependall
 *** Failed command: cd /building/work/woods/m-NetBSD-4/x11/Xserver/hw/xfree=
 86/drivers/pnozz; /build/woods/always/netbsd-4-i386-sparc-tools/bin/nbmake =
 realall
 *** Error code 1
 
 Stop.
 nbmake: stopped in /building/work/woods/m-NetBSD-4/x11/Xserver/hw/xfree86/d=
 rivers/pnozz
 
 --=20
 						Greg A. Woods
 						Planix, Inc.
 
 <woods@planix.com>     +1 416 489-5852 x122     http://www.planix.com/
 
 --pgp-sign-Multipart_Thu_May_31_14:21:02_2007-1
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: PGPfreeware 5.0i for non-commercial use
 MessageID: IPJIe/oBDqCtrMR6cv3yMvuK3EXnTUHg
 
 iQA/AwUBRl8SD2Z9cbd4v/R/EQI00wCg5wOLRHMKOmvxU94SP+CilAj2Pk8AoOxG
 dvL6L+bT15343YMs5HlJd8Wk
 =+h6j
 -----END PGP SIGNATURE-----
 
 --pgp-sign-Multipart_Thu_May_31_14:21:02_2007-1--