Date: Sat, 18 May 2013 10:54:38 -0400 From: Warner Losh <imp@bsdimp.com> To: Tim Kientzle <tim@kientzle.com> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Port: U-Boot for BeagleBone Message-ID: <9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB@bsdimp.com> In-Reply-To: <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> <B5DE3D0D-86BF-43F8-9FA2-A803B1FAABF8@freebsd.org> <D3F7C462-0BD5-4F20-AE32-448BB7B5855D@bsdimp.com> <CAA=KUhspUwuNPW13bgZVy9CKwn6Ny_Njt0AXBH27XZPEuKgaWg@mail.gmail.com> <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB>