From owner-freebsd-ppc@FreeBSD.ORG Mon Aug 19 11:06:49 2013 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1E09CDA3 for ; Mon, 19 Aug 2013 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 01C192520 for ; Mon, 19 Aug 2013 11:06:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7JB6m5P006119 for ; Mon, 19 Aug 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7JB6mQZ006117 for freebsd-ppc@FreeBSD.org; Mon, 19 Aug 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Aug 2013 11:06:48 GMT Message-Id: <201308191106.r7JB6mQZ006117@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 Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 11:06:49 -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/180593 ppc PowerMac G5 shuts down when building pcre o power/178038 ppc clang++ fails to produce a binary in powerpc64 o power/175151 ppc Loader fails to load modules on PPC64 o power/170340 ppc Enabling geom-mirror on 9.1-powerpc64 prevents the sys o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) o power/161947 ppc multimedia/libdvdnav builds broken binaries on big end o power/161045 ppc X doesn't detect ADB mouse up event until another even 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/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 12 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Aug 20 19:52:39 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 59CF4560 for ; Tue, 20 Aug 2013 19:52:39 +0000 (UTC) (envelope-from jeclark2006@aim.com) Received: from omr-m08.mx.aol.com (omr-m08.mx.aol.com [64.12.222.129]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 253CE2821 for ; Tue, 20 Aug 2013 19:52:38 +0000 (UTC) Received: from mtaout-da02.r1000.mx.aol.com (mtaout-da02.r1000.mx.aol.com [172.29.51.130]) by omr-m08.mx.aol.com (Outbound Mail Relay) with ESMTP id 2A134700CA313; Tue, 20 Aug 2013 15:47:13 -0400 (EDT) Received: from [10.0.0.233] (wsip-68-105-252-106.sd.sd.cox.net [68.105.252.106]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-da02.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id DFCE4E0000F7; Tue, 20 Aug 2013 15:47:11 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: P1020wlan REV D DTS file? From: John Clark In-Reply-To: Date: Tue, 20 Aug 2013 12:47:10 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <833BA79A-E0CB-4B1E-93F6-E07CF08F6014@aim.com> References: <0E4E55FF-5FDC-40D5-844E-F93CB0969513@aim.com> To: Aleksander X-Mailer: Apple Mail (2.1508) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1377028032; bh=D35DkZQwd8HKgjMGjoNv0xCKXeZYl6YbUb4zB4A0WO4=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=lHuK+8ucyregjqHBQmEGl6eNp1WNhy85VuDOn71BeVfplmHjkx3XPCzZmr53SRsXT Sg83nqBQVv0GRrBqq4zfcCEiX8Re3omIiL1Sf1hJCSUsXGmilTCV6YbJxEIfixv3PQ YRLKPiykHbVJxEmOOySsr/yzw+i3iTnb35Tu2vUA= x-aol-sid: 3039ac1d33825213c7bf1707 X-AOL-IP: 68.105.252.106 Cc: "freebsd-ppc@FreeBSD.org" X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Aug 2013 19:52:39 -0000 On Jul 30, 2013, at 11:35 PM, Aleksander wrote: > Yes, you need to modify your dts in order to use existing tsec driver. = The attachment contains my patched p1020rdb.dts file. As you can see I = disabled first and second tsec and using only third. > The major change is putting mdio0 as a child of enet0. Please be = aware, that this code is not refactored - I just wanted it to work by = now:) Also, pcie might not work. >=20 > regards > aleek I was eventually able to get the tsec0 device up. However, it required a = 'mod' to the code which allowed the mdio registers at 24000 to be mapped = in to manage the phy. I don't know exactly why that was required. I moved on to the real time clock, thinking that it would be easy=85 for = some reason, when the second i2c bus was tested, the simplistic 'probe' = seem to indicate there was a second ds1339 and so, clobbered the first, and only, ds1339 instance. I hacked that to only have on = instance of an RTC. I've moved on to the PCIE interface, and while it seems to setup = registers, etc. when I run pciconf from the command line, now that NFS = mounting at boot works, I don't see any devices associated with the PCIE = interface. Do you have any comments on the PCIE interface and why even device = config info is not being listed via pciconf. Thanks, John Clark. From owner-freebsd-ppc@FreeBSD.ORG Thu Aug 22 09:09:22 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0833F813; Thu, 22 Aug 2013 09:09:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D24632B1D; Thu, 22 Aug 2013 09:09:21 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id r7M99LMX099482; Thu, 22 Aug 2013 09:09:21 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id r7M99LsS099481; Thu, 22 Aug 2013 09:09:21 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 22 Aug 2013 09:09:21 GMT Message-Id: <201308220909.r7M99LsS099481@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_9 tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 09:09:22 -0000 TB --- 2013-08-22 07:12:33 - tinderbox 2.10 running on freebsd-stable.sentex.ca TB --- 2013-08-22 07:12:33 - FreeBSD freebsd-stable.sentex.ca 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Oct 16 17:37:58 UTC 2012 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2013-08-22 07:12:33 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2013-08-22 07:12:33 - cleaning the object tree TB --- 2013-08-22 07:12:33 - /usr/local/bin/svn stat /src TB --- 2013-08-22 07:12:43 - At svn revision 254636 TB --- 2013-08-22 07:12:44 - building world TB --- 2013-08-22 07:12:44 - CROSS_BUILD_TESTING=YES TB --- 2013-08-22 07:12:44 - MAKEOBJDIRPREFIX=/obj TB --- 2013-08-22 07:12:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-08-22 07:12:44 - SRCCONF=/dev/null TB --- 2013-08-22 07:12:44 - TARGET=powerpc TB --- 2013-08-22 07:12:44 - TARGET_ARCH=powerpc TB --- 2013-08-22 07:12:44 - TZ=UTC TB --- 2013-08-22 07:12:44 - __MAKE_CONF=/dev/null TB --- 2013-08-22 07:12:44 - cd /src TB --- 2013-08-22 07:12:44 - /usr/bin/make -B buildworld >>> World build started on Thu Aug 22 07:12:46 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -DDES -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/bin/ed/undo.c cc -O2 -pipe -DDES -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o ed buf.o cbc.o glbl.o io.o main.o re.o sub.o undo.o -lcrypto gzip -cn /src/bin/ed/ed.1 > ed.1.gz ===> bin/expr (all) cc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c expr.c cc1: warnings being treated as errors expr.c:812: warning: redundant redeclaration of 'yyparse' /src/bin/expr/expr.y:77: warning: previous declaration of 'yyparse' was here *** Error code 1 Stop in /src/bin/expr. *** Error code 1 Stop in /src/bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-08-22 09:09:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-08-22 09:09:20 - ERROR: failed to build world TB --- 2013-08-22 09:09:20 - 6192.48 user 625.72 system 7007.18 real http://tinderbox.freebsd.org/tinderbox-freebsd9-build-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Aug 22 13:47:15 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8A62769C; Thu, 22 Aug 2013 13:47:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5FB522E1D; Thu, 22 Aug 2013 13:47:15 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id r7MDlE9p016357; Thu, 22 Aug 2013 13:47:14 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id r7MDlEqp016356; Thu, 22 Aug 2013 13:47:14 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 22 Aug 2013 13:47:14 GMT Message-Id: <201308221347.r7MDlEqp016356@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_9 tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 13:47:15 -0000 TB --- 2013-08-22 11:48:32 - tinderbox 2.10 running on freebsd-stable.sentex.ca TB --- 2013-08-22 11:48:32 - FreeBSD freebsd-stable.sentex.ca 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Oct 16 17:37:58 UTC 2012 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2013-08-22 11:48:32 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2013-08-22 11:48:32 - cleaning the object tree TB --- 2013-08-22 11:48:49 - /usr/local/bin/svn stat /src TB --- 2013-08-22 11:49:03 - At svn revision 254652 TB --- 2013-08-22 11:49:04 - building world TB --- 2013-08-22 11:49:04 - CROSS_BUILD_TESTING=YES TB --- 2013-08-22 11:49:04 - MAKEOBJDIRPREFIX=/obj TB --- 2013-08-22 11:49:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-08-22 11:49:04 - SRCCONF=/dev/null TB --- 2013-08-22 11:49:04 - TARGET=powerpc TB --- 2013-08-22 11:49:04 - TARGET_ARCH=powerpc TB --- 2013-08-22 11:49:04 - TZ=UTC TB --- 2013-08-22 11:49:04 - __MAKE_CONF=/dev/null TB --- 2013-08-22 11:49:04 - cd /src TB --- 2013-08-22 11:49:04 - /usr/bin/make -B buildworld >>> World build started on Thu Aug 22 11:49:05 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -DDES -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/bin/ed/undo.c cc -O2 -pipe -DDES -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o ed buf.o cbc.o glbl.o io.o main.o re.o sub.o undo.o -lcrypto gzip -cn /src/bin/ed/ed.1 > ed.1.gz ===> bin/expr (all) cc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c expr.c cc1: warnings being treated as errors expr.c:812: warning: redundant redeclaration of 'yyparse' /src/bin/expr/expr.y:77: warning: previous declaration of 'yyparse' was here *** Error code 1 Stop in /src/bin/expr. *** Error code 1 Stop in /src/bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-08-22 13:47:14 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-08-22 13:47:14 - ERROR: failed to build world TB --- 2013-08-22 13:47:14 - 6211.44 user 626.01 system 7122.00 real http://tinderbox.freebsd.org/tinderbox-freebsd9-build-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Aug 22 18:26:15 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02717746; Thu, 22 Aug 2013 18:26:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B62642308; Thu, 22 Aug 2013 18:26:14 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id r7MIQDTc032725; Thu, 22 Aug 2013 18:26:13 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id r7MIQDaN032724; Thu, 22 Aug 2013 18:26:13 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 22 Aug 2013 18:26:13 GMT Message-Id: <201308221826.r7MIQDaN032724@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_9 tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 18:26:15 -0000 TB --- 2013-08-22 16:27:48 - tinderbox 2.10 running on freebsd-stable.sentex.ca TB --- 2013-08-22 16:27:48 - FreeBSD freebsd-stable.sentex.ca 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Oct 16 17:37:58 UTC 2012 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2013-08-22 16:27:48 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2013-08-22 16:27:48 - cleaning the object tree TB --- 2013-08-22 16:28:04 - /usr/local/bin/svn stat /src TB --- 2013-08-22 16:28:24 - At svn revision 254656 TB --- 2013-08-22 16:28:25 - building world TB --- 2013-08-22 16:28:25 - CROSS_BUILD_TESTING=YES TB --- 2013-08-22 16:28:25 - MAKEOBJDIRPREFIX=/obj TB --- 2013-08-22 16:28:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-08-22 16:28:25 - SRCCONF=/dev/null TB --- 2013-08-22 16:28:25 - TARGET=powerpc TB --- 2013-08-22 16:28:25 - TARGET_ARCH=powerpc TB --- 2013-08-22 16:28:25 - TZ=UTC TB --- 2013-08-22 16:28:25 - __MAKE_CONF=/dev/null TB --- 2013-08-22 16:28:25 - cd /src TB --- 2013-08-22 16:28:25 - /usr/bin/make -B buildworld >>> World build started on Thu Aug 22 16:28:28 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -DDES -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/bin/ed/undo.c cc -O2 -pipe -DDES -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o ed buf.o cbc.o glbl.o io.o main.o re.o sub.o undo.o -lcrypto gzip -cn /src/bin/ed/ed.1 > ed.1.gz ===> bin/expr (all) cc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c expr.c cc1: warnings being treated as errors expr.c:812: warning: redundant redeclaration of 'yyparse' /src/bin/expr/expr.y:77: warning: previous declaration of 'yyparse' was here *** Error code 1 Stop in /src/bin/expr. *** Error code 1 Stop in /src/bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-08-22 18:26:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-08-22 18:26:13 - ERROR: failed to build world TB --- 2013-08-22 18:26:13 - 6203.45 user 628.39 system 7105.02 real http://tinderbox.freebsd.org/tinderbox-freebsd9-build-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Aug 22 23:07:48 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3E95026D; Thu, 22 Aug 2013 23:07:48 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0EB772CD8; Thu, 22 Aug 2013 23:07:47 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id r7MN7lCb049263; Thu, 22 Aug 2013 23:07:47 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id r7MN7lsk049262; Thu, 22 Aug 2013 23:07:47 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 22 Aug 2013 23:07:47 GMT Message-Id: <201308222307.r7MN7lsk049262@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_9 tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 23:07:48 -0000 TB --- 2013-08-22 21:07:25 - tinderbox 2.10 running on freebsd-stable.sentex.ca TB --- 2013-08-22 21:07:25 - FreeBSD freebsd-stable.sentex.ca 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Oct 16 17:37:58 UTC 2012 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2013-08-22 21:07:25 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2013-08-22 21:07:25 - cleaning the object tree TB --- 2013-08-22 21:07:47 - /usr/local/bin/svn stat /src TB --- 2013-08-22 21:07:59 - At svn revision 254668 TB --- 2013-08-22 21:08:00 - building world TB --- 2013-08-22 21:08:00 - CROSS_BUILD_TESTING=YES TB --- 2013-08-22 21:08:00 - MAKEOBJDIRPREFIX=/obj TB --- 2013-08-22 21:08:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-08-22 21:08:00 - SRCCONF=/dev/null TB --- 2013-08-22 21:08:00 - TARGET=powerpc TB --- 2013-08-22 21:08:00 - TARGET_ARCH=powerpc TB --- 2013-08-22 21:08:00 - TZ=UTC TB --- 2013-08-22 21:08:00 - __MAKE_CONF=/dev/null TB --- 2013-08-22 21:08:00 - cd /src TB --- 2013-08-22 21:08:00 - /usr/bin/make -B buildworld >>> World build started on Thu Aug 22 21:08:02 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -DDES -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/bin/ed/undo.c cc -O2 -pipe -DDES -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o ed buf.o cbc.o glbl.o io.o main.o re.o sub.o undo.o -lcrypto gzip -cn /src/bin/ed/ed.1 > ed.1.gz ===> bin/expr (all) cc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c expr.c cc1: warnings being treated as errors expr.c:812: warning: redundant redeclaration of 'yyparse' /src/bin/expr/expr.y:77: warning: previous declaration of 'yyparse' was here *** Error code 1 Stop in /src/bin/expr. *** Error code 1 Stop in /src/bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-08-22 23:07:47 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-08-22 23:07:47 - ERROR: failed to build world TB --- 2013-08-22 23:07:47 - 6239.66 user 628.00 system 7221.89 real http://tinderbox.freebsd.org/tinderbox-freebsd9-build-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 23 17:21:00 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9468C8E0; Fri, 23 Aug 2013 17:21:00 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy2.sentex.ca (freebsd-legacy2.sentex.ca [IPv6:2607:f3e0:0:3::6502:9c]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1375D258D; Fri, 23 Aug 2013 17:20:59 +0000 (UTC) Received: from freebsd-legacy2.sentex.ca (localhost [127.0.0.1]) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5) with ESMTP id r7NHKw0w019146; Fri, 23 Aug 2013 17:20:58 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5/Submit) id r7NHKwlm019142; Fri, 23 Aug 2013 17:20:58 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 23 Aug 2013 17:20:58 GMT Message-Id: <201308231720.r7NHKwlm019142@freebsd-legacy2.sentex.ca> X-Authentication-Warning: freebsd-legacy2.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_8 tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 17:21:00 -0000 TB --- 2013-08-23 16:30:22 - tinderbox 2.10 running on freebsd-legacy2.sentex.ca TB --- 2013-08-23 16:30:22 - FreeBSD freebsd-legacy2.sentex.ca 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-08-23 16:30:22 - starting RELENG_8 tinderbox run for powerpc/powerpc TB --- 2013-08-23 16:30:22 - cleaning the object tree TB --- 2013-08-23 16:30:22 - /usr/local/bin/svn stat /src TB --- 2013-08-23 16:30:24 - At svn revision 254716 TB --- 2013-08-23 16:30:25 - building world TB --- 2013-08-23 16:30:25 - CROSS_BUILD_TESTING=YES TB --- 2013-08-23 16:30:25 - MAKEOBJDIRPREFIX=/obj TB --- 2013-08-23 16:30:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-08-23 16:30:25 - SRCCONF=/dev/null TB --- 2013-08-23 16:30:25 - TARGET=powerpc TB --- 2013-08-23 16:30:25 - TARGET_ARCH=powerpc TB --- 2013-08-23 16:30:25 - TZ=UTC TB --- 2013-08-23 16:30:25 - __MAKE_CONF=/dev/null TB --- 2013-08-23 16:30:25 - cd /src TB --- 2013-08-23 16:30:25 - /usr/bin/make -B buildworld >>> World build started on Fri Aug 23 16:30:25 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri Aug 23 17:15:41 UTC 2013 TB --- 2013-08-23 17:15:41 - generating LINT kernel config TB --- 2013-08-23 17:15:41 - cd /src/sys/powerpc/conf TB --- 2013-08-23 17:15:41 - /usr/bin/make -B LINT TB --- 2013-08-23 17:15:41 - cd /src/sys/powerpc/conf TB --- 2013-08-23 17:15:41 - /usr/sbin/config -m LINT TB --- 2013-08-23 17:15:41 - building LINT kernel TB --- 2013-08-23 17:15:41 - CROSS_BUILD_TESTING=YES TB --- 2013-08-23 17:15:41 - MAKEOBJDIRPREFIX=/obj TB --- 2013-08-23 17:15:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-08-23 17:15:41 - SRCCONF=/dev/null TB --- 2013-08-23 17:15:41 - TARGET=powerpc TB --- 2013-08-23 17:15:41 - TARGET_ARCH=powerpc TB --- 2013-08-23 17:15:41 - TZ=UTC TB --- 2013-08-23 17:15:41 - __MAKE_CONF=/dev/null TB --- 2013-08-23 17:15:41 - cd /src TB --- 2013-08-23 17:15:41 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Aug 23 17:15:41 UTC 2013 >>> 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 [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/deadfs/dead_vnops.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/devfs/devfs_devs.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/devfs/devfs_rule.c cc1: warnings being treated as errors /src/sys/fs/devfs/devfs_rule.c: In function 'devfs_rule_matchpath': /src/sys/fs/devfs/devfs_rule.c:592: warning: implicit declaration of function 'devfs_fqpn' /src/sys/fs/devfs/devfs_rule.c:592: warning: nested extern declaration of 'devfs_fqpn' /src/sys/fs/devfs/devfs_rule.c:592: warning: assignment makes pointer from integer without a cast *** [devfs_rule.o] Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** [buildkernel] Error code 1 Stop in /src. *** [buildkernel] Error code 1 Stop in /src. TB --- 2013-08-23 17:20:58 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-08-23 17:20:58 - ERROR: failed to build LINT kernel TB --- 2013-08-23 17:20:58 - 2569.02 user 434.91 system 3036.83 real http://tinderbox.freebsd.org/tinderbox-freebsd8-build-RELENG_8-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 24 13:20:02 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E1064E70 for ; Sat, 24 Aug 2013 13:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BDBE22DFB for ; Sat, 24 Aug 2013 13:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7ODK2Pe078057 for ; Sat, 24 Aug 2013 13:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7ODK2Ip078056; Sat, 24 Aug 2013 13:20:02 GMT (envelope-from gnats) Resent-Date: Sat, 24 Aug 2013 13:20:02 GMT Resent-Message-Id: <201308241320.r7ODK2Ip078056@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Keve Nagy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 411ECCF0 for ; Sat, 24 Aug 2013 13:15:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E3982DE4 for ; Sat, 24 Aug 2013 13:15:17 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7ODFD3j093188 for ; Sat, 24 Aug 2013 13:15:13 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7ODFDvN093186; Sat, 24 Aug 2013 13:15:13 GMT (envelope-from nobody) Message-Id: <201308241315.r7ODFDvN093186@oldred.freebsd.org> Date: Sat, 24 Aug 2013 13:15:13 GMT From: Keve Nagy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: powerpc/181502: /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2013 13:20:02 -0000 >Number: 181502 >Category: powerpc >Synopsis: /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 24 13:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Keve Nagy >Release: FreeBSD 9.2-RC1/powerpc >Organization: N/A >Environment: FreeBSD g4mini.homeoffice.internal 9.2-RC1 FreeBSD 9.2-RC1 #0 r253912: Sat Aug 3 18:51:06 UTC 2013 root@snap.freebsd.org:/usr/obj/powerpc.powerpc/usr/src/sys/GENERIC powerpc >Description: I thought you might want to know that icu-50.1.2 does not build on FreeBSD-9.2-RC1/powerpc. I believe this is a PowerPC ONLY issue, as the same code appears to build fine on i386 and amd64. I attempted to build x11/gnome2-lite from the ports, which failed building icu as a dependency. I tracked the origin of the problem back to /usr/include/stdint.h, line 68. #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX) For reference, that line sits at the top of the block: /* GNU and Darwin define this and people seem to think it's portable */ #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX) #define __WORDSIZE 64 #else #define __WORDSIZE 32 #endif Compilation of icu stops with the error: /usr/include/stdint.h:68:68 error: missing binary operator before token "(" The particular source the compiler complains about looks perfectly correct. This is not a typo issue. I did some very basic testing to identify what is wrong. It looks that referring to the value of UINT64_MAX is what makes the compiler choke. At the time of compilation, both UINTPTR_MAX and UINT64_MAX appears to be in the "defined" state. A line of: #if defined(UINT64_MAX) or a line of: #ifndef UINT64_MAX does not trigger an error. Neither does reassigning the value of UINT64_MAX to another variable/macro, like: #define __KEVE UINT64_MAX However, testing against the value of UINT64_MAX #if (UINT64_MAX == 1) raises the above mentioned error. So does #if (UINT64_MAX != 2) and after assigning the value of UINT64_MAX to __KEVE as I showed above, testing against the value of __KEVE #if (__KEVE == 123) or #if (__KEVE != 6) also raises the same error. I believe that on i386 and amd64 the code compiles fine because that block of code is ignored, probably due to the fact of UINT64_MAX or UINTPTR_MAX not being defined, hence the evaluation stops before getting to the (UINTPTR_MAX == UINT64_MAX) portion at the end of the line. This is how deep my capabilities allowed me to go. Someone smarter needs to take this over to identify the real origin of the error and fix it. Until then, the workaround I used is to comment-out the troublesome block and simply define __WORDSIZE. In my particular case, as I was building on powerpc32 on a G4 Mac mini, I just added this line: #define __WORDSIZE 32 ***WORKAROUND*** /usr/include/stdint.h, lines 67-72 as comes with FreeBSD-9.2-RC2/powerpc: /* GNU and Darwin define this and people seem to think it's portable */ #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX) #define __WORDSIZE 64 #else #define __WORDSIZE 32 #endif /usr/include/stdint.h, lines 67-75 after workaround applied: /* GNU and Darwin define this and people seem to think it's portable */ /*** commented out as it does not build on powerpc G4 Mac mini *** #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX) #define __WORDSIZE 64 #else #define __WORDSIZE 32 #endif ***/ #define __WORDSIZE 32 *** For reference *** I was attempting to build x11/gnome2-lite on a G4 Mac mini with 512MB memory. >How-To-Repeat: Get a G4 Mac mini, iMac, iBook or PowerBook machine and try to build devel/icu from ports. cd /usr/ports/devel/icu make Should apply to everything else that tries to include /usr/include/stdint.h, but devel/icu is the only thing I came accross. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 24 16:34:34 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2BAB6C73; Sat, 24 Aug 2013 16:34:34 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E4B142742; Sat, 24 Aug 2013 16:34:33 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r7OGYWvA081755; Sat, 24 Aug 2013 12:34:32 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r7OGYWou081754; Sat, 24 Aug 2013 16:34:32 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 24 Aug 2013 16:34:32 GMT Message-Id: <201308241634.r7OGYWou081754@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 , , Subject: [head tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2013 16:34:34 -0000 TB --- 2013-08-24 13:52:52 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-08-24 13:52:52 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-08-24 13:52:52 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2013-08-24 13:52:52 - cleaning the object tree TB --- 2013-08-24 13:52:52 - /usr/local/bin/svn stat /src TB --- 2013-08-24 13:52:56 - At svn revision 254760 TB --- 2013-08-24 13:52:57 - building world TB --- 2013-08-24 13:52:57 - CROSS_BUILD_TESTING=YES TB --- 2013-08-24 13:52:57 - MAKEOBJDIRPREFIX=/obj TB --- 2013-08-24 13:52:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-08-24 13:52:57 - SRCCONF=/dev/null TB --- 2013-08-24 13:52:57 - TARGET=powerpc TB --- 2013-08-24 13:52:57 - TARGET_ARCH=powerpc TB --- 2013-08-24 13:52:57 - TZ=UTC TB --- 2013-08-24 13:52:57 - __MAKE_CONF=/dev/null TB --- 2013-08-24 13:52:57 - cd /src TB --- 2013-08-24 13:52:57 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Aug 24 13:53:04 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Aug 24 16:27:14 UTC 2013 TB --- 2013-08-24 16:27:14 - generating LINT kernel config TB --- 2013-08-24 16:27:14 - cd /src/sys/powerpc/conf TB --- 2013-08-24 16:27:14 - /usr/bin/make -B LINT TB --- 2013-08-24 16:27:14 - cd /src/sys/powerpc/conf TB --- 2013-08-24 16:27:14 - /usr/sbin/config -m LINT TB --- 2013-08-24 16:27:15 - building LINT kernel TB --- 2013-08-24 16:27:15 - CROSS_BUILD_TESTING=YES TB --- 2013-08-24 16:27:15 - MAKEOBJDIRPREFIX=/obj TB --- 2013-08-24 16:27:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-08-24 16:27:15 - SRCCONF=/dev/null TB --- 2013-08-24 16:27:15 - TARGET=powerpc TB --- 2013-08-24 16:27:15 - TARGET_ARCH=powerpc TB --- 2013-08-24 16:27:15 - TZ=UTC TB --- 2013-08-24 16:27:15 - __MAKE_CONF=/dev/null TB --- 2013-08-24 16:27:15 - cd /src TB --- 2013-08-24 16:27:15 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Aug 24 16:27:15 UTC 2013 >>> 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 [...] cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_mtxpool.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_mutex.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_ntptime.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_osd.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_physio.c cc1: warnings being treated as errors /src/sys/kern/kern_physio.c: In function 'physio': /src/sys/kern/kern_physio.c:123: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *** Error code 1 Stop. bmake[1]: stopped in /obj/powerpc.powerpc/src/sys/LINT *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-08-24 16:34:32 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-08-24 16:34:32 - ERROR: failed to build LINT kernel TB --- 2013-08-24 16:34:32 - 8404.89 user 1050.47 system 9700.10 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 24 22:40:01 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CBB894E7 for ; Sat, 24 Aug 2013 22:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A797D2830 for ; Sat, 24 Aug 2013 22:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7OMe116093723 for ; Sat, 24 Aug 2013 22:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7OMe1uJ093722; Sat, 24 Aug 2013 22:40:01 GMT (envelope-from gnats) Date: Sat, 24 Aug 2013 22:40:01 GMT Message-Id: <201308242240.r7OMe1uJ093722@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org Cc: From: white.heron@yahoo.com Subject: RE: powerpc/181502: /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: white.heron@yahoo.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2013 22:40:02 -0000 The following reply was made to PR powerpc/181502; it has been noted by GNATS. From: white.heron@yahoo.com To: "keve@safe-mail.net" , "freebsd-gnats-submit@FreeBSD.org" Cc: Subject: RE: powerpc/181502: /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32 Date: Sat, 24 Aug 2013 15:30:54 -0700 (PDT) --633453505-313681463-1377383454=:46947 Content-Type: text/plain; charset=us-ascii Hye. I am having problem to read iphone 5 64gb storage via lightning cable to PowerBook g4 ubuntu oneiric .. Any advice ? The iPhone 5 run on top of arm processor while PowerBook g4 run PowerPC processor.



my.linkedin.com/pub/yb-tan-sri-dato-ir-adli-a-k-a-dell/44/64b/464/
Sent from Yahoo! Mail for iPhone --633453505-313681463-1377383454=:46947 Content-Type: text/html; charset=us-ascii
Hye. I am having problem to read iphone 5 64gb storage via lightning cable to PowerBook g4 ubuntu oneiric .. Any advice ? The iPhone 5 run on top of arm processor while PowerBook g4 run PowerPC processor.



my.linkedin.com/pub/yb-tan-sri-dato-ir-adli-a-k-a-dell/44/64b/464/
Sent from Yahoo! Mail for iPhone


From: Keve Nagy <keve@safe-mail.net>;
To: <freebsd-gnats-submit@FreeBSD.org>;
Subject: powerpc/181502: /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32
Sent: Sat, Aug 24, 2013 1:15:13 PM


>Number:        181502
>Category:      powerpc
>Synopsis:      /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32
>Confidential:  no
>Severity:      non-critical
>Priority:      low
>Responsible:    freebsd-ppc
>State:          open
>Quarter:       
>Keywords:     
>Date-Required:
>Class:          sw-bug
>Submitter-Id:  current-users
>Arrival-Date:  Sat Aug 24 13:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:    Keve Nagy
>Release:        FreeBSD 9.2-RC1/powerpc
>Organization:
N/A
>Environment:
FreeBSD g4mini.homeoffice.internal 9.2-RC1 FreeBSD 9.2-RC1 #0 r253912: Sat Aug  3 18:51:06 UTC 2013    root@snap.freebsd.org:/usr/obj/powerpc.powerpc/usr/src/sys/GENERIC  powerpc
>Description:
I thought you might want to know that icu-50.1.2 does not build on FreeBSD-9.2-RC1/powerpc.
I believe this is a PowerPC ONLY issue, as the same code appears to build fine on i386 and amd64.
I attempted to build x11/gno me2-lite from the ports, which failed building icu as a dependency.

