From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 08:40:13 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EAFC106564A; Thu, 19 Aug 2010 08:40:13 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id F099A8FC1B; Thu, 19 Aug 2010 08:40:12 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id CD9911FFC34; Thu, 19 Aug 2010 08:40:11 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id A800784559; Thu, 19 Aug 2010 10:40:11 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: FreeBSD Tinderbox References: <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> Date: Thu, 19 Aug 2010 10:40:11 +0200 In-Reply-To: <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> (FreeBSD Tinderbox's message of "Thu, 19 Aug 2010 03:04:32 GMT") Message-ID: <86occzdmhg.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: powerpc64@freebsd.org, current@freebsd.org, nwhitehorn@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 08:40:13 -0000 FreeBSD Tinderbox writes: >>>> Kernel build for LINT started on Thu Aug 19 02:51:08 UTC 2010 >>>> stage 1: configuring the kernel >>>> stage 2.1: cleaning up the object tree >>>> stage 2.2: rebuilding the object tree >>>> stage 2.3: build tools >>>> stage 3.1: making dependencies >>>> stage 3.2: building everything > [...] > /src/sys/dev/ofw/ofw_standard.c:705: warning: cast to pointer from intege= r of different size > /src/sys/dev/ofw/ofw_standard.c: In function 'ofw_std_release': > /src/sys/dev/ofw/ofw_standard.c:719: warning: cast from pointer to intege= r of different size > /src/sys/dev/ofw/ofw_standard.c:724: warning: cast from pointer to intege= r of different size > /src/sys/dev/ofw/ofw_standard.c: In function 'ofw_std_enter': > /src/sys/dev/ofw/ofw_standard.c:742: warning: cast from pointer to intege= r of different size > /src/sys/dev/ofw/ofw_standard.c: In function 'ofw_std_exit': > /src/sys/dev/ofw/ofw_standard.c:760: warning: cast from pointer to intege= r of different size > *** Error code 1 > > Stop in /obj/powerpc.powerpc64/src/sys/LINT. Line 705 in ofw_standard.c is return ((void *)args.baseaddr); args.baseaddr is a cell_t, which is defined in : typedef uint32_t cell_t; which I assume is correct for powerpc (32-bits), but probably not for powerpc64. Note that it is defined as uint64_t on sparc64 and sun4v, and in sys/boot as unsigned long int, which is the correct size on both 32-bit and 64-bit machines (assuming I32LP64). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no