From owner-freebsd-current@FreeBSD.ORG Sun Jan 27 17:40:43 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 05CB512B; Sun, 27 Jan 2013 17:40:43 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id DC5DAD8A; Sun, 27 Jan 2013 17:40:42 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r0RHef4i029263; Sun, 27 Jan 2013 17:40:41 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id rpkpfnucv3izkke8425x66c5ms; Sun, 27 Jan 2013 17:40:41 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: devel/gobject-introspection failure on ARM Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Tim Kientzle In-Reply-To: <51054E5F.9040309@m5p.com> Date: Sun, 27 Jan 2013 09:40:38 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: <51054E5F.9040309@m5p.com> To: George Mitchell X-Mailer: Apple Mail (2.1283) Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 17:40:43 -0000 On Jan 27, 2013, at 7:57 AM, George Mitchell wrote: > System: Raspberry Pi > uname: r245840M (Alie Tan's image from 25 January) > ports: svnversion 308518 > > Build dies with message "sizeof(ArrayTypeBlob) is expected to be 8 but > is 12." (Complete build log attached.) I made a naive attempt to fix > it by rearranging the order of the structure members, but obviously I > don't understand structure packing on the ARM and it didn't help. The easiest way to hack around this is usually to sprinkle "packed" decorators on a lot of structure definitions. > It also didn't get rid of the huge number of "cast increases required > alignment of target type" warnings. How troublesome these are depends on the processor. I think the ARMv6 on the RaspberryPi is late enough to support misaligned accesses. It's a big performance hit but better than crashing. > I note we're at version 0.10.8 of this package, but upstream is at > 1.34.2. (It requires glib 2.34.1, though, and we're only at 2.28.8). > > What's the best way to proceed? Given the version numbers you quote, I expect that a newer glib would be a good start. Good luck, Tim