Date: Thu, 17 Apr 2014 20:54:35 +0100 From: Mark R V Murray <mark@grondar.org> To: Warner Losh <imp@bsdimp.com> Cc: Tim Kientzle <tim@kientzle.com>, freebsd-arm <freebsd-arm@FreeBSD.org>, ticso@cicely.de, Ian Lepore <ian@FreeBSD.org> Subject: Re: Building an ARM/RPI-B release (hacked) on CURRENT/AMD64. Message-ID: <54D788B2-BD68-4F75-86FF-0C4E71D9B75A@grondar.org> In-Reply-To: <7196A020-54E1-42FA-B8A0-25B145B0E412@bsdimp.com> References: <9FDD6F0E-B2A9-48D9-A3E4-181868995FDA@grondar.org> <EC41E53F-96EF-4652-9A02-D49448D104BE@kientzle.com> <20140417103117.GE44138@cicely7.cicely.de> <1397738961.1124.157.camel@revolution.hippie.lan> <ED243420-AC33-4D90-A23D-0266C142F3C1@grondar.org> <1397761628.1124.245.camel@revolution.hippie.lan> <7196A020-54E1-42FA-B8A0-25B145B0E412@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_8B80CFE4-1A6C-4FB9-B561-EF747DA4F38F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1251 On 17 Apr 2014, at 20:14, Warner Losh <imp@bsdimp.com> wrote: >=20 > On Apr 17, 2014, at 1:07 PM, Ian Lepore <ian@FreeBSD.org> wrote: >>=20 >> Hmmm. After a bit of poking around in the llvm code, it looks like = the >> full extent of the support for -ffixed-r9 is that it doesn't consider >> that register available for use by the code generator; that's only = part >> of what u-boot needs. =20 >=20 > what=92s the other part? Global register variables like this? Yah. U-boot/Arm is heavily dependant on using R9 (previously R8) as a global register variable. >> Some online notes I found for clang 3.5 claim that global register >> variables aren't supported, and aren't likely to be any time soon. >=20 > Is that a poke in the eye of uboot, or is it more of a contention that > uboot is moving away from that need? It means that for now I guess we are stuck with using GCC to compile = u-boot. I=92d mind a lot less if this was done as a port. <thinking mode=3D=93aloud=94> Hmm. A port to do what crochet does, without all the FreeBSD/ARM = (build|install)(world|kernel) stuff? Something that makes an empty <mumble>.img (with only the weird boot = bits in it) as its =93product=94 for later use by the release process = might be nice. I=92m guessing (more like hoping) that once the boot bits work, they=92ll = be pretty stable for a given platform for a while, and the .img file = could be kept under src/release/=85 somewhere. This way, it doesn=92t = matter if some humongous GCC port is used for cross-building; this would = be only needed when the boot-bits change. <thinking> M --=20 Mark R V Murray --Apple-Mail=_8B80CFE4-1A6C-4FB9-B561-EF747DA4F38F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - http://gpgtools.org iQCVAwUBU1Axgd58vKOKE6LNAQrw7gP8DM328rj4Qox5gvCJePfuXY2VrmkTk2gQ rRQbOfa92YIGwfufUxh/KwSeDv71/fJ3p9QzGvjnzJTN70YQuuK0OpPyfwcUu4AD GdxvGYV4BoNewZJisnwKt1cRMiET7RLe2nxjmnx2aP4e5B5d0UezcQtEjxiTmJCS seI6HQXm7Sw= =fiIl -----END PGP SIGNATURE----- --Apple-Mail=_8B80CFE4-1A6C-4FB9-B561-EF747DA4F38F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D788B2-BD68-4F75-86FF-0C4E71D9B75A>