I tracked the origin of the problem back to /usr/include/stdint.h, line 68.
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)

For reference, that line sits at the top of the block:
/* GNU and Darwin define this and people seem to think it's portable */
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)
#define __WORDSIZE              64
#else
#define __WORDSIZE              32
#endif

Compilation of icu stops with the error:
/usr/include/stdint.h:68:68 error: missing binary operator before token "("

The particular source the compiler complains about looks perfectly correct. This is not a typo issue.
I did some very basic testing to identify what is wrong.
It looks that refe rring to the value of UINT64_MAX is what makes the compiler choke.
At the time of compilation, both UINTPTR_MAX and UINT64_MAX appears to be in the "defined" state.

A line of:
#if defined(UINT64_MAX)
or a line of:
#ifndef UINT64_MAX
does not trigger an error.
Neither does reassigning the value of UINT64_MAX to another variable/macro, like:
#define __KEVE  UINT64_MAX

However, testing against the value of UINT64_MAX
#if (UINT64_MAX == 1)
raises the above mentioned error.
So does
#if (UINT64_MAX != 2)
and after assigning the value of UINT64_MAX to __KEVE as I showed above, testing against the value of __KEVE
#if (__KEVE == 123)
  or
#if (__KEVE != 6)
also raises the same error.

I believe that on i386 and amd64 the code compiles fine because that block of code is ignored, probably due to the fact of UINT64_MAX or UINTPTR_MAX not being defined, hence the evaluation stop s before getting to the (UINTPTR_MAX == UINT64_MAX) portion at the end of the line.

