From owner-freebsd-arm@FreeBSD.ORG Sat May 18 14:54:42 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 51E84593 for ; Sat, 18 May 2013 14:54:42 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-x233.google.com (mail-ia0-x233.google.com [IPv6:2607:f8b0:4001:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id 22E4F3DC for ; Sat, 18 May 2013 14:54:42 +0000 (UTC) Received: by mail-ia0-f179.google.com with SMTP id i20so4657188ian.24 for ; Sat, 18 May 2013 07:54:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=P9VzoSBHO+km3zX3VXIXtuCIN2vrH2IzMG3vziaaijU=; b=VnjBIRE3EeTvqsOfedm0ePbezE9yPiwRKBMlXztMYOkkiKKpGlGvB15iynBU/layiC /D+2MoONWtTmc58o18HE+xd8tuGtZX3a+vU5lANybsdR8EhLhoIpBJGsXnPfwMlu4eIl vg9T9ahF0tNAYVzBHwm4X4mRveYAF+ZGq0wB80Pn0OeasO/6cnPnFaT5aTt86sI4VQcu ATU47LIHCLUpflJRIPux9irJqUzWiQpOVA+vnYP4tmjeUGyk7l1r4YldDsCV8T6dY2No IVEgB3JFUasBmFroZMyoqsDX2WGRS7CAent4ZosINnyBytkVnh2//1ZQ7Kcktwoec1Q+ WI4g== X-Received: by 10.50.93.72 with SMTP id cs8mr1235284igb.18.1368888881810; Sat, 18 May 2013 07:54:41 -0700 (PDT) Received: from [172.24.136.228] ([137.122.64.56]) by mx.google.com with ESMTPSA id l14sm2502697igf.9.2013.05.18.07.54.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 07:54:40 -0700 (PDT) Sender: Warner Losh Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> Date: Sat, 18 May 2013 10:54:38 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB@bsdimp.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQnrdNsWLAzDfjtsrADBWXrjWHHX144QusfVWUSeKlW30OKjV7IPg+POgTpLy59YwmG5mN0i Cc: freebsd-arm 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: Sat, 18 May 2013 14:54:42 -0000 On May 18, 2013, at 10:46 AM, Tim Kientzle wrote: > On May 18, 2013, at 10:41 AM, Warner Losh wrote: >>=20 >> On May 18, 2013, at 10:38 AM, Jason Birch wrote: >>=20 >>> I'm not sure how it'd work internally in the ports tree (I'm a ports >>> consumer, not a contributor), but I'd find it weird if a U-Boot port >>> required me to get any devel/cross-* ports if U-Boot was able to be = built >>> by Clang native to FreeBSD 9.X+ and I had Clang set as my CC, CPP, = CXX. >>=20 >> u-boot can't be built with clang. >=20 > Yes, it can. Since the ARM clang switch was thrown, > the xdev tools now build clang (unnecessarily, of course). > U-Boot builds just fine with it: >=20 > $ armv6-freebsd-cc --version > FreeBSD clang version 3.3 (trunk 178860) 20130405 > Target: armv6--freebsd > Thread model: posix Do these boot? I was under the impression that u-boot used global = register flags in gcc that clang wasn't going to support... I'd be happy = if I'm wrong though... Warner