Building an ARM/RPI-B release (hacked) on CURRENT/AMD64.
Mark R V Murray
mark at grondar.org
Tue Apr 15 19:23:20 UTC 2014
Hi Tim
I’ve been doing some local hacks to cross-build ARM/RPI releases on CURRENT/AMD64.
What I’m doing aren’t clean releases in that I want to use the state of /usr/src and /usr/ports “as-is” and not a clean check out. This allows me to experimentally break stuff without having to check it in first. It also give me a way to build bootable images for when (not “if”!) I mess things up properly on the RPI. It has the advantage also of being quicker than the usual release build.
(The hacks, as they stand now, are attached. I null-mount /usr/src and /usr/ports instead of checking them out, and I have local checkouts of crochet and u-boot to copy as checking them out during a release build fails too often.)
The problem is that sometime in the last month or so, things stopped working, and its taken me until now to have the time to have a look at it.
The problem is that during the u-boot build, a CLANG-based xdev build is used, and this has no *-gcc, only a *-cc. If I fix that with a symlink, clang then objects to the -ffixed-r8 option. Clang has an equivalent -ffixed-r9, but the u-boot that is mandated for FreeBSD/Arm/RPI use doesn’t have the R9 fix.
Questions:
1) Are you aware of any of this?
2) Do you have a quick fix idea (preferably not involving GCC)?
I’m rather short of time right now, but may be able to get to this over Easter.
M
--
Mark R V Murray
-------------- next part --------------
A non-text attachment was scrubbed...
Name: release_rpi_hacks.diff
Type: application/octet-stream
Size: 4316 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20140415/923fbbbc/attachment.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 353 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20140415/923fbbbc/attachment.sig>
More information about the freebsd-arm
mailing list