This is how deep my capabilities allowed me to go. Someone smarter needs to take this over to identify the real origin of the error and fix it.
Until then, the workaround I used is to comment-out the troublesome block and simply define __WORDSIZE. In my particular case, as I was building on powerpc32 on a G4 Mac mini, I just added this line:
#define __WORDSIZE              32


***WORKAROUND***

/usr/include/stdint.h, lines 67-72 as comes with FreeBSD-9.2-RC2/powerpc:

/* GNU and Darwin define this and people seem to think it's portable */
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)
#define __WORDSIZE              64
#else
#define __WORDSIZE              32
#end if


/usr/include/stdint.h, lines 67-75 after workaround applied:

/* GNU and Darwin define this and people seem to think it's portable */
/*** commented out as it does not build on powerpc G4 Mac mini ***
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)
#define __WORDSIZE              64
#else
#define __WORDSIZE              32
#endif
***/
#define __WORDSIZE              32

*** For reference ***
I was attempting to build x11/gnome2-lite on a G4 Mac mini with 512MB memory.
>How-To-Repeat:
Get a G4 Mac mini, iMac, iBook or PowerBook machine and try to build devel/icu from ports.
cd /usr/ports/devel/icu
make

Should apply to everything else that tries to include /usr/include/stdint.h, but devel/icu is the only thing I came accross.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ppc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"
--633453505-313681463-1377383454=:46947-- From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 24 22:40:02 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BF519562 for ; Sat, 24 Aug 2013 22:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F10C2831 for ; Sat, 24 Aug 2013 22:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7OMe2JC093730 for ; Sat, 24 Aug 2013 22:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7OMe2sc093729; Sat, 24 Aug 2013 22:40:02 GMT (envelope-from gnats) Date: Sat, 24 Aug 2013 22:40:02 GMT Message-Id: <201308242240.r7OMe2sc093729@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org Cc: From: white.heron@yahoo.com Subject: RE: powerpc/181502: /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: white.heron@yahoo.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2013 22:40:02 -0000 The following reply was made to PR powerpc/181502; it has been noted by GNATS. From: white.heron@yahoo.com To: "keve@safe-mail.net" , "freebsd-gnats-submit@FreeBSD.org" Cc: Subject: RE: powerpc/181502: /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32 Date: Sat, 24 Aug 2013 15:33:52 -0700 (PDT) --633453505-688454922-1377383632=:42894 Content-Type: text/plain; charset=us-ascii Hye. I am having problem to read iphone 5 64gb storage via lightning cable to PowerBook g4 ubuntu oneiric .. Any advice ? The iPhone 5 run on top of arm processor while PowerBook g4 run PowerPC processor.



