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: 06/01/2007 17:00:06
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: Fri, 01 Jun 2007 12:56:37 -0400

 --pgp-sign-Multipart_Fri_Jun__1_12:56:36_2007-1
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 >  cc1: warnings being treated as errors
 >  /building/work/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc/hash.c: In functio=
 n 'objc_hash_add':
 >  /building/work/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc/hash.c:156: warnin=
 g: cast from pointer to integer of different size
 
 Index: gnu/dist/gcc4/libobjc/hash.c
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvs/master/m-NetBSD/main/src/gnu/dist/gcc4/libobjc/hash.c,v
 retrieving revision 1.1.1.1
 diff -u -r1.1.1.1 hash.c
 --- gnu/dist/gcc4/libobjc/hash.c	20 Apr 2006 09:55:10 -0000	1.1.1.1
 +++ gnu/dist/gcc4/libobjc/hash.c	1 Jun 2007 16:52:22 -0000
 @@ -153,8 +153,8 @@
  				   (*cachep)->hash_func,
  				   (*cachep)->compare_func);
 =20
 -    DEBUG_PRINTF ("Expanding cache %#x from %d to %d\n",
 -		  (int) *cachep, (*cachep)->size, new->size);
 +    DEBUG_PRINTF ("Expanding cache %p from %d to %d\n",
 +		  *cachep, (*cachep)->size, new->size);
 =20
      /* Copy the nodes from the first hash table to the new one.  */
      while ((node1 =3D objc_hash_next (*cachep, node1)))
 =20
 
 --=20
 						Greg A. Woods
 						Planix, Inc.
 
 <woods@planix.com>     +1 416 489-5852 x122     http://www.planix.com/
 
 --pgp-sign-Multipart_Fri_Jun__1_12:56:36_2007-1
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: PGPfreeware 5.0i for non-commercial use
 MessageID: t1hPiw/rB5wC5/3t6DXMP3UrOAm2cDMB
 
 iQA/AwUBRmBPxGZ9cbd4v/R/EQKigwCg8R2kgvXVTg6G7nOYFY1Xrtvd3IgAnRp0
 3kKDEaM1BRlEXr8Pi4+OyBr4
 =LWL4
 -----END PGP SIGNATURE-----
 
 --pgp-sign-Multipart_Fri_Jun__1_12:56:36_2007-1--