Confused about ARM64 cross-compilation

Karl Denninger karl at denninger.net
Fri Feb 9 14:27:25 UTC 2018


On 2/9/2018 03:20, Erich Dollansky wrote:
> Hi,
>
> On Thu, 8 Feb 2018 18:21:29 -0600
> Timur Tabi <timur at codeaurora.org> wrote:
>
>> I am brand new to the FreeBSD world, and I'm trying to debug problems
>> in booting FreeBSD on a new ARM64 system with ACPI.
>>
>> I've installed FreeBSD 11 on an x86 system, and I followed the
>> instructions on https://wiki.freebsd.org/FreeBSD/arm/crossbuild to
>> download the source code.  Then I download arm64_build.sh from
>> https://wiki.freebsd.org/arm64 and run that.  Now it's building
>> something, but I don't know what it's doing.  Shouldn't I need to
>> install a cross-compiler first?
>>
> when I did arm64 compilations, I used CURRENT as certain things did not
> work in older versions. You might also try 12.0 or CURRENT.
>
> FreeBSD cross compiles out of the box. Of course, only for supported
> targets.
>
> Erich
> _______________________________________________
>
Yeah, for the last couple of months attempting to build -HEAD on an
11.1-STABLE AMD64 architecture box fails; the current blowup is in the
cross-compile tools, so you never get to the actual build itself.

I logged a bug on this as it's a showstopper for a project of mine, and
I have no workaround other than to spin up a -HEAD instance somewhere
(which I assume works, but am not certain it will.)

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225521

-- 
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4897 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20180209/997856df/attachment.bin>


More information about the freebsd-arm mailing list