my.linkedin.com/pub/yb-tan-sri-dato-ir-adli-a-k-a-dell/44/64b/464/
Sent from Yahoo! Mail for iPhone --633453505-688454922-1377383632=:42894 Content-Type: text/html; charset=us-ascii
Hye. I am having problem to read iphone 5 64gb storage via lightning cable to PowerBook g4 ubuntu oneiric .. Any advice ? The iPhone 5 run on top of arm processor while PowerBook g4 run PowerPC processor.



my.linkedin.com/pub/yb-tan-sri-dato-ir-adli-a-k-a-dell/44/64b/464/
Sent from Yahoo! Mail for iPhone


From: Keve Nagy <keve@safe-mail.net>;
To: <freebsd-gnats-submit@FreeBSD.org>;
Subject: powerpc/181502: /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32
Sent: Sat, Aug 24, 2013 1:15:13 PM


>Number:        181502
>Category:      powerpc
>Synopsis:      /usr/include/stdint.h 9.2-RC1/powerpc does not compile on powerpc32
>Confidential:  no
>Severity:      non-critical
>Priority:      low
>Responsible:    freebsd-ppc
>State:          open
>Quarter:       
>Keywords:     
>Date-Required:
>Class:          sw-bug
>Submitter-Id:  current-users
>Arrival-Date:  Sat Aug 24 13:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:    Keve Nagy
>Release:        FreeBSD 9.2-RC1/powerpc
>Organization:
N/A
>Environment:
FreeBSD g4mini.homeoffice.internal 9.2-RC1 FreeBSD 9.2-RC1 #0 r253912: Sat Aug  3 18:51:06 UTC 2013    root@snap.freebsd.org:/usr/obj/powerpc.powerpc/usr/src/sys/GENERIC  powerpc
>Description:
I thought you might want to know that icu-50.1.2 does not build on FreeBSD-9.2-RC1/powerpc.
I believe this is a PowerPC ONLY issue, as the same code appears to build fine on i386 and amd64.
I attempted to build x11/gno me2-lite from the ports, which failed building icu as a dependency.

