From owner-freebsd-ppc@FreeBSD.ORG Mon Aug 16 11:07:06 2010 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E3751065696 for ; Mon, 16 Aug 2010 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2C1AA8FC14 for ; Mon, 16 Aug 2010 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7GB7671058969 for ; Mon, 16 Aug 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7GB75pM058967 for freebsd-ppc@FreeBSD.org; Mon, 16 Aug 2010 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Aug 2010 11:07:05 GMT Message-Id: <201008161107.o7GB75pM058967@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2010 11:07:06 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/149009 ppc sysinstall(8) on powerpc fails to install manpages, so o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 10 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Aug 17 18:01:08 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21E13106567A; Tue, 17 Aug 2010 18:01:08 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id D8E398FC1C; Tue, 17 Aug 2010 18:01:07 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o7HI16AL023796; Tue, 17 Aug 2010 14:01:06 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o7HI16kG023771; Tue, 17 Aug 2010 18:01:06 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 17 Aug 2010 18:01:06 GMT Message-Id: <201008171801.o7HI16kG023771@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc64 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 18:01:08 -0000 TB --- 2010-08-17 17:55:45 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-08-17 17:55:45 - starting HEAD tinderbox run for powerpc/powerpc64 TB --- 2010-08-17 17:55:45 - mkdir /tinderbox/HEAD/powerpc/powerpc64 TB --- 2010-08-17 17:55:45 - cleaning the object tree TB --- 2010-08-17 17:55:45 - cvsupping the source tree TB --- 2010-08-17 17:55:45 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc64/supfile TB --- 2010-08-17 18:01:06 - building world TB --- 2010-08-17 18:01:06 - MAKEOBJDIRPREFIX=/obj TB --- 2010-08-17 18:01:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-08-17 18:01:06 - TARGET=powerpc64 TB --- 2010-08-17 18:01:06 - TARGET_ARCH=powerpc TB --- 2010-08-17 18:01:06 - TZ=UTC TB --- 2010-08-17 18:01:06 - __MAKE_CONF=/dev/null TB --- 2010-08-17 18:01:06 - cd /src TB --- 2010-08-17 18:01:06 - /usr/bin/make -B buildworld "/src/Makefile.inc1", line 139: Unknown target powerpc:powerpc64. *** Error code 1 Stop in /src. TB --- 2010-08-17 18:01:06 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-08-17 18:01:06 - ERROR: failed to build world TB --- 2010-08-17 18:01:06 - 12.50 user 39.09 system 321.75 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc64.full From owner-freebsd-ppc@FreeBSD.ORG Wed Aug 18 17:52:04 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB5351065672; Wed, 18 Aug 2010 17:52:04 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 68E528FC1F; Wed, 18 Aug 2010 17:52:04 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o7IHq3AN053155; Wed, 18 Aug 2010 13:52:03 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o7IHpXcB051998; Wed, 18 Aug 2010 17:51:33 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 18 Aug 2010 17:51:33 GMT Message-Id: <201008181751.o7IHpXcB051998@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8_1 tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2010 17:52:04 -0000 TB --- 2010-08-18 17:13:51 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-08-18 17:13:51 - starting RELENG_8_1 tinderbox run for powerpc/powerpc TB --- 2010-08-18 17:13:51 - cleaning the object tree TB --- 2010-08-18 17:14:31 - cvsupping the source tree TB --- 2010-08-18 17:14:31 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8_1/powerpc/powerpc/supfile TB --- 2010-08-18 17:50:48 - WARNING: /usr/bin/csup returned exit code 1 TB --- 2010-08-18 17:50:48 - ERROR: unable to cvsup the source tree TB --- 2010-08-18 17:50:48 - 1.03 user 26.21 system 2216.83 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8_1-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Aug 19 08:57:49 2010 Return-Path: Delivered-To: powerpc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E49391065673 for ; Thu, 19 Aug 2010 08:57:48 +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 9DBD68FC28 for ; Thu, 19 Aug 2010 08:57:48 +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 X-Mailman-Approved-At: Thu, 19 Aug 2010 11:15:57 +0000 Cc: powerpc64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 08:57:49 -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 From owner-freebsd-ppc@FreeBSD.ORG Thu Aug 19 16:23:01 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3101B1065670; Thu, 19 Aug 2010 16:23:01 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id E803F8FC16; Thu, 19 Aug 2010 16:23:00 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 6DB43582C5; Thu, 19 Aug 2010 11:02:08 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id 9BbJf2bveM5H; Thu, 19 Aug 2010 11:02:08 -0500 (CDT) Received: from wanderer.tachypleus.net (99-108-141-168.lightspeed.sntcca.sbcglobal.net [99.108.141.168]) by mail.icecube.wisc.edu (Postfix) with ESMTP id CF064582C4; Thu, 19 Aug 2010 11:02:07 -0500 (CDT) Message-ID: <4C6D557E.6080406@freebsd.org> Date: Thu, 19 Aug 2010 09:02:06 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100727 Thunderbird/3.0.6 MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> <86occzdmhg.fsf@ds4.des.no> In-Reply-To: <86occzdmhg.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: powerpc@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 16:23:01 -0000 On 08/19/10 01:40, Dag-Erling Smørgrav wrote: > 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 integer 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 integer of different size >> /src/sys/dev/ofw/ofw_standard.c:724: warning: cast from pointer to integer 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 integer 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 integer 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). > The problem is that until yesterday, you could not build a powerpc64 LINT, and so it was trying to build a PPC32 kernel with a 64-bit toolchain. An actual powerpc64 kernel does not include ofw_standard.c. This should be fixed now with r211483, so long as the LINT config is made with TARGET_ARCH set (and is not reused for 32 and 64-bit builds). There is a seat-belt mechanism I should add soon that will complain earlier about architecture mismatches like this. Thanks for your patience. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 20 09:42:49 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19B4A1065695 for ; Fri, 20 Aug 2010 09:42:49 +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 CF8308FC1A for ; Fri, 20 Aug 2010 09:42:48 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 5E7381FFC33; Fri, 20 Aug 2010 09:26:33 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 349588456E; Fri, 20 Aug 2010 11:26:33 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Nathan Whitehorn References: <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> <86occzdmhg.fsf@ds4.des.no> <4C6D557E.6080406@freebsd.org> Date: Fri, 20 Aug 2010 11:26:33 +0200 In-Reply-To: <4C6D557E.6080406@freebsd.org> (Nathan Whitehorn's message of "Thu, 19 Aug 2010 09:02:06 -0700") Message-ID: <86sk29ws6u.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: powerpc@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 09:42:49 -0000 Nathan Whitehorn writes: > The problem is that until yesterday, you could not build a powerpc64 > LINT, and so it was trying to build a PPC32 kernel with a 64-bit > toolchain. An actual powerpc64 kernel does not include > ofw_standard.c. This should be fixed now with r211483, so long as the > LINT config is made with TARGET_ARCH set (and is not reused for 32 and > 64-bit builds). There is a seat-belt mechanism I should add soon that > will complain earlier about architecture mismatches like this. Thanks > for your patience. >>> stage 3.2: building everything [...] /src/sys/powerpc/fpu/fpu_emu.c: In function 'fpu_execute': /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsi= gned int', but argument 3 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsi= gned int', but argument 5 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsi= gned int', but argument 3 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsi= gned int', but argument 5 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsi= gned int', but argument 3 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsi= gned int', but argument 4 has type 'vm_offset_t' /src/sys/powerpc/fpu/fpu_emu.c:778: warning: format '%x' expects type 'unsi= gned int', but argument 3 has type 'register_t' *** Error code 1 Stop in /obj/powerpc.powerpc64/src/sys/LINT. :) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 20 14:25:52 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1698D1065697; Fri, 20 Aug 2010 14:25:52 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id DB2618FC12; Fri, 20 Aug 2010 14:25:51 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L7G00100DB2SS00@smtpauth2.wiscmail.wisc.edu>; Fri, 20 Aug 2010 08:25:50 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.72.125]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L7G00CBEDB0LV40@smtpauth2.wiscmail.wisc.edu>; Fri, 20 Aug 2010 08:25:50 -0500 (CDT) Date: Fri, 20 Aug 2010 08:25:48 -0500 From: Nathan Whitehorn In-reply-to: <86sk29ws6u.fsf@ds4.des.no> To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= Message-id: <4C6E825C.5060509@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.72.125 X-Spam-PmxInfo: Server=avs-11, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.8.20.131215, SenderIP=76.210.72.125 References: <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> <86occzdmhg.fsf@ds4.des.no> <4C6D557E.6080406@freebsd.org> <86sk29ws6u.fsf@ds4.des.no> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100729 Thunderbird/3.0.6 Cc: powerpc@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 14:25:52 -0000 On 08/20/10 04:26, Dag-Erling Smørgrav wrote: > Nathan Whitehorn writes: > >> The problem is that until yesterday, you could not build a powerpc64 >> LINT, and so it was trying to build a PPC32 kernel with a 64-bit >> toolchain. An actual powerpc64 kernel does not include >> ofw_standard.c. This should be fixed now with r211483, so long as the >> LINT config is made with TARGET_ARCH set (and is not reused for 32 and >> 64-bit builds). There is a seat-belt mechanism I should add soon that >> will complain earlier about architecture mismatches like this. Thanks >> for your patience. >> > >>>> stage 3.2: building everything >>>> > [...] > /src/sys/powerpc/fpu/fpu_emu.c: In function 'fpu_execute': > /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' > /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int' > /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' > /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int' > /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' > /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'vm_offset_t' > /src/sys/powerpc/fpu/fpu_emu.c:778: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'register_t' > *** Error code 1 > > Stop in /obj/powerpc.powerpc64/src/sys/LINT. > OK, that one is fixed now too. :) Next up: tinderbox needs to build GENERIC64, not GENERIC, on powerpc64. make buildkernel is programmed to do the right thing is you don't pass a KERNCONF, but tinderbox apparently passes GENERIC explicitly. This one's in your court! -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 20 19:20:35 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 462541065670; Fri, 20 Aug 2010 19:20:35 +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 055298FC1A; Fri, 20 Aug 2010 19:20:33 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id EE7551FFC38; Fri, 20 Aug 2010 19:20:32 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id C7BE78456E; Fri, 20 Aug 2010 21:20:32 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Nathan Whitehorn References: <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> <86occzdmhg.fsf@ds4.des.no> <4C6D557E.6080406@freebsd.org> <86sk29ws6u.fsf@ds4.des.no> <4C6E825C.5060509@freebsd.org> Date: Fri, 20 Aug 2010 21:20:32 +0200 In-Reply-To: <4C6E825C.5060509@freebsd.org> (Nathan Whitehorn's message of "Fri, 20 Aug 2010 08:25:48 -0500") Message-ID: <86fwy9f5vj.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: powerpc@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 19:20:35 -0000 Nathan Whitehorn writes: > Next up: tinderbox needs to build GENERIC64, not GENERIC, on > powerpc64. make buildkernel is programmed to do the right thing is you > don't pass a KERNCONF, but tinderbox apparently passes GENERIC > explicitly. This one's in your court! There is no way to fix this with the current tinderbox code. MHO is that the entire powerpc64 thing is very poorly thought out. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 20 22:56:23 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03D1A10656AB; Fri, 20 Aug 2010 22:56:23 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id C7A5E8FC19; Fri, 20 Aug 2010 22:56:22 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L7H00L003PYFM00@smtpauth2.wiscmail.wisc.edu>; Fri, 20 Aug 2010 17:56:22 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.72.125]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L7H00DMN3PWST20@smtpauth2.wiscmail.wisc.edu>; Fri, 20 Aug 2010 17:56:21 -0500 (CDT) Date: Fri, 20 Aug 2010 17:56:19 -0500 From: Nathan Whitehorn In-reply-to: <86fwy9f5vj.fsf@ds4.des.no> To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= Message-id: <4C6F0813.9030007@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.72.125 X-Spam-PmxInfo: Server=avs-12, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.8.20.224815, SenderIP=76.210.72.125 References: <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> <86occzdmhg.fsf@ds4.des.no> <4C6D557E.6080406@freebsd.org> <86sk29ws6u.fsf@ds4.des.no> <4C6E825C.5060509@freebsd.org> <86fwy9f5vj.fsf@ds4.des.no> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100729 Thunderbird/3.0.6 Cc: powerpc@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 22:56:23 -0000 On 08/20/10 14:20, Dag-Erling Smørgrav wrote: > Nathan Whitehorn writes: > >> Next up: tinderbox needs to build GENERIC64, not GENERIC, on >> powerpc64. make buildkernel is programmed to do the right thing is you >> don't pass a KERNCONF, but tinderbox apparently passes GENERIC >> explicitly. This one's in your court! >> > There is no way to fix this with the current tinderbox code. > > MHO is that the entire powerpc64 thing is very poorly thought out. > I'm the first to admit that many of the config tricks involved in this port, and GENERIC64, are ugly hacks, largely because config(8) was not designed with such things in mind. But the alternatives were much worse: - A sys/powerpc64 that duplicated most of sys/powerpc, which would have been a maintenance nightmare (see sun4v). - A sys/powerpc64 that was mostly symlinks and stub includes, which is inelegant at best, and could cause kinds of fascinating problems for user programs including things in machine/. - Bunches of new make variables like TARGET_BIG_ENDIAN and TARGET_64BIT and such like mips and arm have, which is way more awful, as well as precluding tinderbox and make universe coverage in a reasonable way. powerpc64 is the first architecture trying out this new multi-architecture MACHINE approach, which Warner designed to kill off things like TARGET_BIG_ENDIAN, so there are going to be some interesting rough patches along the way, and I really appreciate your patience in sorting them out. To address the immediate problem, I think the best solution is to use the -m option to config to reject kernel configs for different architectures, the way the tinderbox scripts currently skip kernel configs that they are asked to build that don't exist. If you think this is a reasonable approach, I'm happy to code up a patch to tinderbox to do this over the weekend. You can feel free to disconnect powerpc64 from tinderbox in the interim. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 21 21:54:11 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86DE610656A5; Sat, 21 Aug 2010 21:54:11 +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 450D58FC16; Sat, 21 Aug 2010 21:54:10 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 96AA11FFC34; Sat, 21 Aug 2010 21:54:09 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 498BD8454D; Sat, 21 Aug 2010 23:54:09 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Nathan Whitehorn References: <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> <86occzdmhg.fsf@ds4.des.no> <4C6D557E.6080406@freebsd.org> <86sk29ws6u.fsf@ds4.des.no> <4C6E825C.5060509@freebsd.org> <86fwy9f5vj.fsf@ds4.des.no> <4C6F0813.9030007@freebsd.org> Date: Sat, 21 Aug 2010 23:54:08 +0200 In-Reply-To: <4C6F0813.9030007@freebsd.org> (Nathan Whitehorn's message of "Fri, 20 Aug 2010 17:56:19 -0500") Message-ID: <86aaofpr7j.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: powerpc@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2010 21:54:11 -0000 Nathan Whitehorn writes: > I'm the first to admit that many of the config tricks involved in this > port, and GENERIC64, are ugly hacks, largely because config(8) was not > designed with such things in mind. It's not just "config tricks and ugly hacks", it also violates the assumption that target names are unique. > To address the immediate problem, I think the best solution is to use > the -m option to config to reject kernel configs for different > architectures, I'm not sure I understand what you mean (or rather, how it would help the tinderbox). What *would* help would be an easy way to determine, *before* trying to build it, whether a specific kernel config is appropriate for a specific target. Can you think of an easier way to do this than to scan the config for the "machine" line? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 21 22:01:57 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4D32106567A; Sat, 21 Aug 2010 22:01:57 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id A58E38FC0A; Sat, 21 Aug 2010 22:01:57 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 87734582C9; Sat, 21 Aug 2010 17:01:56 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id 9PtLQtbwBQDu; Sat, 21 Aug 2010 17:01:56 -0500 (CDT) Received: from wanderer.tachypleus.net (adsl-76-208-70-144.dsl.mdsnwi.sbcglobal.net [76.208.70.144]) by mail.icecube.wisc.edu (Postfix) with ESMTP id CEB79582C5; Sat, 21 Aug 2010 17:01:55 -0500 (CDT) Message-ID: <4C704CD2.9040604@freebsd.org> Date: Sat, 21 Aug 2010 17:01:54 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100727 Thunderbird/3.0.6 MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> <86occzdmhg.fsf@ds4.des.no> <4C6D557E.6080406@freebsd.org> <86sk29ws6u.fsf@ds4.des.no> <4C6E825C.5060509@freebsd.org> <86fwy9f5vj.fsf@ds4.des.no> <4C6F0813.9030007@freebsd.org> <86aaofpr7j.fsf@ds4.des.no> In-Reply-To: <86aaofpr7j.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: powerpc@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2010 22:01:58 -0000 On 08/21/10 16:54, Dag-Erling Smørgrav wrote: > Nathan Whitehorn writes: > >> I'm the first to admit that many of the config tricks involved in this >> port, and GENERIC64, are ugly hacks, largely because config(8) was not >> designed with such things in mind. >> > It's not just "config tricks and ugly hacks", it also violates the > assumption that target names are unique. > This was discussed on arch several months ago. Breaking that assumption seems much better, in the long term, than any of the alternatives in order to accomodate mips[64][el|eb], arm[eb], powerpc[64], and any other similar situations we may run into in the future. Sharing an include/machine directory, which is a side effect, also means that things like cc -m32 work out of the box. >> To address the immediate problem, I think the best solution is to use >> the -m option to config to reject kernel configs for different >> architectures, >> > I'm not sure I understand what you mean (or rather, how it would help > the tinderbox). What *would* help would be an easy way to determine, > *before* trying to build it, whether a specific kernel config is > appropriate for a specific target. Can you think of an easier way to do > this than to scan the config for the "machine" line? > That's exactly what I proposed. You use config, before trying the build, to look up the machine specification for the config file. I sent you a 5 line patch to tinderbox.pl that does this by private email. Other alternatives would be having sys/$MACHINE/conf.$MACHINE_ARCH directories or something, but that invites far more breakage. -Nathan