From owner-freebsd-arm@FreeBSD.ORG Mon Sep 2 18:18:30 2013 Return-Path: Delivered-To: freebsd-arm@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 92FE82DB for ; Mon, 2 Sep 2013 18:18:30 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6F0692839 for ; Mon, 2 Sep 2013 18:18:29 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r82IINv6080055; Mon, 2 Sep 2013 18:18:23 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id wcm8fp59gxqbpsg4kj9mferyws; Mon, 02 Sep 2013 18:18:22 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: What's the recipe? From: Tim Kientzle In-Reply-To: <0AC24F9A-7AE0-4E98-BC21-273FA097AE0F@grondar.org> Date: Mon, 2 Sep 2013 11:18:20 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <522229C0.5030504@m5p.com> <20130901200726.ac7317a5f0ddfddcbed34484@gmail.com> <0AC24F9A-7AE0-4E98-BC21-273FA097AE0F@grondar.org> To: Mark R V Murray X-Mailer: Apple Mail (2.1508) Cc: Takeshi Taguchi , freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2013 18:18:30 -0000 On Sep 2, 2013, at 12:30 AM, Mark R V Murray wrote: >=20 > CURRENT + crochet cannot build u-boot because it looks like the = antique CURRENT/GCC-xdev can't handle a couple of command-line options = that u-boot wants (-fstack-usage, the other is hiding), but if I remove = those it eventually fails with redefinitions of things like __packed, = __pure and so on (this is GCC "armv6-freebsd-gcc", not CLANG). This is very odd. I've been occupied elsewhere, so I haven't done any RPi builds recently, but I don't think anything has changed (in either the U-boot version used there or in CURRENT/GCC) since the last time I built. > I tried to hack up a u-boot port using the Beaglebone Black u-boot = port as an example; that needs devel/arm-eabi-gcc which fails because of = redefinition of some functions during the build. The BBB U-Boot port is badly broken for some reason and I have no idea why. (Seems to break at the point ubldr first calls into U-Boot.) I've been digging through it a little this weekend but have yet to isolate the issue. Hmmm=85 I haven't rebuilt devel/arm-eabi-gcc in a while; I wonder what broke that? Tim