I tracked the origin of the problem back to /usr/include/stdint.h, line 68.
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)

For reference, that line sits at the top of the block:
/* GNU and Darwin define this and people seem to think it's portable */
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)
#define __WORDSIZE              64
#else
#define __WORDSIZE              32
#endif

Compilation of icu stops with the error:
/usr/include/stdint.h:68:68 error: missing binary operator before token "("

The particular source the compiler complains about looks perfectly correct. This is not a typo issue.
I did some very basic testing to identify what is wrong.
It looks that refe rring to the value of UINT64_MAX is what makes the compiler choke.
At the time of compilation, both UINTPTR_MAX and UINT64_MAX appears to be in the "defined" state.

A line of:
#if defined(UINT64_MAX)
or a line of:
#ifndef UINT64_MAX
does not trigger an error.
Neither does reassigning the value of UINT64_MAX to another variable/macro, like:
#define __KEVE  UINT64_MAX

However, testing against the value of UINT64_MAX
#if (UINT64_MAX == 1)
raises the above mentioned error.
So does
#if (UINT64_MAX != 2)
and after assigning the value of UINT64_MAX to __KEVE as I showed above, testing against the value of __KEVE
#if (__KEVE == 123)
  or
#if (__KEVE != 6)
also raises the same error.

I believe that on i386 and amd64 the code compiles fine because that block of code is ignored, probably due to the fact of UINT64_MAX or UINTPTR_MAX not being defined, hence the evaluation stop s before getting to the (UINTPTR_MAX == UINT64_MAX) portion at the end of the line.

This is how deep my capabilities allowed me to go. Someone smarter needs to take this over to identify the real origin of the error and fix it.
Until then, the workaround I used is to comment-out the troublesome block and simply define __WORDSIZE. In my particular case, as I was building on powerpc32 on a G4 Mac mini, I just added this line:
#define __WORDSIZE              32


***WORKAROUND***

/usr/include/stdint.h, lines 67-72 as comes with FreeBSD-9.2-RC2/powerpc:

/* GNU and Darwin define this and people seem to think it's portable */
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)
#define __WORDSIZE              64
#else
#define __WORDSIZE              32
#end if


/usr/include/stdint.h, lines 67-75 after workaround applied:

/* GNU and Darwin define this and people seem to think it's portable */
/*** commented out as it does not build on powerpc G4 Mac mini ***
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)
#define __WORDSIZE              64
#else
#define __WORDSIZE              32
#endif
***/
#define __WORDSIZE              32

*** For reference ***
I was attempting to build x11/gnome2-lite on a G4 Mac mini with 512MB memory.
>How-To-Repeat:
Get a G4 Mac mini, iMac, iBook or PowerBook machine and try to build devel/icu from ports.
cd /usr/ports/devel/icu
make

Should apply to everything else that tries to include /usr/include/stdint.h, but devel/icu is the only thing I came accross.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ppc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"
--633453505-688454922-1377383632=:42894--